disabled","draggingEnabled":true,"_Scale":0.8456769227953719,"eventHandler":{"__isSmartRef__":true,"id":4378},"attributeConnections":[{"__isSmartRef__":true,"id":4379}],"doNotSerialize":["$$savedWorldAsURL","$$baseThemeStyleSheet"],"doNotCopyProperties":["$$savedWorldAsURL"],"savedWorldAsURL":{"__isSmartRef__":true,"id":4381},"clickedOnMorphTime":1390824604015,"worldMenuOpened":false,"_ClipMode":"visible","loadingMorph":{"__isSmartRef__":true,"id":4382},"lastModified":{"__isSmartRef__":true,"id":4510},"prevScroll":[0,3],"_Scroll":[0,3],"_StyleSheet":{"__isSmartRef__":true,"id":4511},"lastEvt":{"__isSmartRef__":true,"id":4516},"__serializedExpressions__":["eventStartPos","_Position","pastePositionInWorld","scrollOffset"],"__LivelyClassName__":"lively.morphic.World","__SourceModuleName__":"Global.lively.morphic.Core","eventStartPos":"lively.pt(1176.6,692.9)","_Position":"lively.pt(0.0,0.0)","pastePositionInWorld":"lively.pt(911.0,128.0)","scrollOffset":"lively.pt(0.0,3.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":538},{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":1124},{"__isSmartRef__":true,"id":1353},{"__isSmartRef__":true,"id":1678},{"__isSmartRef__":true,"id":2027},{"__isSmartRef__":true,"id":2265},{"__isSmartRef__":true,"id":2406},{"__isSmartRef__":true,"id":2692},{"__isSmartRef__":true,"id":3029}],"scripts":[],"id":"22930405-15F8-450C-AB32-1E33682FD139","shape":{"__isSmartRef__":true,"id":3328},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"EnergySimulation","partsBinMetaInfo":{"__isSmartRef__":true,"id":3329},"eventHandler":{"__isSmartRef__":true,"id":3367},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","88213761-056A-4183-A3FB-45D9996AFE2F"],"partTests":{"__isSmartRef__":true,"id":3368},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"isCopyMorphRef":true,"morphRefId":2,"grabbingEnabled":false,"draggingEnabled":false,"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"deltaTime":0.1,"simStepsAtOnce":50,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3373},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(1310.1,-11.5)","_Position":"lively.pt(20.7,256.5)"},"2":{"submorphs":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":19},{"__isSmartRef__":true,"id":102},{"__isSmartRef__":true,"id":124}],"scripts":[],"id":"2E6D2FC6-B121-491A-8E9B-7A5A93854C9D","shape":{"__isSmartRef__":true,"id":148},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":149},"eventHandler":{"__isSmartRef__":true,"id":205},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":206},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":211},{"__isSmartRef__":true,"id":212},{"__isSmartRef__":true,"id":213},{"__isSmartRef__":true,"id":214},{"__isSmartRef__":true,"id":215},{"__isSmartRef__":true,"id":216},{"__isSmartRef__":true,"id":217},{"__isSmartRef__":true,"id":218}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":219},"$":{"__isSmartRef__":true,"id":220},"name":"Fuel","attributeConnections":[{"__isSmartRef__":true,"id":221}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":223},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(179.5,-9.1)","_Position":"lively.pt(60.0,250.0)"},"3":{"submorphs":[],"scripts":[],"id":"26000612-7264-4D35-BDA8-076FBD41F431","shape":{"__isSmartRef__":true,"id":4},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":5},"textChunks":[{"__isSmartRef__":true,"id":7}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":9},{"__isSmartRef__":true,"id":10}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":11},"owner":{"__isSmartRef__":true,"id":2},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":2},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":12},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"4":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"5":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":6},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"7":{"style":{"__isSmartRef__":true,"id":8},"chunkOwner":{"__isSmartRef__":true,"id":3},"_id":"_198490","storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"8":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"9":{"sourceObj":{"__isSmartRef__":true,"id":3},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":3},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"10":{"sourceObj":{"__isSmartRef__":true,"id":3},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"11":{"morph":{"__isSmartRef__":true,"id":3},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"12":{"updateLabel":{"__isSmartRef__":true,"id":13},"renameOwner":{"__isSmartRef__":true,"id":16}},"13":{"varMapping":{"__isSmartRef__":true,"id":14},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":15},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"14":{"this":{"__isSmartRef__":true,"id":3}},"15":{},"16":{"varMapping":{"__isSmartRef__":true,"id":17},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"17":{"this":{"__isSmartRef__":true,"id":3}},"18":{},"19":{"submorphs":[],"scripts":[],"id":"F54C12DF-119B-4222-A0A5-725EE2A1EAA1","shape":{"__isSmartRef__":true,"id":20},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":21},"textChunks":[{"__isSmartRef__":true,"id":37},{"__isSmartRef__":true,"id":39},{"__isSmartRef__":true,"id":41},{"__isSmartRef__":true,"id":43},{"__isSmartRef__":true,"id":45},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":51},{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":61}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":63},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":64},{"__isSmartRef__":true,"id":65},{"__isSmartRef__":true,"id":66},{"__isSmartRef__":true,"id":67},{"__isSmartRef__":true,"id":68},{"__isSmartRef__":true,"id":69},{"__isSmartRef__":true,"id":70},{"__isSmartRef__":true,"id":71}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":72},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":73},{"__isSmartRef__":true,"id":75}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":8,"_Rotation":0,"_Scale":1,"previousSelection":[333,333],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"if ($.Gas < 0) {\n problem(\"GasEmpty\")\n}","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":77},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"20":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(235.3,73.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"21":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":22},{"__isSmartRef__":true,"id":24},{"__isSmartRef__":true,"id":26},{"__isSmartRef__":true,"id":28},{"__isSmartRef__":true,"id":30},{"__isSmartRef__":true,"id":32},{"__isSmartRef__":true,"id":34}],"lastModifiedDate":{"__isSmartRef__":true,"id":36},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"22":{"date":{"__isSmartRef__":true,"id":23},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"23":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"24":{"date":{"__isSmartRef__":true,"id":25},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"25":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"26":{"date":{"__isSmartRef__":true,"id":27},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"27":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"28":{"date":{"__isSmartRef__":true,"id":29},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"29":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"30":{"date":{"__isSmartRef__":true,"id":31},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"31":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"32":{"date":{"__isSmartRef__":true,"id":33},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"33":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"34":{"date":{"__isSmartRef__":true,"id":35},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"35":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"36":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"37":{"style":{"__isSmartRef__":true,"id":38},"chunkOwner":{"__isSmartRef__":true,"id":19},"_id":"_198488","storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"38":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"39":{"_id":"_198555","style":{"__isSmartRef__":true,"id":40},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"40":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"41":{"_id":"_198563","style":{"__isSmartRef__":true,"id":42},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"42":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"43":{"_id":"_198564","style":{"__isSmartRef__":true,"id":44},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":".Gas < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"44":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"45":{"_id":"_198556","style":{"__isSmartRef__":true,"id":46},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"46":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"47":{"_id":"_198557","style":{"__isSmartRef__":true,"id":48},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"48":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"49":{"_id":"_198558","style":{"__isSmartRef__":true,"id":50},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"50":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"51":{"_id":"_198559","style":{"__isSmartRef__":true,"id":52},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"52":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"53":{"_id":"_198565","style":{"__isSmartRef__":true,"id":54},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"problem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"54":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"55":{"_id":"_198566","style":{"__isSmartRef__":true,"id":56},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"56":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"57":{"_id":"_198560","style":{"__isSmartRef__":true,"id":58},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"\"GasEmpty\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"58":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"59":{"_id":"_198561","style":{"__isSmartRef__":true,"id":60},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"60":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"61":{"_id":"_198562","style":{"__isSmartRef__":true,"id":62},"chunkOwner":{"__isSmartRef__":true,"id":19},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"62":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"63":{"morph":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"64":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"65":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"66":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"67":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"68":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"69":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"70":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"71":{"morph":{"__isSmartRef__":true,"id":19},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"72":{"resizeWidth":true,"resizeHeight":true},"73":{"sourceObj":{"__isSmartRef__":true,"id":19},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":74},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"74":{"source":{"__isSmartRef__":true,"id":19},"target":{"__isSmartRef__":true,"id":2}},"75":{"sourceObj":{"__isSmartRef__":true,"id":19},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":19},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":76},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"76":{"source":{"__isSmartRef__":true,"id":19},"target":{"__isSmartRef__":true,"id":19}},"77":{"boundEval":{"__isSmartRef__":true,"id":78},"getDoitContext":{"__isSmartRef__":true,"id":86},"installLayers":{"__isSmartRef__":true,"id":94},"onLoad":{"__isSmartRef__":true,"id":98}},"78":{"varMapping":{"__isSmartRef__":true,"id":79},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":84},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"79":{"this":{"__isSmartRef__":true,"id":19},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":80}},"80":{"$super":{"__isSmartRef__":true,"id":81}},"81":{"varMapping":{"__isSmartRef__":true,"id":82},"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":83},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"82":{"obj":{"__isSmartRef__":true,"id":19},"name":"boundEval"},"83":{},"84":{"timestamp":{"__isSmartRef__":true,"id":85},"user":"jenslincke","tags":[]},"85":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"86":{"varMapping":{"__isSmartRef__":true,"id":87},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":92},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"87":{"this":{"__isSmartRef__":true,"id":19},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":88}},"88":{"$super":{"__isSmartRef__":true,"id":89}},"89":{"varMapping":{"__isSmartRef__":true,"id":90},"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":91},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"90":{"obj":{"__isSmartRef__":true,"id":19},"name":"getDoitContext"},"91":{},"92":{"timestamp":{"__isSmartRef__":true,"id":93},"user":"jenslincke","tags":[]},"93":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"94":{"varMapping":{"__isSmartRef__":true,"id":95},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":96},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"95":{"this":{"__isSmartRef__":true,"id":19}},"96":{"timestamp":{"__isSmartRef__":true,"id":97},"user":"jenslincke","tags":[]},"97":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"98":{"varMapping":{"__isSmartRef__":true,"id":99},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"99":{"this":{"__isSmartRef__":true,"id":19}},"100":{"timestamp":{"__isSmartRef__":true,"id":101},"user":"jenslincke","tags":[]},"101":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"102":{"submorphs":[],"scripts":[],"id":"C4DD09BE-8D13-44B4-B1BD-98D44EC0AE54","shape":{"__isSmartRef__":true,"id":103},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":104},"textChunks":[{"__isSmartRef__":true,"id":120}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":122},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":123},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,158.7)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"103":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(240.4,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"104":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":105},{"__isSmartRef__":true,"id":107},{"__isSmartRef__":true,"id":109},{"__isSmartRef__":true,"id":111},{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":117}],"lastModifiedDate":{"__isSmartRef__":true,"id":119},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"105":{"date":{"__isSmartRef__":true,"id":106},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"106":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"107":{"date":{"__isSmartRef__":true,"id":108},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"108":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"109":{"date":{"__isSmartRef__":true,"id":110},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"110":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"111":{"date":{"__isSmartRef__":true,"id":112},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"112":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"113":{"date":{"__isSmartRef__":true,"id":114},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"114":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"115":{"date":{"__isSmartRef__":true,"id":116},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"116":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"117":{"date":{"__isSmartRef__":true,"id":118},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"118":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"119":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"120":{"style":{"__isSmartRef__":true,"id":121},"chunkOwner":{"__isSmartRef__":true,"id":102},"_id":"_199884","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"121":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"122":{"morph":{"__isSmartRef__":true,"id":102},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"123":{"moveVertical":true,"resizeWidth":true},"124":{"submorphs":[],"scripts":[],"id":"F6474EFF-2BD2-44B4-A83C-8208F42D04B0","shape":{"__isSmartRef__":true,"id":125},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":126},"textChunks":[{"__isSmartRef__":true,"id":142}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":144},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":145}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":147},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"125":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(239.8,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"126":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":127},{"__isSmartRef__":true,"id":129},{"__isSmartRef__":true,"id":131},{"__isSmartRef__":true,"id":133},{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":139}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":141},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"127":{"date":{"__isSmartRef__":true,"id":128},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"128":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"129":{"date":{"__isSmartRef__":true,"id":130},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"130":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"131":{"date":{"__isSmartRef__":true,"id":132},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"132":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"133":{"date":{"__isSmartRef__":true,"id":134},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"134":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"135":{"date":{"__isSmartRef__":true,"id":136},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"136":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"137":{"date":{"__isSmartRef__":true,"id":138},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"138":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"139":{"date":{"__isSmartRef__":true,"id":140},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"140":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"141":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"142":{"style":{"__isSmartRef__":true,"id":143},"chunkOwner":{"__isSmartRef__":true,"id":124},"_id":"_199875","storedString":"Gas: 9000","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"143":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"144":{"morph":{"__isSmartRef__":true,"id":124},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"145":{"sourceObj":{"__isSmartRef__":true,"id":124},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":146},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"146":{"source":{"__isSmartRef__":true,"id":124},"target":{"__isSmartRef__":true,"id":2}},"147":{"resizeWidth":true},"148":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(262.2,176.5)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"149":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":156},{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":166},{"__isSmartRef__":true,"id":168},{"__isSmartRef__":true,"id":170},{"__isSmartRef__":true,"id":172},{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":178},{"__isSmartRef__":true,"id":180},{"__isSmartRef__":true,"id":182},{"__isSmartRef__":true,"id":184},{"__isSmartRef__":true,"id":186},{"__isSmartRef__":true,"id":188},{"__isSmartRef__":true,"id":190},{"__isSmartRef__":true,"id":192},{"__isSmartRef__":true,"id":194},{"__isSmartRef__":true,"id":196},{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":200},{"__isSmartRef__":true,"id":202}],"lastModifiedDate":{"__isSmartRef__":true,"id":204},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"150":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":151}},"151":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"152":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":153}},"153":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"154":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":155}},"155":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"156":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":157}},"157":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"158":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":159}},"159":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"160":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":161}},"161":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"162":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":163}},"163":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"164":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":165}},"165":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"166":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":167}},"167":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"168":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":169}},"169":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"170":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":171}},"171":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"172":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":173}},"173":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"174":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":175}},"175":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"176":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":177}},"177":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"178":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":179}},"179":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"180":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":181}},"181":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"182":{"date":{"__isSmartRef__":true,"id":183},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"183":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"184":{"date":{"__isSmartRef__":true,"id":185},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"185":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"186":{"date":{"__isSmartRef__":true,"id":187},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"187":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"188":{"date":{"__isSmartRef__":true,"id":189},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"189":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"190":{"date":{"__isSmartRef__":true,"id":191},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"191":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"192":{"date":{"__isSmartRef__":true,"id":193},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"193":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"194":{"date":{"__isSmartRef__":true,"id":195},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"195":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"196":{"date":{"__isSmartRef__":true,"id":197},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"197":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"198":{"date":{"__isSmartRef__":true,"id":199},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"199":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"200":{"date":{"__isSmartRef__":true,"id":201},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"201":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"202":{"date":{"__isSmartRef__":true,"id":203},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"203":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"204":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"205":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"206":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":207}},"207":{"test01IsMorph":{"__isSmartRef__":true,"id":208}},"208":{"varMapping":{"__isSmartRef__":true,"id":209},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":210},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"209":{"this":{"__isSmartRef__":true,"id":206}},"210":{},"211":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"212":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"213":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"214":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"215":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"216":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"217":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"218":{"morph":{"__isSmartRef__":true,"id":2},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"219":{"adjustForNewBounds":true},"220":{"Gas":9000},"221":{"sourceObj":{"__isSmartRef__":true,"id":2},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":3},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":222},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"222":{"source":{"__isSmartRef__":true,"id":2},"target":{"__isSmartRef__":true,"id":3}},"223":{"migrateFrom":{"__isSmartRef__":true,"id":224},"parsePropeties":{"__isSmartRef__":true,"id":228},"printProperties":{"__isSmartRef__":true,"id":232},"parseSimulationSource":{"__isSmartRef__":true,"id":236},"simulateStep":{"__isSmartRef__":true,"id":240},"showError":{"__isSmartRef__":true,"id":243},"throwSimulationProblem":{"__isSmartRef__":true,"id":247},"updateUI":{"__isSmartRef__":true,"id":251}},"224":{"varMapping":{"__isSmartRef__":true,"id":225},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"225":{"this":{"__isSmartRef__":true,"id":2}},"226":{"timestamp":{"__isSmartRef__":true,"id":227},"user":"jenslincke","tags":[]},"227":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"228":{"varMapping":{"__isSmartRef__":true,"id":229},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"229":{"this":{"__isSmartRef__":true,"id":2}},"230":{"timestamp":{"__isSmartRef__":true,"id":231},"user":"jenslincke","tags":[]},"231":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"232":{"varMapping":{"__isSmartRef__":true,"id":233},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":234},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"233":{"this":{"__isSmartRef__":true,"id":2}},"234":{"timestamp":{"__isSmartRef__":true,"id":235},"user":"jenslincke","tags":[]},"235":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"236":{"varMapping":{"__isSmartRef__":true,"id":237},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"237":{"this":{"__isSmartRef__":true,"id":2}},"238":{"timestamp":{"__isSmartRef__":true,"id":239},"user":"jenslincke","tags":[]},"239":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"240":{"varMapping":{"__isSmartRef__":true,"id":241},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\nif ($.Gas < 0) {\n problem(\"GasEmpty\")\n}\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":242},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"241":{"this":{"__isSmartRef__":true,"id":2}},"242":{},"243":{"varMapping":{"__isSmartRef__":true,"id":244},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":245},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"244":{"this":{"__isSmartRef__":true,"id":2}},"245":{"timestamp":{"__isSmartRef__":true,"id":246},"user":"jenslincke","tags":[]},"246":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"247":{"varMapping":{"__isSmartRef__":true,"id":248},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"248":{"this":{"__isSmartRef__":true,"id":2}},"249":{"timestamp":{"__isSmartRef__":true,"id":250},"user":"jenslincke","tags":[]},"250":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"251":{"varMapping":{"__isSmartRef__":true,"id":252},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":253},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"252":{"this":{"__isSmartRef__":true,"id":2}},"253":{"timestamp":{"__isSmartRef__":true,"id":254},"user":"jenslincke","tags":[]},"254":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"255":{"submorphs":[{"__isSmartRef__":true,"id":256},{"__isSmartRef__":true,"id":272},{"__isSmartRef__":true,"id":385},{"__isSmartRef__":true,"id":407}],"scripts":[],"id":"00CB08BF-8BE4-4428-996A-656CD1D8FB90","shape":{"__isSmartRef__":true,"id":431},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":432},"eventHandler":{"__isSmartRef__":true,"id":488},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":489},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":494},{"__isSmartRef__":true,"id":495},{"__isSmartRef__":true,"id":496},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":498},{"__isSmartRef__":true,"id":499},{"__isSmartRef__":true,"id":500},{"__isSmartRef__":true,"id":501}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":502},"$":{"__isSmartRef__":true,"id":503},"name":"HeatConsumer","attributeConnections":[{"__isSmartRef__":true,"id":504}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":506},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(366.3,-16.1)","_Position":"lively.pt(1290.0,40.0)"},"256":{"submorphs":[],"scripts":[],"id":"F8518A8C-1BF6-4851-8598-7BD29CD48071","shape":{"__isSmartRef__":true,"id":257},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":258},"textChunks":[{"__isSmartRef__":true,"id":260}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":262},{"__isSmartRef__":true,"id":263}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":264},"owner":{"__isSmartRef__":true,"id":255},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":255},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":265},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"257":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"258":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":259},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"259":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"260":{"style":{"__isSmartRef__":true,"id":261},"chunkOwner":{"__isSmartRef__":true,"id":256},"_id":"_198499","storedString":"HeatConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"261":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"262":{"sourceObj":{"__isSmartRef__":true,"id":256},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":256},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"263":{"sourceObj":{"__isSmartRef__":true,"id":256},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":256},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"264":{"morph":{"__isSmartRef__":true,"id":256},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"265":{"updateLabel":{"__isSmartRef__":true,"id":266},"renameOwner":{"__isSmartRef__":true,"id":269}},"266":{"varMapping":{"__isSmartRef__":true,"id":267},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"267":{"this":{"__isSmartRef__":true,"id":256}},"268":{},"269":{"varMapping":{"__isSmartRef__":true,"id":270},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":271},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"270":{"this":{"__isSmartRef__":true,"id":256}},"271":{},"272":{"submorphs":[],"scripts":[],"id":"BA01569D-1329-444E-B2F2-37B4901EA320","shape":{"__isSmartRef__":true,"id":273},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":274},"textChunks":[{"__isSmartRef__":true,"id":290},{"__isSmartRef__":true,"id":292},{"__isSmartRef__":true,"id":294},{"__isSmartRef__":true,"id":296},{"__isSmartRef__":true,"id":298},{"__isSmartRef__":true,"id":300},{"__isSmartRef__":true,"id":302},{"__isSmartRef__":true,"id":304},{"__isSmartRef__":true,"id":306},{"__isSmartRef__":true,"id":308},{"__isSmartRef__":true,"id":310},{"__isSmartRef__":true,"id":312},{"__isSmartRef__":true,"id":314},{"__isSmartRef__":true,"id":316},{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":320},{"__isSmartRef__":true,"id":322},{"__isSmartRef__":true,"id":324},{"__isSmartRef__":true,"id":326},{"__isSmartRef__":true,"id":328},{"__isSmartRef__":true,"id":330},{"__isSmartRef__":true,"id":332},{"__isSmartRef__":true,"id":334},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":338},{"__isSmartRef__":true,"id":340},{"__isSmartRef__":true,"id":342},{"__isSmartRef__":true,"id":344}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":346},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":347},{"__isSmartRef__":true,"id":348},{"__isSmartRef__":true,"id":349},{"__isSmartRef__":true,"id":350},{"__isSmartRef__":true,"id":351},{"__isSmartRef__":true,"id":352},{"__isSmartRef__":true,"id":353},{"__isSmartRef__":true,"id":354}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":355},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":255},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":358}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":16,"_Rotation":0,"_Scale":1,"previousSelection":[333,333],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"var delta = $.Demand * dt\nif (#HeatStorage.$.Energy > delta) {\n #HeatStorage.$.Energy -= delta\n $.Consumed += delta\n // TODO consume Extra\n} else {\n $.Extra += delta\n problem(\"RoomToCold\")\n}","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":360},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"273":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(383.1,187.2)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"274":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":275},{"__isSmartRef__":true,"id":277},{"__isSmartRef__":true,"id":279},{"__isSmartRef__":true,"id":281},{"__isSmartRef__":true,"id":283},{"__isSmartRef__":true,"id":285},{"__isSmartRef__":true,"id":287}],"lastModifiedDate":{"__isSmartRef__":true,"id":289},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"275":{"date":{"__isSmartRef__":true,"id":276},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"276":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"277":{"date":{"__isSmartRef__":true,"id":278},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"278":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"279":{"date":{"__isSmartRef__":true,"id":280},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"280":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"281":{"date":{"__isSmartRef__":true,"id":282},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"282":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"283":{"date":{"__isSmartRef__":true,"id":284},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"284":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"285":{"date":{"__isSmartRef__":true,"id":286},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"286":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"287":{"date":{"__isSmartRef__":true,"id":288},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"288":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"289":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"290":{"style":{"__isSmartRef__":true,"id":291},"chunkOwner":{"__isSmartRef__":true,"id":272},"_id":"_198497","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"291":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"292":{"_id":"_198567","style":{"__isSmartRef__":true,"id":293},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":" delta = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"293":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"294":{"_id":"_198584","style":{"__isSmartRef__":true,"id":295},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"295":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"296":{"_id":"_198585","style":{"__isSmartRef__":true,"id":297},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":".Demand * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"297":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"298":{"_id":"_198586","style":{"__isSmartRef__":true,"id":299},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"299":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"300":{"_id":"_198587","style":{"__isSmartRef__":true,"id":301},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"301":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"302":{"_id":"_198568","style":{"__isSmartRef__":true,"id":303},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"303":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"304":{"_id":"_198569","style":{"__isSmartRef__":true,"id":305},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":" (#HeatStorage.$.Energy > delta) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"305":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"306":{"_id":"_198570","style":{"__isSmartRef__":true,"id":307},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"307":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"308":{"_id":"_198571","style":{"__isSmartRef__":true,"id":309},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"\n #HeatStorage.$.Energy -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"309":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"310":{"_id":"_198588","style":{"__isSmartRef__":true,"id":311},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"311":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"312":{"_id":"_198589","style":{"__isSmartRef__":true,"id":313},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":".Consumed += delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"313":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"314":{"_id":"_198572","style":{"__isSmartRef__":true,"id":315},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"315":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"316":{"_id":"_198573","style":{"__isSmartRef__":true,"id":317},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":" TODO consume Extra","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"317":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"318":{"_id":"_198574","style":{"__isSmartRef__":true,"id":319},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"319":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"320":{"_id":"_198575","style":{"__isSmartRef__":true,"id":321},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"321":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"322":{"_id":"_198576","style":{"__isSmartRef__":true,"id":323},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"323":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"324":{"_id":"_198577","style":{"__isSmartRef__":true,"id":325},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"325":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"326":{"_id":"_198578","style":{"__isSmartRef__":true,"id":327},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"327":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"328":{"_id":"_198579","style":{"__isSmartRef__":true,"id":329},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"329":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"330":{"_id":"_198580","style":{"__isSmartRef__":true,"id":331},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"331":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"332":{"_id":"_198590","style":{"__isSmartRef__":true,"id":333},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"333":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"334":{"_id":"_198591","style":{"__isSmartRef__":true,"id":335},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":".Extra += delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"335":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"336":{"_id":"_198592","style":{"__isSmartRef__":true,"id":337},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"problem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"337":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"338":{"_id":"_198593","style":{"__isSmartRef__":true,"id":339},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"339":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"340":{"_id":"_198581","style":{"__isSmartRef__":true,"id":341},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"\"RoomToCold\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"341":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"342":{"_id":"_198582","style":{"__isSmartRef__":true,"id":343},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"343":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"344":{"_id":"_198583","style":{"__isSmartRef__":true,"id":345},"chunkOwner":{"__isSmartRef__":true,"id":272},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"345":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"346":{"morph":{"__isSmartRef__":true,"id":272},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"347":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"348":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"349":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"350":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"351":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"352":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"353":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"354":{"morph":{"__isSmartRef__":true,"id":272},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"355":{"resizeWidth":true,"resizeHeight":true},"356":{"sourceObj":{"__isSmartRef__":true,"id":272},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":255},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":357},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"357":{"source":{"__isSmartRef__":true,"id":272},"target":{"__isSmartRef__":true,"id":255}},"358":{"sourceObj":{"__isSmartRef__":true,"id":272},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":272},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":359},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"359":{"source":{"__isSmartRef__":true,"id":272},"target":{"__isSmartRef__":true,"id":272}},"360":{"boundEval":{"__isSmartRef__":true,"id":361},"getDoitContext":{"__isSmartRef__":true,"id":369},"installLayers":{"__isSmartRef__":true,"id":377},"onLoad":{"__isSmartRef__":true,"id":381}},"361":{"varMapping":{"__isSmartRef__":true,"id":362},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":367},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"362":{"this":{"__isSmartRef__":true,"id":272},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":363}},"363":{"$super":{"__isSmartRef__":true,"id":364}},"364":{"varMapping":{"__isSmartRef__":true,"id":365},"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":366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"365":{"obj":{"__isSmartRef__":true,"id":272},"name":"boundEval"},"366":{},"367":{"timestamp":{"__isSmartRef__":true,"id":368},"user":"jenslincke","tags":[]},"368":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"369":{"varMapping":{"__isSmartRef__":true,"id":370},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":375},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"370":{"this":{"__isSmartRef__":true,"id":272},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":371}},"371":{"$super":{"__isSmartRef__":true,"id":372}},"372":{"varMapping":{"__isSmartRef__":true,"id":373},"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":374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"373":{"obj":{"__isSmartRef__":true,"id":272},"name":"getDoitContext"},"374":{},"375":{"timestamp":{"__isSmartRef__":true,"id":376},"user":"jenslincke","tags":[]},"376":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"377":{"varMapping":{"__isSmartRef__":true,"id":378},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":379},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"378":{"this":{"__isSmartRef__":true,"id":272}},"379":{"timestamp":{"__isSmartRef__":true,"id":380},"user":"jenslincke","tags":[]},"380":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"381":{"varMapping":{"__isSmartRef__":true,"id":382},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"382":{"this":{"__isSmartRef__":true,"id":272}},"383":{"timestamp":{"__isSmartRef__":true,"id":384},"user":"jenslincke","tags":[]},"384":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"385":{"submorphs":[],"scripts":[],"id":"4E0E3776-5DB6-44B3-B52B-9C8A3AC4E84F","shape":{"__isSmartRef__":true,"id":386},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":387},"textChunks":[{"__isSmartRef__":true,"id":403}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":405},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":255},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":406},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,272.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(255,255,255)"},"386":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(388.2,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"387":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":388},{"__isSmartRef__":true,"id":390},{"__isSmartRef__":true,"id":392},{"__isSmartRef__":true,"id":394},{"__isSmartRef__":true,"id":396},{"__isSmartRef__":true,"id":398},{"__isSmartRef__":true,"id":400}],"lastModifiedDate":{"__isSmartRef__":true,"id":402},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"388":{"date":{"__isSmartRef__":true,"id":389},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"389":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"390":{"date":{"__isSmartRef__":true,"id":391},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"391":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"392":{"date":{"__isSmartRef__":true,"id":393},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"393":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"394":{"date":{"__isSmartRef__":true,"id":395},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"395":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"396":{"date":{"__isSmartRef__":true,"id":397},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"397":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"398":{"date":{"__isSmartRef__":true,"id":399},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"399":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"400":{"date":{"__isSmartRef__":true,"id":401},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"401":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"402":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"403":{"style":{"__isSmartRef__":true,"id":404},"chunkOwner":{"__isSmartRef__":true,"id":385},"_id":"_199885","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"404":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"405":{"morph":{"__isSmartRef__":true,"id":385},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"406":{"moveVertical":true,"resizeWidth":true},"407":{"submorphs":[],"scripts":[],"id":"D2A0AA26-F475-4BCA-AEDE-BB324E975762","shape":{"__isSmartRef__":true,"id":408},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":409},"textChunks":[{"__isSmartRef__":true,"id":425}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":427},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":255},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":428}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":430},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"408":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(387.6,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"409":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":410},{"__isSmartRef__":true,"id":412},{"__isSmartRef__":true,"id":414},{"__isSmartRef__":true,"id":416},{"__isSmartRef__":true,"id":418},{"__isSmartRef__":true,"id":420},{"__isSmartRef__":true,"id":422}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":424},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"410":{"date":{"__isSmartRef__":true,"id":411},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"411":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"412":{"date":{"__isSmartRef__":true,"id":413},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"413":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"414":{"date":{"__isSmartRef__":true,"id":415},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"415":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"416":{"date":{"__isSmartRef__":true,"id":417},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"417":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"418":{"date":{"__isSmartRef__":true,"id":419},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"419":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"420":{"date":{"__isSmartRef__":true,"id":421},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"421":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"422":{"date":{"__isSmartRef__":true,"id":423},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"423":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"424":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"425":{"style":{"__isSmartRef__":true,"id":426},"chunkOwner":{"__isSmartRef__":true,"id":407},"_id":"_199876","storedString":"Consumed: 0\nExtra: 0\nDemand: 3\nStopped: false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"426":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"427":{"morph":{"__isSmartRef__":true,"id":407},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"428":{"sourceObj":{"__isSmartRef__":true,"id":407},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":255},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":429},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"429":{"source":{"__isSmartRef__":true,"id":407},"target":{"__isSmartRef__":true,"id":255}},"430":{"resizeWidth":true},"431":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(410.0,290.0)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"432":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":435},{"__isSmartRef__":true,"id":437},{"__isSmartRef__":true,"id":439},{"__isSmartRef__":true,"id":441},{"__isSmartRef__":true,"id":443},{"__isSmartRef__":true,"id":445},{"__isSmartRef__":true,"id":447},{"__isSmartRef__":true,"id":449},{"__isSmartRef__":true,"id":451},{"__isSmartRef__":true,"id":453},{"__isSmartRef__":true,"id":455},{"__isSmartRef__":true,"id":457},{"__isSmartRef__":true,"id":459},{"__isSmartRef__":true,"id":461},{"__isSmartRef__":true,"id":463},{"__isSmartRef__":true,"id":465},{"__isSmartRef__":true,"id":467},{"__isSmartRef__":true,"id":469},{"__isSmartRef__":true,"id":471},{"__isSmartRef__":true,"id":473},{"__isSmartRef__":true,"id":475},{"__isSmartRef__":true,"id":477},{"__isSmartRef__":true,"id":479},{"__isSmartRef__":true,"id":481},{"__isSmartRef__":true,"id":483},{"__isSmartRef__":true,"id":485}],"lastModifiedDate":{"__isSmartRef__":true,"id":487},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"433":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":434}},"434":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"435":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":436}},"436":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"437":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":438}},"438":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"439":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":440}},"440":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"441":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":442}},"442":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"443":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":444}},"444":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"445":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":446}},"446":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"447":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":448}},"448":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"449":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":450}},"450":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"451":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":452}},"452":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"453":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":454}},"454":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"455":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":456}},"456":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"457":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":458}},"458":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"459":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":460}},"460":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"461":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":462}},"462":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"463":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":464}},"464":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"465":{"date":{"__isSmartRef__":true,"id":466},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"466":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"467":{"date":{"__isSmartRef__":true,"id":468},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"468":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"469":{"date":{"__isSmartRef__":true,"id":470},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"470":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"471":{"date":{"__isSmartRef__":true,"id":472},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"472":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"473":{"date":{"__isSmartRef__":true,"id":474},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"474":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"475":{"date":{"__isSmartRef__":true,"id":476},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"476":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"477":{"date":{"__isSmartRef__":true,"id":478},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"478":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"479":{"date":{"__isSmartRef__":true,"id":480},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"480":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"481":{"date":{"__isSmartRef__":true,"id":482},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"482":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"483":{"date":{"__isSmartRef__":true,"id":484},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"484":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"485":{"date":{"__isSmartRef__":true,"id":486},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"486":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"487":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"488":{"morph":{"__isSmartRef__":true,"id":255},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"489":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":490}},"490":{"test01IsMorph":{"__isSmartRef__":true,"id":491}},"491":{"varMapping":{"__isSmartRef__":true,"id":492},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"492":{"this":{"__isSmartRef__":true,"id":489}},"493":{},"494":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"495":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"496":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"497":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"498":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"499":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"500":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"501":{"morph":{"__isSmartRef__":true,"id":255},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"502":{"adjustForNewBounds":true},"503":{"Consumed":0,"Extra":0,"Demand":3,"Stopped":false},"504":{"sourceObj":{"__isSmartRef__":true,"id":255},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":256},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":505},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"505":{"source":{"__isSmartRef__":true,"id":255},"target":{"__isSmartRef__":true,"id":256}},"506":{"migrateFrom":{"__isSmartRef__":true,"id":507},"parsePropeties":{"__isSmartRef__":true,"id":511},"printProperties":{"__isSmartRef__":true,"id":515},"parseSimulationSource":{"__isSmartRef__":true,"id":519},"simulateStep":{"__isSmartRef__":true,"id":523},"showError":{"__isSmartRef__":true,"id":526},"throwSimulationProblem":{"__isSmartRef__":true,"id":530},"updateUI":{"__isSmartRef__":true,"id":534}},"507":{"varMapping":{"__isSmartRef__":true,"id":508},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"508":{"this":{"__isSmartRef__":true,"id":255}},"509":{"timestamp":{"__isSmartRef__":true,"id":510},"user":"jenslincke","tags":[]},"510":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"511":{"varMapping":{"__isSmartRef__":true,"id":512},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":513},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"512":{"this":{"__isSmartRef__":true,"id":255}},"513":{"timestamp":{"__isSmartRef__":true,"id":514},"user":"jenslincke","tags":[]},"514":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"515":{"varMapping":{"__isSmartRef__":true,"id":516},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"516":{"this":{"__isSmartRef__":true,"id":255}},"517":{"timestamp":{"__isSmartRef__":true,"id":518},"user":"jenslincke","tags":[]},"518":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"519":{"varMapping":{"__isSmartRef__":true,"id":520},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":521},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"520":{"this":{"__isSmartRef__":true,"id":255}},"521":{"timestamp":{"__isSmartRef__":true,"id":522},"user":"jenslincke","tags":[]},"522":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"523":{"varMapping":{"__isSmartRef__":true,"id":524},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\nvar delta = $.Demand * dt\nif (this.get('HeatStorage').$.Energy > delta) {\n this.get('HeatStorage').$.Energy -= delta\n $.Consumed += delta\n // TODO consume Extra\n} else {\n $.Extra += delta\n problem(\"RoomToCold\")\n}\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":525},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"524":{"this":{"__isSmartRef__":true,"id":255}},"525":{},"526":{"varMapping":{"__isSmartRef__":true,"id":527},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":528},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"527":{"this":{"__isSmartRef__":true,"id":255}},"528":{"timestamp":{"__isSmartRef__":true,"id":529},"user":"jenslincke","tags":[]},"529":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"530":{"varMapping":{"__isSmartRef__":true,"id":531},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":532},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"531":{"this":{"__isSmartRef__":true,"id":255}},"532":{"timestamp":{"__isSmartRef__":true,"id":533},"user":"jenslincke","tags":[]},"533":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"534":{"varMapping":{"__isSmartRef__":true,"id":535},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":536},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"535":{"this":{"__isSmartRef__":true,"id":255}},"536":{"timestamp":{"__isSmartRef__":true,"id":537},"user":"jenslincke","tags":[]},"537":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"538":{"submorphs":[{"__isSmartRef__":true,"id":539},{"__isSmartRef__":true,"id":555},{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":764}],"scripts":[],"id":"AA93E0C3-4EA2-4C03-B485-A2FB7FE7DA33","shape":{"__isSmartRef__":true,"id":788},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":789},"eventHandler":{"__isSmartRef__":true,"id":845},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":846},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":851},{"__isSmartRef__":true,"id":852},{"__isSmartRef__":true,"id":853},{"__isSmartRef__":true,"id":854},{"__isSmartRef__":true,"id":855},{"__isSmartRef__":true,"id":856},{"__isSmartRef__":true,"id":857},{"__isSmartRef__":true,"id":858}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":859},"$":{"__isSmartRef__":true,"id":860},"name":"ThermalPowerStation","attributeConnections":[{"__isSmartRef__":true,"id":861}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":863},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(362.8,-7.8)","_Position":"lively.pt(440.0,330.0)"},"539":{"submorphs":[],"scripts":[],"id":"D30E42EC-DEAF-4189-9678-48D97B59703A","shape":{"__isSmartRef__":true,"id":540},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":541},"textChunks":[{"__isSmartRef__":true,"id":543}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":545},{"__isSmartRef__":true,"id":546}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":547},"owner":{"__isSmartRef__":true,"id":538},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":538},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":548},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"540":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"541":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":542},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"542":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"543":{"style":{"__isSmartRef__":true,"id":544},"chunkOwner":{"__isSmartRef__":true,"id":539},"_id":"_198508","storedString":"ThermalPowerStation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"544":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"545":{"sourceObj":{"__isSmartRef__":true,"id":539},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":539},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"546":{"sourceObj":{"__isSmartRef__":true,"id":539},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":539},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"547":{"morph":{"__isSmartRef__":true,"id":539},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"548":{"updateLabel":{"__isSmartRef__":true,"id":549},"renameOwner":{"__isSmartRef__":true,"id":552}},"549":{"varMapping":{"__isSmartRef__":true,"id":550},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":551},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"550":{"this":{"__isSmartRef__":true,"id":539}},"551":{},"552":{"varMapping":{"__isSmartRef__":true,"id":553},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":554},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"553":{"this":{"__isSmartRef__":true,"id":539}},"554":{},"555":{"submorphs":[],"scripts":[],"id":"D7F43FB1-0177-4702-8149-6BAB47C8B25E","shape":{"__isSmartRef__":true,"id":556},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":557},"textChunks":[{"__isSmartRef__":true,"id":573},{"__isSmartRef__":true,"id":575},{"__isSmartRef__":true,"id":577},{"__isSmartRef__":true,"id":579},{"__isSmartRef__":true,"id":581},{"__isSmartRef__":true,"id":583},{"__isSmartRef__":true,"id":585},{"__isSmartRef__":true,"id":587},{"__isSmartRef__":true,"id":589},{"__isSmartRef__":true,"id":591},{"__isSmartRef__":true,"id":593},{"__isSmartRef__":true,"id":595},{"__isSmartRef__":true,"id":597},{"__isSmartRef__":true,"id":599},{"__isSmartRef__":true,"id":601},{"__isSmartRef__":true,"id":603},{"__isSmartRef__":true,"id":605},{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":611},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":617},{"__isSmartRef__":true,"id":619},{"__isSmartRef__":true,"id":621},{"__isSmartRef__":true,"id":623},{"__isSmartRef__":true,"id":625},{"__isSmartRef__":true,"id":627},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":631},{"__isSmartRef__":true,"id":633},{"__isSmartRef__":true,"id":635},{"__isSmartRef__":true,"id":637},{"__isSmartRef__":true,"id":639},{"__isSmartRef__":true,"id":641},{"__isSmartRef__":true,"id":643},{"__isSmartRef__":true,"id":645},{"__isSmartRef__":true,"id":647},{"__isSmartRef__":true,"id":649},{"__isSmartRef__":true,"id":651},{"__isSmartRef__":true,"id":653},{"__isSmartRef__":true,"id":655},{"__isSmartRef__":true,"id":657},{"__isSmartRef__":true,"id":659},{"__isSmartRef__":true,"id":661},{"__isSmartRef__":true,"id":663},{"__isSmartRef__":true,"id":665},{"__isSmartRef__":true,"id":667},{"__isSmartRef__":true,"id":669},{"__isSmartRef__":true,"id":671},{"__isSmartRef__":true,"id":673},{"__isSmartRef__":true,"id":675},{"__isSmartRef__":true,"id":677},{"__isSmartRef__":true,"id":679},{"__isSmartRef__":true,"id":681},{"__isSmartRef__":true,"id":683},{"__isSmartRef__":true,"id":685},{"__isSmartRef__":true,"id":687},{"__isSmartRef__":true,"id":689},{"__isSmartRef__":true,"id":691},{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":695},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":699},{"__isSmartRef__":true,"id":701}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":703},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":704},{"__isSmartRef__":true,"id":705},{"__isSmartRef__":true,"id":706},{"__isSmartRef__":true,"id":707},{"__isSmartRef__":true,"id":708},{"__isSmartRef__":true,"id":709},{"__isSmartRef__":true,"id":710},{"__isSmartRef__":true,"id":711}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":712},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":538},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":713},{"__isSmartRef__":true,"id":715}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":42,"_Rotation":0,"_Scale":1,"previousSelection":[333,333],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"var full = $.Max * $.Factor\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt\n && (#Battery.$.Energy < 0.9 * #Battery.$.Max )) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += 1.0 * gas\n}\nvar delta = $.Heat / $.Factor * dt\nif ($.Heat > 2) {\n $.Heat -= delta\n if(#HeatStorage.$.Energy < #HeatStorage.$.Max) {\n #HeatStorage.$.Energy += 0.5 * delta\n }\n if (#Battery.$.Energy < #Battery.$.Max ) {\n #Battery.$.Energy += 0.4 * delta\n }\n}","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":717},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"556":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(513.1,207.2)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"557":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":560},{"__isSmartRef__":true,"id":562},{"__isSmartRef__":true,"id":564},{"__isSmartRef__":true,"id":566},{"__isSmartRef__":true,"id":568},{"__isSmartRef__":true,"id":570}],"lastModifiedDate":{"__isSmartRef__":true,"id":572},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"558":{"date":{"__isSmartRef__":true,"id":559},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"559":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"560":{"date":{"__isSmartRef__":true,"id":561},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"561":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"562":{"date":{"__isSmartRef__":true,"id":563},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"563":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"564":{"date":{"__isSmartRef__":true,"id":565},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"565":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"566":{"date":{"__isSmartRef__":true,"id":567},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"567":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"568":{"date":{"__isSmartRef__":true,"id":569},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"569":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"570":{"date":{"__isSmartRef__":true,"id":571},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"571":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"572":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"573":{"style":{"__isSmartRef__":true,"id":574},"chunkOwner":{"__isSmartRef__":true,"id":555},"_id":"_198506","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"574":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"575":{"_id":"_198594","style":{"__isSmartRef__":true,"id":576},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" full = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"576":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"577":{"_id":"_198632","style":{"__isSmartRef__":true,"id":578},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"578":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"579":{"_id":"_198633","style":{"__isSmartRef__":true,"id":580},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Max * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"580":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"581":{"_id":"_198634","style":{"__isSmartRef__":true,"id":582},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"582":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"583":{"_id":"_198635","style":{"__isSmartRef__":true,"id":584},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Factor\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"584":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"585":{"_id":"_198595","style":{"__isSmartRef__":true,"id":586},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"586":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"587":{"_id":"_198596","style":{"__isSmartRef__":true,"id":588},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"588":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"589":{"_id":"_198636","style":{"__isSmartRef__":true,"id":590},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"590":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"591":{"_id":"_198637","style":{"__isSmartRef__":true,"id":592},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Heat < full && #Fuel.$.Gas > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"592":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"593":{"_id":"_198638","style":{"__isSmartRef__":true,"id":594},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"594":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"595":{"_id":"_198639","style":{"__isSmartRef__":true,"id":596},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Max * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"596":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"597":{"_id":"_198640","style":{"__isSmartRef__":true,"id":598},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"598":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"599":{"_id":"_198641","style":{"__isSmartRef__":true,"id":600},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n && (#Battery.$.Energy < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"600":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"601":{"_id":"_198597","style":{"__isSmartRef__":true,"id":602},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"0.9","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"602":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"603":{"_id":"_198598","style":{"__isSmartRef__":true,"id":604},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" * #Battery.$.Max )) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"604":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"605":{"_id":"_198599","style":{"__isSmartRef__":true,"id":606},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"606":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"607":{"_id":"_198600","style":{"__isSmartRef__":true,"id":608},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"608":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"609":{"_id":"_198601","style":{"__isSmartRef__":true,"id":610},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"610":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"611":{"_id":"_198602","style":{"__isSmartRef__":true,"id":612},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" gas = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"612":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"613":{"_id":"_198642","style":{"__isSmartRef__":true,"id":614},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"614":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"615":{"_id":"_198643","style":{"__isSmartRef__":true,"id":616},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Max * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"616":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"617":{"_id":"_198644","style":{"__isSmartRef__":true,"id":618},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"618":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"619":{"_id":"_198645","style":{"__isSmartRef__":true,"id":620},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n #Fuel.$.Gas -= gas\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"620":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"621":{"_id":"_198646","style":{"__isSmartRef__":true,"id":622},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"622":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"623":{"_id":"_198647","style":{"__isSmartRef__":true,"id":624},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Heat += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"624":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"625":{"_id":"_198603","style":{"__isSmartRef__":true,"id":626},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"1.0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"626":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"627":{"_id":"_198604","style":{"__isSmartRef__":true,"id":628},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" * gas\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"628":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"629":{"_id":"_198605","style":{"__isSmartRef__":true,"id":630},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"630":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"631":{"_id":"_198606","style":{"__isSmartRef__":true,"id":632},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"632":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"633":{"_id":"_198607","style":{"__isSmartRef__":true,"id":634},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"634":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"635":{"_id":"_198608","style":{"__isSmartRef__":true,"id":636},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" delta = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"636":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"637":{"_id":"_198648","style":{"__isSmartRef__":true,"id":638},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"638":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"639":{"_id":"_198649","style":{"__isSmartRef__":true,"id":640},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Heat / ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"640":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"641":{"_id":"_198650","style":{"__isSmartRef__":true,"id":642},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"642":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"643":{"_id":"_198651","style":{"__isSmartRef__":true,"id":644},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Factor * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"644":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"645":{"_id":"_198652","style":{"__isSmartRef__":true,"id":646},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"646":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"647":{"_id":"_198653","style":{"__isSmartRef__":true,"id":648},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"648":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"649":{"_id":"_198609","style":{"__isSmartRef__":true,"id":650},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"650":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"651":{"_id":"_198610","style":{"__isSmartRef__":true,"id":652},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"652":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"653":{"_id":"_198654","style":{"__isSmartRef__":true,"id":654},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"654":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"655":{"_id":"_198655","style":{"__isSmartRef__":true,"id":656},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Heat > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"656":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"657":{"_id":"_198611","style":{"__isSmartRef__":true,"id":658},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"658":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"659":{"_id":"_198612","style":{"__isSmartRef__":true,"id":660},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"660":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"661":{"_id":"_198613","style":{"__isSmartRef__":true,"id":662},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"662":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"663":{"_id":"_198614","style":{"__isSmartRef__":true,"id":664},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"664":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"665":{"_id":"_198656","style":{"__isSmartRef__":true,"id":666},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"666":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"667":{"_id":"_198657","style":{"__isSmartRef__":true,"id":668},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":".Heat -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"668":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"669":{"_id":"_198615","style":{"__isSmartRef__":true,"id":670},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"670":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"671":{"_id":"_198616","style":{"__isSmartRef__":true,"id":672},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"(#HeatStorage.$.Energy < #HeatStorage.$.Max) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"672":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"673":{"_id":"_198617","style":{"__isSmartRef__":true,"id":674},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"674":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"675":{"_id":"_198618","style":{"__isSmartRef__":true,"id":676},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n #HeatStorage.$.Energy += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"676":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"677":{"_id":"_198619","style":{"__isSmartRef__":true,"id":678},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"0.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"678":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"679":{"_id":"_198620","style":{"__isSmartRef__":true,"id":680},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" * delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"680":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"681":{"_id":"_198621","style":{"__isSmartRef__":true,"id":682},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"682":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"683":{"_id":"_198622","style":{"__isSmartRef__":true,"id":684},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"684":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"685":{"_id":"_198623","style":{"__isSmartRef__":true,"id":686},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"686":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"687":{"_id":"_198624","style":{"__isSmartRef__":true,"id":688},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" (#Battery.$.Energy < #Battery.$.Max ) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"688":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"689":{"_id":"_198625","style":{"__isSmartRef__":true,"id":690},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"690":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"691":{"_id":"_198626","style":{"__isSmartRef__":true,"id":692},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n #Battery.$.Energy += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"692":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"693":{"_id":"_198627","style":{"__isSmartRef__":true,"id":694},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"0.4","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"694":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"695":{"_id":"_198628","style":{"__isSmartRef__":true,"id":696},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":" * delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"696":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"697":{"_id":"_198629","style":{"__isSmartRef__":true,"id":698},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"698":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"699":{"_id":"_198630","style":{"__isSmartRef__":true,"id":700},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"700":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"701":{"_id":"_198631","style":{"__isSmartRef__":true,"id":702},"chunkOwner":{"__isSmartRef__":true,"id":555},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"702":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"703":{"morph":{"__isSmartRef__":true,"id":555},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"704":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"705":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"706":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"707":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"708":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"709":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"710":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"711":{"morph":{"__isSmartRef__":true,"id":555},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"712":{"resizeWidth":true,"resizeHeight":true},"713":{"sourceObj":{"__isSmartRef__":true,"id":555},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":538},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":714},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"714":{"source":{"__isSmartRef__":true,"id":555},"target":{"__isSmartRef__":true,"id":538}},"715":{"sourceObj":{"__isSmartRef__":true,"id":555},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":555},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":716},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"716":{"source":{"__isSmartRef__":true,"id":555},"target":{"__isSmartRef__":true,"id":555}},"717":{"boundEval":{"__isSmartRef__":true,"id":718},"getDoitContext":{"__isSmartRef__":true,"id":726},"installLayers":{"__isSmartRef__":true,"id":734},"onLoad":{"__isSmartRef__":true,"id":738}},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":724},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"719":{"this":{"__isSmartRef__":true,"id":555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":720}},"720":{"$super":{"__isSmartRef__":true,"id":721}},"721":{"varMapping":{"__isSmartRef__":true,"id":722},"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":723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"722":{"obj":{"__isSmartRef__":true,"id":555},"name":"boundEval"},"723":{},"724":{"timestamp":{"__isSmartRef__":true,"id":725},"user":"jenslincke","tags":[]},"725":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"726":{"varMapping":{"__isSmartRef__":true,"id":727},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"727":{"this":{"__isSmartRef__":true,"id":555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":728}},"728":{"$super":{"__isSmartRef__":true,"id":729}},"729":{"varMapping":{"__isSmartRef__":true,"id":730},"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":731},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"730":{"obj":{"__isSmartRef__":true,"id":555},"name":"getDoitContext"},"731":{},"732":{"timestamp":{"__isSmartRef__":true,"id":733},"user":"jenslincke","tags":[]},"733":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"734":{"varMapping":{"__isSmartRef__":true,"id":735},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":736},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"735":{"this":{"__isSmartRef__":true,"id":555}},"736":{"timestamp":{"__isSmartRef__":true,"id":737},"user":"jenslincke","tags":[]},"737":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"738":{"varMapping":{"__isSmartRef__":true,"id":739},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":740},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"739":{"this":{"__isSmartRef__":true,"id":555}},"740":{"timestamp":{"__isSmartRef__":true,"id":741},"user":"jenslincke","tags":[]},"741":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"742":{"submorphs":[],"scripts":[],"id":"C11DBC21-474E-4E64-972B-5FE475545903","shape":{"__isSmartRef__":true,"id":743},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":744},"textChunks":[{"__isSmartRef__":true,"id":760}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":762},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":538},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":763},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,292.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"743":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(518.2,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"744":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":747},{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":753},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":757}],"lastModifiedDate":{"__isSmartRef__":true,"id":759},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"745":{"date":{"__isSmartRef__":true,"id":746},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"746":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"747":{"date":{"__isSmartRef__":true,"id":748},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"748":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"749":{"date":{"__isSmartRef__":true,"id":750},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"750":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"751":{"date":{"__isSmartRef__":true,"id":752},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"752":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"753":{"date":{"__isSmartRef__":true,"id":754},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"754":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"755":{"date":{"__isSmartRef__":true,"id":756},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"756":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"757":{"date":{"__isSmartRef__":true,"id":758},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"758":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"759":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"760":{"style":{"__isSmartRef__":true,"id":761},"chunkOwner":{"__isSmartRef__":true,"id":742},"_id":"_199886","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"761":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"762":{"morph":{"__isSmartRef__":true,"id":742},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"763":{"moveVertical":true,"resizeWidth":true},"764":{"submorphs":[],"scripts":[],"id":"B19D6F26-DEF5-4508-BA7E-46EE7E56852F","shape":{"__isSmartRef__":true,"id":765},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":766},"textChunks":[{"__isSmartRef__":true,"id":782}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":784},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":538},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":785}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":787},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"765":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(517.6,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"766":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":767},{"__isSmartRef__":true,"id":769},{"__isSmartRef__":true,"id":771},{"__isSmartRef__":true,"id":773},{"__isSmartRef__":true,"id":775},{"__isSmartRef__":true,"id":777},{"__isSmartRef__":true,"id":779}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":781},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"767":{"date":{"__isSmartRef__":true,"id":768},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"768":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"769":{"date":{"__isSmartRef__":true,"id":770},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"770":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"771":{"date":{"__isSmartRef__":true,"id":772},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"772":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"773":{"date":{"__isSmartRef__":true,"id":774},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"774":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"775":{"date":{"__isSmartRef__":true,"id":776},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"776":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"777":{"date":{"__isSmartRef__":true,"id":778},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"778":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"779":{"date":{"__isSmartRef__":true,"id":780},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"780":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"781":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"782":{"style":{"__isSmartRef__":true,"id":783},"chunkOwner":{"__isSmartRef__":true,"id":764},"_id":"_199877","storedString":"Heat: 0\nFactor: 10\nMax: 7.5\nStopped: false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"783":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"784":{"morph":{"__isSmartRef__":true,"id":764},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"785":{"sourceObj":{"__isSmartRef__":true,"id":764},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":538},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":786},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"786":{"source":{"__isSmartRef__":true,"id":764},"target":{"__isSmartRef__":true,"id":538}},"787":{"resizeWidth":true},"788":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(540.0,310.0)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"789":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":790},{"__isSmartRef__":true,"id":792},{"__isSmartRef__":true,"id":794},{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":798},{"__isSmartRef__":true,"id":800},{"__isSmartRef__":true,"id":802},{"__isSmartRef__":true,"id":804},{"__isSmartRef__":true,"id":806},{"__isSmartRef__":true,"id":808},{"__isSmartRef__":true,"id":810},{"__isSmartRef__":true,"id":812},{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":816},{"__isSmartRef__":true,"id":818},{"__isSmartRef__":true,"id":820},{"__isSmartRef__":true,"id":822},{"__isSmartRef__":true,"id":824},{"__isSmartRef__":true,"id":826},{"__isSmartRef__":true,"id":828},{"__isSmartRef__":true,"id":830},{"__isSmartRef__":true,"id":832},{"__isSmartRef__":true,"id":834},{"__isSmartRef__":true,"id":836},{"__isSmartRef__":true,"id":838},{"__isSmartRef__":true,"id":840},{"__isSmartRef__":true,"id":842}],"lastModifiedDate":{"__isSmartRef__":true,"id":844},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"790":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":791}},"791":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"792":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":793}},"793":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"794":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":795}},"795":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"796":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":797}},"797":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"798":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":799}},"799":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"800":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":801}},"801":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"802":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":803}},"803":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"804":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":805}},"805":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"806":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":807}},"807":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"808":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":809}},"809":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"810":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":811}},"811":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"812":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":813}},"813":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"814":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":815}},"815":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"816":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":817}},"817":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"818":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":819}},"819":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"820":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":821}},"821":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"822":{"date":{"__isSmartRef__":true,"id":823},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"823":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"824":{"date":{"__isSmartRef__":true,"id":825},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"825":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"826":{"date":{"__isSmartRef__":true,"id":827},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"827":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"828":{"date":{"__isSmartRef__":true,"id":829},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"829":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"830":{"date":{"__isSmartRef__":true,"id":831},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"831":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"832":{"date":{"__isSmartRef__":true,"id":833},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"833":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"834":{"date":{"__isSmartRef__":true,"id":835},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"835":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"836":{"date":{"__isSmartRef__":true,"id":837},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"837":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"838":{"date":{"__isSmartRef__":true,"id":839},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"839":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"840":{"date":{"__isSmartRef__":true,"id":841},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"841":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"842":{"date":{"__isSmartRef__":true,"id":843},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"843":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"844":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"845":{"morph":{"__isSmartRef__":true,"id":538},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"846":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":847}},"847":{"test01IsMorph":{"__isSmartRef__":true,"id":848}},"848":{"varMapping":{"__isSmartRef__":true,"id":849},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"849":{"this":{"__isSmartRef__":true,"id":846}},"850":{},"851":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"852":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"853":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"854":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"855":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"856":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"857":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"858":{"morph":{"__isSmartRef__":true,"id":538},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"859":{"adjustForNewBounds":true},"860":{"Heat":0,"Factor":10,"Max":7.5,"Stopped":false},"861":{"sourceObj":{"__isSmartRef__":true,"id":538},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":539},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":862},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"862":{"source":{"__isSmartRef__":true,"id":538},"target":{"__isSmartRef__":true,"id":539}},"863":{"migrateFrom":{"__isSmartRef__":true,"id":864},"parsePropeties":{"__isSmartRef__":true,"id":868},"printProperties":{"__isSmartRef__":true,"id":872},"parseSimulationSource":{"__isSmartRef__":true,"id":876},"simulateStep":{"__isSmartRef__":true,"id":880},"showError":{"__isSmartRef__":true,"id":883},"throwSimulationProblem":{"__isSmartRef__":true,"id":887},"updateUI":{"__isSmartRef__":true,"id":891}},"864":{"varMapping":{"__isSmartRef__":true,"id":865},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":866},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"865":{"this":{"__isSmartRef__":true,"id":538}},"866":{"timestamp":{"__isSmartRef__":true,"id":867},"user":"jenslincke","tags":[]},"867":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"868":{"varMapping":{"__isSmartRef__":true,"id":869},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"869":{"this":{"__isSmartRef__":true,"id":538}},"870":{"timestamp":{"__isSmartRef__":true,"id":871},"user":"jenslincke","tags":[]},"871":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"872":{"varMapping":{"__isSmartRef__":true,"id":873},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"873":{"this":{"__isSmartRef__":true,"id":538}},"874":{"timestamp":{"__isSmartRef__":true,"id":875},"user":"jenslincke","tags":[]},"875":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"876":{"varMapping":{"__isSmartRef__":true,"id":877},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"877":{"this":{"__isSmartRef__":true,"id":538}},"878":{"timestamp":{"__isSmartRef__":true,"id":879},"user":"jenslincke","tags":[]},"879":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"880":{"varMapping":{"__isSmartRef__":true,"id":881},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\nvar full = $.Max * $.Factor\nif ($.Heat < full && this.get('Fuel').$.Gas > $.Max * dt\n && (this.get('Battery').$.Energy < 0.9 * this.get('Battery').$.Max )) {\n var gas = $.Max * dt\n this.get('Fuel').$.Gas -= gas\n $.Heat += 1.0 * gas\n}\nvar delta = $.Heat / $.Factor * dt\nif ($.Heat > 2) {\n $.Heat -= delta\n if(this.get('HeatStorage').$.Energy < this.get('HeatStorage').$.Max) {\n this.get('HeatStorage').$.Energy += 0.5 * delta\n }\n if (this.get('Battery').$.Energy < this.get('Battery').$.Max ) {\n this.get('Battery').$.Energy += 0.4 * delta\n }\n}\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"881":{"this":{"__isSmartRef__":true,"id":538}},"882":{},"883":{"varMapping":{"__isSmartRef__":true,"id":884},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":885},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"884":{"this":{"__isSmartRef__":true,"id":538}},"885":{"timestamp":{"__isSmartRef__":true,"id":886},"user":"jenslincke","tags":[]},"886":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"887":{"varMapping":{"__isSmartRef__":true,"id":888},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":889},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"888":{"this":{"__isSmartRef__":true,"id":538}},"889":{"timestamp":{"__isSmartRef__":true,"id":890},"user":"jenslincke","tags":[]},"890":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"891":{"varMapping":{"__isSmartRef__":true,"id":892},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"892":{"this":{"__isSmartRef__":true,"id":538}},"893":{"timestamp":{"__isSmartRef__":true,"id":894},"user":"jenslincke","tags":[]},"894":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"895":{"submorphs":[{"__isSmartRef__":true,"id":896},{"__isSmartRef__":true,"id":912},{"__isSmartRef__":true,"id":971},{"__isSmartRef__":true,"id":993}],"scripts":[],"id":"6D6FFFFA-E7C1-4EE8-98BF-58558DD95F5F","shape":{"__isSmartRef__":true,"id":1017},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1018},"eventHandler":{"__isSmartRef__":true,"id":1074},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":1075},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1081},{"__isSmartRef__":true,"id":1082},{"__isSmartRef__":true,"id":1083},{"__isSmartRef__":true,"id":1084},{"__isSmartRef__":true,"id":1085},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1087}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":1088},"$":{"__isSmartRef__":true,"id":1089},"name":"HeatStorage","attributeConnections":[{"__isSmartRef__":true,"id":1090}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1092},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(366.3,-16.1)","_Position":"lively.pt(1041.0,179.9)"},"896":{"submorphs":[],"scripts":[],"id":"87E51B7E-2FCC-4A2E-82B2-D28D2E74EE0C","shape":{"__isSmartRef__":true,"id":897},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":898},"textChunks":[{"__isSmartRef__":true,"id":900}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":902},{"__isSmartRef__":true,"id":903}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":904},"owner":{"__isSmartRef__":true,"id":895},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":895},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":905},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"897":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"898":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":899},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"899":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"900":{"style":{"__isSmartRef__":true,"id":901},"chunkOwner":{"__isSmartRef__":true,"id":896},"_id":"_198517","storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"901":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"902":{"sourceObj":{"__isSmartRef__":true,"id":896},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":896},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"903":{"sourceObj":{"__isSmartRef__":true,"id":896},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":896},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"904":{"morph":{"__isSmartRef__":true,"id":896},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"905":{"updateLabel":{"__isSmartRef__":true,"id":906},"renameOwner":{"__isSmartRef__":true,"id":909}},"906":{"varMapping":{"__isSmartRef__":true,"id":907},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"907":{"this":{"__isSmartRef__":true,"id":896}},"908":{},"909":{"varMapping":{"__isSmartRef__":true,"id":910},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":911},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"910":{"this":{"__isSmartRef__":true,"id":896}},"911":{},"912":{"submorphs":[],"scripts":[],"id":"13F5B386-A8C1-415E-BE0A-D28D7A40BB22","shape":{"__isSmartRef__":true,"id":913},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":914},"textChunks":[{"__isSmartRef__":true,"id":930}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":932},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":933},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":935},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":937},{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":939},{"__isSmartRef__":true,"id":940}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":941},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":895},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":944}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":2,"_Rotation":0,"_Scale":1,"previousSelection":[333,333],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":946},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"913":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(139.3,0.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"914":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":919},{"__isSmartRef__":true,"id":921},{"__isSmartRef__":true,"id":923},{"__isSmartRef__":true,"id":925},{"__isSmartRef__":true,"id":927}],"lastModifiedDate":{"__isSmartRef__":true,"id":929},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"915":{"date":{"__isSmartRef__":true,"id":916},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"916":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"917":{"date":{"__isSmartRef__":true,"id":918},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"918":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"919":{"date":{"__isSmartRef__":true,"id":920},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"920":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"921":{"date":{"__isSmartRef__":true,"id":922},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"922":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"923":{"date":{"__isSmartRef__":true,"id":924},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"924":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"925":{"date":{"__isSmartRef__":true,"id":926},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"926":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"927":{"date":{"__isSmartRef__":true,"id":928},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"928":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"929":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"930":{"style":{"__isSmartRef__":true,"id":931},"chunkOwner":{"__isSmartRef__":true,"id":912},"_id":"_198515","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"931":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"932":{"morph":{"__isSmartRef__":true,"id":912},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"933":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"934":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"935":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"936":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"937":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"938":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"939":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"940":{"morph":{"__isSmartRef__":true,"id":912},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"941":{"resizeWidth":true,"resizeHeight":true},"942":{"sourceObj":{"__isSmartRef__":true,"id":912},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":895},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":943},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"943":{"source":{"__isSmartRef__":true,"id":912},"target":{"__isSmartRef__":true,"id":895}},"944":{"sourceObj":{"__isSmartRef__":true,"id":912},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":912},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":945},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"945":{"source":{"__isSmartRef__":true,"id":912},"target":{"__isSmartRef__":true,"id":912}},"946":{"boundEval":{"__isSmartRef__":true,"id":947},"getDoitContext":{"__isSmartRef__":true,"id":955},"installLayers":{"__isSmartRef__":true,"id":963},"onLoad":{"__isSmartRef__":true,"id":967}},"947":{"varMapping":{"__isSmartRef__":true,"id":948},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":953},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"948":{"this":{"__isSmartRef__":true,"id":912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":949}},"949":{"$super":{"__isSmartRef__":true,"id":950}},"950":{"varMapping":{"__isSmartRef__":true,"id":951},"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":952},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"951":{"obj":{"__isSmartRef__":true,"id":912},"name":"boundEval"},"952":{},"953":{"timestamp":{"__isSmartRef__":true,"id":954},"user":"jenslincke","tags":[]},"954":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"955":{"varMapping":{"__isSmartRef__":true,"id":956},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":961},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"956":{"this":{"__isSmartRef__":true,"id":912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":957}},"957":{"$super":{"__isSmartRef__":true,"id":958}},"958":{"varMapping":{"__isSmartRef__":true,"id":959},"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":960},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"959":{"obj":{"__isSmartRef__":true,"id":912},"name":"getDoitContext"},"960":{},"961":{"timestamp":{"__isSmartRef__":true,"id":962},"user":"jenslincke","tags":[]},"962":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"963":{"varMapping":{"__isSmartRef__":true,"id":964},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"964":{"this":{"__isSmartRef__":true,"id":912}},"965":{"timestamp":{"__isSmartRef__":true,"id":966},"user":"jenslincke","tags":[]},"966":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"967":{"varMapping":{"__isSmartRef__":true,"id":968},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":969},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"968":{"this":{"__isSmartRef__":true,"id":912}},"969":{"timestamp":{"__isSmartRef__":true,"id":970},"user":"jenslincke","tags":[]},"970":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"971":{"submorphs":[],"scripts":[],"id":"5B4DE760-EC7B-46B7-8156-877DB4BC978E","shape":{"__isSmartRef__":true,"id":972},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":973},"textChunks":[{"__isSmartRef__":true,"id":989}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":991},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":895},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":992},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,61.9)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"972":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(144.4,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"973":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":974},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":978},{"__isSmartRef__":true,"id":980},{"__isSmartRef__":true,"id":982},{"__isSmartRef__":true,"id":984},{"__isSmartRef__":true,"id":986}],"lastModifiedDate":{"__isSmartRef__":true,"id":988},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"974":{"date":{"__isSmartRef__":true,"id":975},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"975":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"976":{"date":{"__isSmartRef__":true,"id":977},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"977":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"978":{"date":{"__isSmartRef__":true,"id":979},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"979":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"980":{"date":{"__isSmartRef__":true,"id":981},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"981":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"982":{"date":{"__isSmartRef__":true,"id":983},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"983":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"984":{"date":{"__isSmartRef__":true,"id":985},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"985":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"986":{"date":{"__isSmartRef__":true,"id":987},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"987":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"988":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"989":{"style":{"__isSmartRef__":true,"id":990},"chunkOwner":{"__isSmartRef__":true,"id":971},"_id":"_199887","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"990":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"991":{"morph":{"__isSmartRef__":true,"id":971},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"992":{"moveVertical":true,"resizeWidth":true},"993":{"submorphs":[],"scripts":[],"id":"65E85555-BE16-4B92-8A35-BA85B2AD9C02","shape":{"__isSmartRef__":true,"id":994},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":995},"textChunks":[{"__isSmartRef__":true,"id":1011}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1013},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":895},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":1014}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1016},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"994":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(143.8,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"995":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":996},{"__isSmartRef__":true,"id":998},{"__isSmartRef__":true,"id":1000},{"__isSmartRef__":true,"id":1002},{"__isSmartRef__":true,"id":1004},{"__isSmartRef__":true,"id":1006},{"__isSmartRef__":true,"id":1008}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":1010},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"996":{"date":{"__isSmartRef__":true,"id":997},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"997":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"998":{"date":{"__isSmartRef__":true,"id":999},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"999":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1000":{"date":{"__isSmartRef__":true,"id":1001},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1001":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1002":{"date":{"__isSmartRef__":true,"id":1003},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1003":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1004":{"date":{"__isSmartRef__":true,"id":1005},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1005":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1006":{"date":{"__isSmartRef__":true,"id":1007},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1007":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1008":{"date":{"__isSmartRef__":true,"id":1009},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1009":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1010":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1011":{"style":{"__isSmartRef__":true,"id":1012},"chunkOwner":{"__isSmartRef__":true,"id":993},"_id":"_199878","storedString":"Energy: 0\nMax: 360","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1012":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1013":{"morph":{"__isSmartRef__":true,"id":993},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1014":{"sourceObj":{"__isSmartRef__":true,"id":993},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":895},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":1015},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1015":{"source":{"__isSmartRef__":true,"id":993},"target":{"__isSmartRef__":true,"id":895}},"1016":{"resizeWidth":true},"1017":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(166.2,79.7)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"1018":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":1019},{"__isSmartRef__":true,"id":1021},{"__isSmartRef__":true,"id":1023},{"__isSmartRef__":true,"id":1025},{"__isSmartRef__":true,"id":1027},{"__isSmartRef__":true,"id":1029},{"__isSmartRef__":true,"id":1031},{"__isSmartRef__":true,"id":1033},{"__isSmartRef__":true,"id":1035},{"__isSmartRef__":true,"id":1037},{"__isSmartRef__":true,"id":1039},{"__isSmartRef__":true,"id":1041},{"__isSmartRef__":true,"id":1043},{"__isSmartRef__":true,"id":1045},{"__isSmartRef__":true,"id":1047},{"__isSmartRef__":true,"id":1049},{"__isSmartRef__":true,"id":1051},{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":1055},{"__isSmartRef__":true,"id":1057},{"__isSmartRef__":true,"id":1059},{"__isSmartRef__":true,"id":1061},{"__isSmartRef__":true,"id":1063},{"__isSmartRef__":true,"id":1065},{"__isSmartRef__":true,"id":1067},{"__isSmartRef__":true,"id":1069},{"__isSmartRef__":true,"id":1071}],"lastModifiedDate":{"__isSmartRef__":true,"id":1073},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1019":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":1020}},"1020":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"1021":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":1022}},"1022":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"1023":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":1024}},"1024":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"1025":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":1026}},"1026":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1027":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":1028}},"1028":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1029":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":1030}},"1030":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1031":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":1032}},"1032":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1033":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":1034}},"1034":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1035":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":1036}},"1036":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1037":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":1038}},"1038":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"1039":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":1040}},"1040":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"1041":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":1042}},"1042":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"1043":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":1044}},"1044":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"1045":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":1046}},"1046":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"1047":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":1048}},"1048":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"1049":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":1050}},"1050":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"1051":{"date":{"__isSmartRef__":true,"id":1052},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"1052":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"1053":{"date":{"__isSmartRef__":true,"id":1054},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"1054":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"1055":{"date":{"__isSmartRef__":true,"id":1056},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"1056":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"1057":{"date":{"__isSmartRef__":true,"id":1058},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"1058":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"1059":{"date":{"__isSmartRef__":true,"id":1060},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"1060":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"1061":{"date":{"__isSmartRef__":true,"id":1062},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"1062":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"1063":{"date":{"__isSmartRef__":true,"id":1064},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"1064":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"1065":{"date":{"__isSmartRef__":true,"id":1066},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"1066":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"1067":{"date":{"__isSmartRef__":true,"id":1068},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"1068":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"1069":{"date":{"__isSmartRef__":true,"id":1070},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"1070":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"1071":{"date":{"__isSmartRef__":true,"id":1072},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"1072":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"1073":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"1074":{"morph":{"__isSmartRef__":true,"id":895},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1075":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1076}},"1076":{"test01IsMorph":{"__isSmartRef__":true,"id":1077}},"1077":{"varMapping":{"__isSmartRef__":true,"id":1078},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1078":{"this":{"__isSmartRef__":true,"id":1075}},"1079":{},"1080":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"1081":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"1082":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"1083":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"1084":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"1085":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"1086":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"1087":{"morph":{"__isSmartRef__":true,"id":895},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"1088":{"adjustForNewBounds":true},"1089":{"Energy":0,"Max":360},"1090":{"sourceObj":{"__isSmartRef__":true,"id":895},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":896},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":1091},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1091":{"source":{"__isSmartRef__":true,"id":895},"target":{"__isSmartRef__":true,"id":896}},"1092":{"migrateFrom":{"__isSmartRef__":true,"id":1093},"parsePropeties":{"__isSmartRef__":true,"id":1097},"printProperties":{"__isSmartRef__":true,"id":1101},"parseSimulationSource":{"__isSmartRef__":true,"id":1105},"simulateStep":{"__isSmartRef__":true,"id":1109},"showError":{"__isSmartRef__":true,"id":1112},"throwSimulationProblem":{"__isSmartRef__":true,"id":1116},"updateUI":{"__isSmartRef__":true,"id":1120}},"1093":{"varMapping":{"__isSmartRef__":true,"id":1094},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":1095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1094":{"this":{"__isSmartRef__":true,"id":895}},"1095":{"timestamp":{"__isSmartRef__":true,"id":1096},"user":"jenslincke","tags":[]},"1096":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"1097":{"varMapping":{"__isSmartRef__":true,"id":1098},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":1099},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1098":{"this":{"__isSmartRef__":true,"id":895}},"1099":{"timestamp":{"__isSmartRef__":true,"id":1100},"user":"jenslincke","tags":[]},"1100":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"1101":{"varMapping":{"__isSmartRef__":true,"id":1102},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":1103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1102":{"this":{"__isSmartRef__":true,"id":895}},"1103":{"timestamp":{"__isSmartRef__":true,"id":1104},"user":"jenslincke","tags":[]},"1104":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"1105":{"varMapping":{"__isSmartRef__":true,"id":1106},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":1107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1106":{"this":{"__isSmartRef__":true,"id":895}},"1107":{"timestamp":{"__isSmartRef__":true,"id":1108},"user":"jenslincke","tags":[]},"1108":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"1109":{"varMapping":{"__isSmartRef__":true,"id":1110},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\n\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":1111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1110":{"this":{"__isSmartRef__":true,"id":895}},"1111":{},"1112":{"varMapping":{"__isSmartRef__":true,"id":1113},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1113":{"this":{"__isSmartRef__":true,"id":895}},"1114":{"timestamp":{"__isSmartRef__":true,"id":1115},"user":"jenslincke","tags":[]},"1115":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"1116":{"varMapping":{"__isSmartRef__":true,"id":1117},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":1118},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1117":{"this":{"__isSmartRef__":true,"id":895}},"1118":{"timestamp":{"__isSmartRef__":true,"id":1119},"user":"jenslincke","tags":[]},"1119":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"1120":{"varMapping":{"__isSmartRef__":true,"id":1121},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":1122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1121":{"this":{"__isSmartRef__":true,"id":895}},"1122":{"timestamp":{"__isSmartRef__":true,"id":1123},"user":"jenslincke","tags":[]},"1123":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"1124":{"submorphs":[{"__isSmartRef__":true,"id":1125},{"__isSmartRef__":true,"id":1141},{"__isSmartRef__":true,"id":1200},{"__isSmartRef__":true,"id":1222}],"scripts":[],"id":"FFFC98F5-360E-4701-A6D0-8EBE3DF68786","shape":{"__isSmartRef__":true,"id":1246},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1247},"eventHandler":{"__isSmartRef__":true,"id":1303},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":1304},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":1309},{"__isSmartRef__":true,"id":1310},{"__isSmartRef__":true,"id":1311},{"__isSmartRef__":true,"id":1312},{"__isSmartRef__":true,"id":1313},{"__isSmartRef__":true,"id":1314},{"__isSmartRef__":true,"id":1315},{"__isSmartRef__":true,"id":1316}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":1317},"$":{"__isSmartRef__":true,"id":1318},"name":"Battery","attributeConnections":[{"__isSmartRef__":true,"id":1319}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1321},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(366.3,-16.1)","_Position":"lively.pt(1043.8,329.2)"},"1125":{"submorphs":[],"scripts":[],"id":"09CBF3FA-BF21-41BB-8CE3-4F40F9D405D1","shape":{"__isSmartRef__":true,"id":1126},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":1127},"textChunks":[{"__isSmartRef__":true,"id":1129}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1131},{"__isSmartRef__":true,"id":1132}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":1133},"owner":{"__isSmartRef__":true,"id":1124},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":1124},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1134},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"1126":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1127":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":1128},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1128":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"1129":{"style":{"__isSmartRef__":true,"id":1130},"chunkOwner":{"__isSmartRef__":true,"id":1125},"_id":"_198526","storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1130":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1131":{"sourceObj":{"__isSmartRef__":true,"id":1125},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1125},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1132":{"sourceObj":{"__isSmartRef__":true,"id":1125},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1125},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1133":{"morph":{"__isSmartRef__":true,"id":1125},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1134":{"updateLabel":{"__isSmartRef__":true,"id":1135},"renameOwner":{"__isSmartRef__":true,"id":1138}},"1135":{"varMapping":{"__isSmartRef__":true,"id":1136},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":1137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1136":{"this":{"__isSmartRef__":true,"id":1125}},"1137":{},"1138":{"varMapping":{"__isSmartRef__":true,"id":1139},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1139":{"this":{"__isSmartRef__":true,"id":1125}},"1140":{},"1141":{"submorphs":[],"scripts":[],"id":"9EE16007-1872-451D-BDB8-52CE46D122BB","shape":{"__isSmartRef__":true,"id":1142},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1143},"textChunks":[{"__isSmartRef__":true,"id":1159}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1161},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":1162},{"__isSmartRef__":true,"id":1163},{"__isSmartRef__":true,"id":1164},{"__isSmartRef__":true,"id":1165},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1169}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1170},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":1124},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1173}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":1,"_Rotation":0,"_Scale":1,"previousSelection":[333,333],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1175},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"1142":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(133.2,0.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1143":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1144},{"__isSmartRef__":true,"id":1146},{"__isSmartRef__":true,"id":1148},{"__isSmartRef__":true,"id":1150},{"__isSmartRef__":true,"id":1152},{"__isSmartRef__":true,"id":1154},{"__isSmartRef__":true,"id":1156}],"lastModifiedDate":{"__isSmartRef__":true,"id":1158},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1144":{"date":{"__isSmartRef__":true,"id":1145},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1145":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1146":{"date":{"__isSmartRef__":true,"id":1147},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1147":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1148":{"date":{"__isSmartRef__":true,"id":1149},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1149":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1150":{"date":{"__isSmartRef__":true,"id":1151},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1151":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1152":{"date":{"__isSmartRef__":true,"id":1153},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1153":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1154":{"date":{"__isSmartRef__":true,"id":1155},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1155":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1156":{"date":{"__isSmartRef__":true,"id":1157},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1157":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1158":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1159":{"style":{"__isSmartRef__":true,"id":1160},"chunkOwner":{"__isSmartRef__":true,"id":1141},"_id":"_198524","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1160":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1161":{"morph":{"__isSmartRef__":true,"id":1141},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1162":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"1163":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"1164":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"1165":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"1166":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"1167":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"1168":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"1169":{"morph":{"__isSmartRef__":true,"id":1141},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"1170":{"resizeWidth":true,"resizeHeight":true},"1171":{"sourceObj":{"__isSmartRef__":true,"id":1141},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1124},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":1172},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1172":{"source":{"__isSmartRef__":true,"id":1141},"target":{"__isSmartRef__":true,"id":1124}},"1173":{"sourceObj":{"__isSmartRef__":true,"id":1141},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1141},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1174},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1174":{"source":{"__isSmartRef__":true,"id":1141},"target":{"__isSmartRef__":true,"id":1141}},"1175":{"boundEval":{"__isSmartRef__":true,"id":1176},"getDoitContext":{"__isSmartRef__":true,"id":1184},"installLayers":{"__isSmartRef__":true,"id":1192},"onLoad":{"__isSmartRef__":true,"id":1196}},"1176":{"varMapping":{"__isSmartRef__":true,"id":1177},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1177":{"this":{"__isSmartRef__":true,"id":1141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1178}},"1178":{"$super":{"__isSmartRef__":true,"id":1179}},"1179":{"varMapping":{"__isSmartRef__":true,"id":1180},"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":1181},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1180":{"obj":{"__isSmartRef__":true,"id":1141},"name":"boundEval"},"1181":{},"1182":{"timestamp":{"__isSmartRef__":true,"id":1183},"user":"jenslincke","tags":[]},"1183":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"1184":{"varMapping":{"__isSmartRef__":true,"id":1185},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1185":{"this":{"__isSmartRef__":true,"id":1141},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1186}},"1186":{"$super":{"__isSmartRef__":true,"id":1187}},"1187":{"varMapping":{"__isSmartRef__":true,"id":1188},"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":1189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1188":{"obj":{"__isSmartRef__":true,"id":1141},"name":"getDoitContext"},"1189":{},"1190":{"timestamp":{"__isSmartRef__":true,"id":1191},"user":"jenslincke","tags":[]},"1191":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"1192":{"varMapping":{"__isSmartRef__":true,"id":1193},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":1194},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1193":{"this":{"__isSmartRef__":true,"id":1141}},"1194":{"timestamp":{"__isSmartRef__":true,"id":1195},"user":"jenslincke","tags":[]},"1195":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"1196":{"varMapping":{"__isSmartRef__":true,"id":1197},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":1198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1197":{"this":{"__isSmartRef__":true,"id":1141}},"1198":{"timestamp":{"__isSmartRef__":true,"id":1199},"user":"jenslincke","tags":[]},"1199":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"1200":{"submorphs":[],"scripts":[],"id":"59CE222A-D04A-4C85-B68F-209AFD1FCFE7","shape":{"__isSmartRef__":true,"id":1201},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":1202},"textChunks":[{"__isSmartRef__":true,"id":1218}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1220},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1124},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1221},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,66.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"1201":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(138.3,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1202":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1203},{"__isSmartRef__":true,"id":1205},{"__isSmartRef__":true,"id":1207},{"__isSmartRef__":true,"id":1209},{"__isSmartRef__":true,"id":1211},{"__isSmartRef__":true,"id":1213},{"__isSmartRef__":true,"id":1215}],"lastModifiedDate":{"__isSmartRef__":true,"id":1217},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1203":{"date":{"__isSmartRef__":true,"id":1204},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1204":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1205":{"date":{"__isSmartRef__":true,"id":1206},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1206":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1207":{"date":{"__isSmartRef__":true,"id":1208},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1208":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1209":{"date":{"__isSmartRef__":true,"id":1210},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1210":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1211":{"date":{"__isSmartRef__":true,"id":1212},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1212":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1213":{"date":{"__isSmartRef__":true,"id":1214},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1214":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1215":{"date":{"__isSmartRef__":true,"id":1216},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1216":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1217":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1218":{"style":{"__isSmartRef__":true,"id":1219},"chunkOwner":{"__isSmartRef__":true,"id":1200},"_id":"_199888","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1219":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1220":{"morph":{"__isSmartRef__":true,"id":1200},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1221":{"moveVertical":true,"resizeWidth":true},"1222":{"submorphs":[],"scripts":[],"id":"DFD9EFEB-F5B0-4392-86D0-618F45B726D3","shape":{"__isSmartRef__":true,"id":1223},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1224},"textChunks":[{"__isSmartRef__":true,"id":1240}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1242},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1124},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":1243}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1245},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"1223":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(137.7,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1224":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1225},{"__isSmartRef__":true,"id":1227},{"__isSmartRef__":true,"id":1229},{"__isSmartRef__":true,"id":1231},{"__isSmartRef__":true,"id":1233},{"__isSmartRef__":true,"id":1235},{"__isSmartRef__":true,"id":1237}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":1239},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1225":{"date":{"__isSmartRef__":true,"id":1226},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1226":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1227":{"date":{"__isSmartRef__":true,"id":1228},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1228":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1229":{"date":{"__isSmartRef__":true,"id":1230},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1230":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1231":{"date":{"__isSmartRef__":true,"id":1232},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1232":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1233":{"date":{"__isSmartRef__":true,"id":1234},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1234":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1235":{"date":{"__isSmartRef__":true,"id":1236},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1236":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1237":{"date":{"__isSmartRef__":true,"id":1238},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1238":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1239":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1240":{"style":{"__isSmartRef__":true,"id":1241},"chunkOwner":{"__isSmartRef__":true,"id":1222},"_id":"_199879","storedString":"Energy: 0\nMax: 360","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1241":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1242":{"morph":{"__isSmartRef__":true,"id":1222},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1243":{"sourceObj":{"__isSmartRef__":true,"id":1222},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1124},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":1244},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1244":{"source":{"__isSmartRef__":true,"id":1222},"target":{"__isSmartRef__":true,"id":1124}},"1245":{"resizeWidth":true},"1246":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(160.1,84.6)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"1247":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":1248},{"__isSmartRef__":true,"id":1250},{"__isSmartRef__":true,"id":1252},{"__isSmartRef__":true,"id":1254},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1266},{"__isSmartRef__":true,"id":1268},{"__isSmartRef__":true,"id":1270},{"__isSmartRef__":true,"id":1272},{"__isSmartRef__":true,"id":1274},{"__isSmartRef__":true,"id":1276},{"__isSmartRef__":true,"id":1278},{"__isSmartRef__":true,"id":1280},{"__isSmartRef__":true,"id":1282},{"__isSmartRef__":true,"id":1284},{"__isSmartRef__":true,"id":1286},{"__isSmartRef__":true,"id":1288},{"__isSmartRef__":true,"id":1290},{"__isSmartRef__":true,"id":1292},{"__isSmartRef__":true,"id":1294},{"__isSmartRef__":true,"id":1296},{"__isSmartRef__":true,"id":1298},{"__isSmartRef__":true,"id":1300}],"lastModifiedDate":{"__isSmartRef__":true,"id":1302},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1248":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":1249}},"1249":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"1250":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":1251}},"1251":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"1252":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":1253}},"1253":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"1254":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":1255}},"1255":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1256":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":1257}},"1257":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1258":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":1259}},"1259":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1260":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":1261}},"1261":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1262":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":1263}},"1263":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1264":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":1265}},"1265":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1266":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":1267}},"1267":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"1268":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":1269}},"1269":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"1270":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":1271}},"1271":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"1272":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":1273}},"1273":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"1274":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":1275}},"1275":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"1276":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":1277}},"1277":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"1278":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":1279}},"1279":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"1280":{"date":{"__isSmartRef__":true,"id":1281},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"1281":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"1282":{"date":{"__isSmartRef__":true,"id":1283},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"1283":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"1284":{"date":{"__isSmartRef__":true,"id":1285},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"1285":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"1286":{"date":{"__isSmartRef__":true,"id":1287},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"1287":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"1288":{"date":{"__isSmartRef__":true,"id":1289},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"1289":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"1290":{"date":{"__isSmartRef__":true,"id":1291},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"1291":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"1292":{"date":{"__isSmartRef__":true,"id":1293},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"1293":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"1294":{"date":{"__isSmartRef__":true,"id":1295},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"1295":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"1296":{"date":{"__isSmartRef__":true,"id":1297},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"1297":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"1298":{"date":{"__isSmartRef__":true,"id":1299},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"1299":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"1300":{"date":{"__isSmartRef__":true,"id":1301},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"1301":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"1302":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"1303":{"morph":{"__isSmartRef__":true,"id":1124},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1304":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1305}},"1305":{"test01IsMorph":{"__isSmartRef__":true,"id":1306}},"1306":{"varMapping":{"__isSmartRef__":true,"id":1307},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1308},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1307":{"this":{"__isSmartRef__":true,"id":1304}},"1308":{},"1309":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"1310":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"1311":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"1312":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"1313":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"1314":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"1315":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"1316":{"morph":{"__isSmartRef__":true,"id":1124},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"1317":{"adjustForNewBounds":true},"1318":{"Energy":0,"Max":360},"1319":{"sourceObj":{"__isSmartRef__":true,"id":1124},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1125},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":1320},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1320":{"source":{"__isSmartRef__":true,"id":1124},"target":{"__isSmartRef__":true,"id":1125}},"1321":{"migrateFrom":{"__isSmartRef__":true,"id":1322},"parsePropeties":{"__isSmartRef__":true,"id":1326},"printProperties":{"__isSmartRef__":true,"id":1330},"parseSimulationSource":{"__isSmartRef__":true,"id":1334},"simulateStep":{"__isSmartRef__":true,"id":1338},"showError":{"__isSmartRef__":true,"id":1341},"throwSimulationProblem":{"__isSmartRef__":true,"id":1345},"updateUI":{"__isSmartRef__":true,"id":1349}},"1322":{"varMapping":{"__isSmartRef__":true,"id":1323},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":1324},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1323":{"this":{"__isSmartRef__":true,"id":1124}},"1324":{"timestamp":{"__isSmartRef__":true,"id":1325},"user":"jenslincke","tags":[]},"1325":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"1326":{"varMapping":{"__isSmartRef__":true,"id":1327},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":1328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1327":{"this":{"__isSmartRef__":true,"id":1124}},"1328":{"timestamp":{"__isSmartRef__":true,"id":1329},"user":"jenslincke","tags":[]},"1329":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"1330":{"varMapping":{"__isSmartRef__":true,"id":1331},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":1332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1331":{"this":{"__isSmartRef__":true,"id":1124}},"1332":{"timestamp":{"__isSmartRef__":true,"id":1333},"user":"jenslincke","tags":[]},"1333":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"1334":{"varMapping":{"__isSmartRef__":true,"id":1335},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":1336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1335":{"this":{"__isSmartRef__":true,"id":1124}},"1336":{"timestamp":{"__isSmartRef__":true,"id":1337},"user":"jenslincke","tags":[]},"1337":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"1338":{"varMapping":{"__isSmartRef__":true,"id":1339},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\n\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":1340},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1339":{"this":{"__isSmartRef__":true,"id":1124}},"1340":{},"1341":{"varMapping":{"__isSmartRef__":true,"id":1342},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1343},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1342":{"this":{"__isSmartRef__":true,"id":1124}},"1343":{"timestamp":{"__isSmartRef__":true,"id":1344},"user":"jenslincke","tags":[]},"1344":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"1345":{"varMapping":{"__isSmartRef__":true,"id":1346},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":1347},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1346":{"this":{"__isSmartRef__":true,"id":1124}},"1347":{"timestamp":{"__isSmartRef__":true,"id":1348},"user":"jenslincke","tags":[]},"1348":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"1349":{"varMapping":{"__isSmartRef__":true,"id":1350},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":1351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1350":{"this":{"__isSmartRef__":true,"id":1124}},"1351":{"timestamp":{"__isSmartRef__":true,"id":1352},"user":"jenslincke","tags":[]},"1352":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"1353":{"submorphs":[{"__isSmartRef__":true,"id":1354},{"__isSmartRef__":true,"id":1370},{"__isSmartRef__":true,"id":1525},{"__isSmartRef__":true,"id":1547}],"scripts":[],"id":"08682DEB-2E21-43A8-B564-DFB3423EE609","shape":{"__isSmartRef__":true,"id":1571},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1572},"eventHandler":{"__isSmartRef__":true,"id":1628},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":1629},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":1634},{"__isSmartRef__":true,"id":1635},{"__isSmartRef__":true,"id":1636},{"__isSmartRef__":true,"id":1637},{"__isSmartRef__":true,"id":1638},{"__isSmartRef__":true,"id":1639},{"__isSmartRef__":true,"id":1640},{"__isSmartRef__":true,"id":1641}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":1642},"$":{"__isSmartRef__":true,"id":1643},"name":"ResetSimulation","attributeConnections":[{"__isSmartRef__":true,"id":1644}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1646},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(202.1,-11.0)","_Position":"lively.pt(1424.6,645.1)"},"1354":{"submorphs":[],"scripts":[],"id":"697177AE-4EE1-49F3-AD76-D856C55F05FB","shape":{"__isSmartRef__":true,"id":1355},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":1356},"textChunks":[{"__isSmartRef__":true,"id":1358}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1360},{"__isSmartRef__":true,"id":1361}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":1362},"owner":{"__isSmartRef__":true,"id":1353},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":1353},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1363},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"1355":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1356":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":1357},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1357":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"1358":{"style":{"__isSmartRef__":true,"id":1359},"chunkOwner":{"__isSmartRef__":true,"id":1354},"_id":"_198535","storedString":"ResetSimulation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1359":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1360":{"sourceObj":{"__isSmartRef__":true,"id":1354},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1354},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1361":{"sourceObj":{"__isSmartRef__":true,"id":1354},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1354},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1362":{"morph":{"__isSmartRef__":true,"id":1354},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1363":{"updateLabel":{"__isSmartRef__":true,"id":1364},"renameOwner":{"__isSmartRef__":true,"id":1367}},"1364":{"varMapping":{"__isSmartRef__":true,"id":1365},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":1366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1365":{"this":{"__isSmartRef__":true,"id":1354}},"1366":{},"1367":{"varMapping":{"__isSmartRef__":true,"id":1368},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1368":{"this":{"__isSmartRef__":true,"id":1354}},"1369":{},"1370":{"submorphs":[],"scripts":[],"id":"19ACF614-62DF-4399-A47E-D055B600BAEC","shape":{"__isSmartRef__":true,"id":1371},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1372},"textChunks":[{"__isSmartRef__":true,"id":1388},{"__isSmartRef__":true,"id":1390},{"__isSmartRef__":true,"id":1392},{"__isSmartRef__":true,"id":1394},{"__isSmartRef__":true,"id":1396},{"__isSmartRef__":true,"id":1398},{"__isSmartRef__":true,"id":1400},{"__isSmartRef__":true,"id":1402},{"__isSmartRef__":true,"id":1404},{"__isSmartRef__":true,"id":1406},{"__isSmartRef__":true,"id":1408},{"__isSmartRef__":true,"id":1410},{"__isSmartRef__":true,"id":1412},{"__isSmartRef__":true,"id":1414},{"__isSmartRef__":true,"id":1416},{"__isSmartRef__":true,"id":1418},{"__isSmartRef__":true,"id":1420},{"__isSmartRef__":true,"id":1422},{"__isSmartRef__":true,"id":1424},{"__isSmartRef__":true,"id":1426},{"__isSmartRef__":true,"id":1428},{"__isSmartRef__":true,"id":1430},{"__isSmartRef__":true,"id":1432},{"__isSmartRef__":true,"id":1434},{"__isSmartRef__":true,"id":1436},{"__isSmartRef__":true,"id":1438},{"__isSmartRef__":true,"id":1440},{"__isSmartRef__":true,"id":1442},{"__isSmartRef__":true,"id":1444},{"__isSmartRef__":true,"id":1446},{"__isSmartRef__":true,"id":1448},{"__isSmartRef__":true,"id":1450},{"__isSmartRef__":true,"id":1452},{"__isSmartRef__":true,"id":1454},{"__isSmartRef__":true,"id":1456},{"__isSmartRef__":true,"id":1458},{"__isSmartRef__":true,"id":1460},{"__isSmartRef__":true,"id":1462},{"__isSmartRef__":true,"id":1464},{"__isSmartRef__":true,"id":1466},{"__isSmartRef__":true,"id":1468},{"__isSmartRef__":true,"id":1470},{"__isSmartRef__":true,"id":1472},{"__isSmartRef__":true,"id":1474},{"__isSmartRef__":true,"id":1476},{"__isSmartRef__":true,"id":1478},{"__isSmartRef__":true,"id":1480},{"__isSmartRef__":true,"id":1482},{"__isSmartRef__":true,"id":1484}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":1486},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":1487},{"__isSmartRef__":true,"id":1488},{"__isSmartRef__":true,"id":1489},{"__isSmartRef__":true,"id":1490},{"__isSmartRef__":true,"id":1491},{"__isSmartRef__":true,"id":1492},{"__isSmartRef__":true,"id":1493},{"__isSmartRef__":true,"id":1494}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1495},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":1353},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":1496},{"__isSmartRef__":true,"id":1498}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":44,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"#MeasureData.$.Time = Date.now() / 1000\n#MeasureData.$.Start = #MeasureData.$.Time\n#Fuel.$.Gas = 5 * 0.5 * 3600 // one day\n#HeatStorage.$.Energy = 0\n#Battery.$.Energy = 0\n#ElectricConsumer.$.Consumed = 0\n#ElectricConsumer.$.Demand = 1.5\n#ElectricConsumer.$.Extra = 0\n#HeatConsumer.$.Consumed = 0\n#HeatConsumer.$.Demand = 3\n#HeatConsumer.$.Extra = 0\n#ThermalPowerStation.$.Heat = 0\n#HeatingSystem.$.Heat = 0\n#MeasureData.$.Counter = 10000\n#SimulationResults.resetData()\n#SimulationResults.showData()\n#Battery.$.Max = 0.1 * 3600 // 1h 2kw\n#HeatStorage.$.Max = 0.1 * 3600 // 1h 3kw","priorSelectionRange":[24,24],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1500},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"1371":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(282.9,255.4)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1372":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1373},{"__isSmartRef__":true,"id":1375},{"__isSmartRef__":true,"id":1377},{"__isSmartRef__":true,"id":1379},{"__isSmartRef__":true,"id":1381},{"__isSmartRef__":true,"id":1383},{"__isSmartRef__":true,"id":1385}],"lastModifiedDate":{"__isSmartRef__":true,"id":1387},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1373":{"date":{"__isSmartRef__":true,"id":1374},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1374":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1375":{"date":{"__isSmartRef__":true,"id":1376},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1376":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1377":{"date":{"__isSmartRef__":true,"id":1378},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1378":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1379":{"date":{"__isSmartRef__":true,"id":1380},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1380":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1381":{"date":{"__isSmartRef__":true,"id":1382},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1382":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1383":{"date":{"__isSmartRef__":true,"id":1384},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1384":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1385":{"date":{"__isSmartRef__":true,"id":1386},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1386":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1387":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1388":{"style":{"__isSmartRef__":true,"id":1389},"chunkOwner":{"__isSmartRef__":true,"id":1370},"_id":"_198533","storedString":"#MeasureData.$.Time = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1389":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1390":{"_id":"_198658","style":{"__isSmartRef__":true,"id":1391},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"Date","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1391":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(255,20,147)"},"1392":{"_id":"_198659","style":{"__isSmartRef__":true,"id":1393},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":".now() / ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1393":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1394":{"_id":"_198660","style":{"__isSmartRef__":true,"id":1395},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"1000","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1395":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1396":{"_id":"_198661","style":{"__isSmartRef__":true,"id":1397},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#MeasureData.$.Start = #MeasureData.$.Time\n#Fuel.$.Gas = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1397":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1398":{"_id":"_198662","style":{"__isSmartRef__":true,"id":1399},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1399":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1400":{"_id":"_198663","style":{"__isSmartRef__":true,"id":1401},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1401":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1402":{"_id":"_198664","style":{"__isSmartRef__":true,"id":1403},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1403":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1404":{"_id":"_198665","style":{"__isSmartRef__":true,"id":1405},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1405":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1406":{"_id":"_198666","style":{"__isSmartRef__":true,"id":1407},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"3600","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1407":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1408":{"_id":"_198667","style":{"__isSmartRef__":true,"id":1409},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1409":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1410":{"_id":"_198668","style":{"__isSmartRef__":true,"id":1411},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1411":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"1412":{"_id":"_198669","style":{"__isSmartRef__":true,"id":1413},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" one day","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1413":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1414":{"_id":"_198670","style":{"__isSmartRef__":true,"id":1415},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#HeatStorage.$.Energy = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1415":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1416":{"_id":"_198671","style":{"__isSmartRef__":true,"id":1417},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1417":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1418":{"_id":"_198672","style":{"__isSmartRef__":true,"id":1419},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#Battery.$.Energy = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1419":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1420":{"_id":"_198673","style":{"__isSmartRef__":true,"id":1421},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1421":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1422":{"_id":"_198674","style":{"__isSmartRef__":true,"id":1423},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#ElectricConsumer.$.Consumed = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1423":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1424":{"_id":"_198675","style":{"__isSmartRef__":true,"id":1425},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1425":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1426":{"_id":"_198676","style":{"__isSmartRef__":true,"id":1427},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#ElectricConsumer.$.Demand = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1427":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1428":{"_id":"_198677","style":{"__isSmartRef__":true,"id":1429},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"1.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1429":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1430":{"_id":"_198678","style":{"__isSmartRef__":true,"id":1431},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#ElectricConsumer.$.Extra = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1431":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1432":{"_id":"_198679","style":{"__isSmartRef__":true,"id":1433},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1433":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1434":{"_id":"_198680","style":{"__isSmartRef__":true,"id":1435},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#HeatConsumer.$.Consumed = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1435":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1436":{"_id":"_198681","style":{"__isSmartRef__":true,"id":1437},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1437":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1438":{"_id":"_198682","style":{"__isSmartRef__":true,"id":1439},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#HeatConsumer.$.Demand = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1439":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1440":{"_id":"_198683","style":{"__isSmartRef__":true,"id":1441},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"3","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1441":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1442":{"_id":"_198684","style":{"__isSmartRef__":true,"id":1443},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#HeatConsumer.$.Extra = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1443":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1444":{"_id":"_198685","style":{"__isSmartRef__":true,"id":1445},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1445":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1446":{"_id":"_198686","style":{"__isSmartRef__":true,"id":1447},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#ThermalPowerStation.$.Heat = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1447":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1448":{"_id":"_198687","style":{"__isSmartRef__":true,"id":1449},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1449":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1450":{"_id":"_198688","style":{"__isSmartRef__":true,"id":1451},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#HeatingSystem.$.Heat = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1451":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1452":{"_id":"_198689","style":{"__isSmartRef__":true,"id":1453},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1453":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1454":{"_id":"_198690","style":{"__isSmartRef__":true,"id":1455},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#MeasureData.$.Counter = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1455":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1456":{"_id":"_198691","style":{"__isSmartRef__":true,"id":1457},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"10000","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1457":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1458":{"_id":"_198692","style":{"__isSmartRef__":true,"id":1459},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#SimulationResults.resetData()\n#SimulationResults.showData()\n#Battery.$.Max = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1459":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1460":{"_id":"_198693","style":{"__isSmartRef__":true,"id":1461},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0.1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1461":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1462":{"_id":"_198694","style":{"__isSmartRef__":true,"id":1463},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1463":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1464":{"_id":"_198695","style":{"__isSmartRef__":true,"id":1465},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"3600","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1465":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1466":{"_id":"_198696","style":{"__isSmartRef__":true,"id":1467},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1467":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1468":{"_id":"_198697","style":{"__isSmartRef__":true,"id":1469},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1469":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"1470":{"_id":"_198698","style":{"__isSmartRef__":true,"id":1471},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" 1h 2kw","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1471":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1472":{"_id":"_198699","style":{"__isSmartRef__":true,"id":1473},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"\n#HeatStorage.$.Max = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1473":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1474":{"_id":"_198700","style":{"__isSmartRef__":true,"id":1475},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"0.1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1475":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1476":{"_id":"_198701","style":{"__isSmartRef__":true,"id":1477},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1477":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1478":{"_id":"_198702","style":{"__isSmartRef__":true,"id":1479},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"3600","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1479":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1480":{"_id":"_198703","style":{"__isSmartRef__":true,"id":1481},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1481":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1482":{"_id":"_198704","style":{"__isSmartRef__":true,"id":1483},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1483":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"1484":{"_id":"_198705","style":{"__isSmartRef__":true,"id":1485},"chunkOwner":{"__isSmartRef__":true,"id":1370},"storedString":" 1h 3kw","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1485":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1486":{"morph":{"__isSmartRef__":true,"id":1370},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1487":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"1488":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"1489":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"1490":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"1491":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"1492":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"1493":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"1494":{"morph":{"__isSmartRef__":true,"id":1370},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"1495":{"resizeWidth":true,"resizeHeight":true},"1496":{"sourceObj":{"__isSmartRef__":true,"id":1370},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1353},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":1497},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1497":{"source":{"__isSmartRef__":true,"id":1370},"target":{"__isSmartRef__":true,"id":1353}},"1498":{"sourceObj":{"__isSmartRef__":true,"id":1370},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1370},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1499},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1499":{"source":{"__isSmartRef__":true,"id":1370},"target":{"__isSmartRef__":true,"id":1370}},"1500":{"boundEval":{"__isSmartRef__":true,"id":1501},"getDoitContext":{"__isSmartRef__":true,"id":1509},"installLayers":{"__isSmartRef__":true,"id":1517},"onLoad":{"__isSmartRef__":true,"id":1521}},"1501":{"varMapping":{"__isSmartRef__":true,"id":1502},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1507},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1502":{"this":{"__isSmartRef__":true,"id":1370},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1503}},"1503":{"$super":{"__isSmartRef__":true,"id":1504}},"1504":{"varMapping":{"__isSmartRef__":true,"id":1505},"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":1506},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1505":{"obj":{"__isSmartRef__":true,"id":1370},"name":"boundEval"},"1506":{},"1507":{"timestamp":{"__isSmartRef__":true,"id":1508},"user":"jenslincke","tags":[]},"1508":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"1509":{"varMapping":{"__isSmartRef__":true,"id":1510},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1510":{"this":{"__isSmartRef__":true,"id":1370},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1511}},"1511":{"$super":{"__isSmartRef__":true,"id":1512}},"1512":{"varMapping":{"__isSmartRef__":true,"id":1513},"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":1514},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1513":{"obj":{"__isSmartRef__":true,"id":1370},"name":"getDoitContext"},"1514":{},"1515":{"timestamp":{"__isSmartRef__":true,"id":1516},"user":"jenslincke","tags":[]},"1516":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"1517":{"varMapping":{"__isSmartRef__":true,"id":1518},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":1519},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1518":{"this":{"__isSmartRef__":true,"id":1370}},"1519":{"timestamp":{"__isSmartRef__":true,"id":1520},"user":"jenslincke","tags":[]},"1520":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"1521":{"varMapping":{"__isSmartRef__":true,"id":1522},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":1523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1522":{"this":{"__isSmartRef__":true,"id":1370}},"1523":{"timestamp":{"__isSmartRef__":true,"id":1524},"user":"jenslincke","tags":[]},"1524":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"1525":{"submorphs":[],"scripts":[],"id":"D2CF4B2A-0010-4D3C-B82F-28E0DC7F3B91","shape":{"__isSmartRef__":true,"id":1526},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":1527},"textChunks":[{"__isSmartRef__":true,"id":1543}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1545},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1353},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1546},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,340.4)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"1526":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(288.0,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1527":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1528},{"__isSmartRef__":true,"id":1530},{"__isSmartRef__":true,"id":1532},{"__isSmartRef__":true,"id":1534},{"__isSmartRef__":true,"id":1536},{"__isSmartRef__":true,"id":1538},{"__isSmartRef__":true,"id":1540}],"lastModifiedDate":{"__isSmartRef__":true,"id":1542},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1528":{"date":{"__isSmartRef__":true,"id":1529},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1529":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1530":{"date":{"__isSmartRef__":true,"id":1531},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1531":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1532":{"date":{"__isSmartRef__":true,"id":1533},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1533":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1534":{"date":{"__isSmartRef__":true,"id":1535},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1535":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1536":{"date":{"__isSmartRef__":true,"id":1537},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1537":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1538":{"date":{"__isSmartRef__":true,"id":1539},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1539":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1540":{"date":{"__isSmartRef__":true,"id":1541},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1541":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1542":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1543":{"style":{"__isSmartRef__":true,"id":1544},"chunkOwner":{"__isSmartRef__":true,"id":1525},"_id":"_199889","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1544":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1545":{"morph":{"__isSmartRef__":true,"id":1525},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1546":{"moveVertical":true,"resizeWidth":true},"1547":{"submorphs":[],"scripts":[],"id":"EF90F3F4-F16B-41B1-98B4-7571EFF21EBD","shape":{"__isSmartRef__":true,"id":1548},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1549},"textChunks":[{"__isSmartRef__":true,"id":1565}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1567},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1353},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":1568}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1570},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"1548":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(287.4,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1549":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1550},{"__isSmartRef__":true,"id":1552},{"__isSmartRef__":true,"id":1554},{"__isSmartRef__":true,"id":1556},{"__isSmartRef__":true,"id":1558},{"__isSmartRef__":true,"id":1560},{"__isSmartRef__":true,"id":1562}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":1564},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1550":{"date":{"__isSmartRef__":true,"id":1551},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1551":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1552":{"date":{"__isSmartRef__":true,"id":1553},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1553":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1554":{"date":{"__isSmartRef__":true,"id":1555},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1555":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1556":{"date":{"__isSmartRef__":true,"id":1557},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1557":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1558":{"date":{"__isSmartRef__":true,"id":1559},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1559":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1560":{"date":{"__isSmartRef__":true,"id":1561},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1561":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1562":{"date":{"__isSmartRef__":true,"id":1563},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1563":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1564":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1565":{"style":{"__isSmartRef__":true,"id":1566},"chunkOwner":{"__isSmartRef__":true,"id":1547},"_id":"_199880","storedString":"Stopped: true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1566":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1567":{"morph":{"__isSmartRef__":true,"id":1547},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1568":{"sourceObj":{"__isSmartRef__":true,"id":1547},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1353},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":1569},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1569":{"source":{"__isSmartRef__":true,"id":1547},"target":{"__isSmartRef__":true,"id":1353}},"1570":{"resizeWidth":true},"1571":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(309.8,358.2)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"1572":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":1573},{"__isSmartRef__":true,"id":1575},{"__isSmartRef__":true,"id":1577},{"__isSmartRef__":true,"id":1579},{"__isSmartRef__":true,"id":1581},{"__isSmartRef__":true,"id":1583},{"__isSmartRef__":true,"id":1585},{"__isSmartRef__":true,"id":1587},{"__isSmartRef__":true,"id":1589},{"__isSmartRef__":true,"id":1591},{"__isSmartRef__":true,"id":1593},{"__isSmartRef__":true,"id":1595},{"__isSmartRef__":true,"id":1597},{"__isSmartRef__":true,"id":1599},{"__isSmartRef__":true,"id":1601},{"__isSmartRef__":true,"id":1603},{"__isSmartRef__":true,"id":1605},{"__isSmartRef__":true,"id":1607},{"__isSmartRef__":true,"id":1609},{"__isSmartRef__":true,"id":1611},{"__isSmartRef__":true,"id":1613},{"__isSmartRef__":true,"id":1615},{"__isSmartRef__":true,"id":1617},{"__isSmartRef__":true,"id":1619},{"__isSmartRef__":true,"id":1621},{"__isSmartRef__":true,"id":1623},{"__isSmartRef__":true,"id":1625}],"lastModifiedDate":{"__isSmartRef__":true,"id":1627},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1573":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":1574}},"1574":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"1575":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":1576}},"1576":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"1577":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":1578}},"1578":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"1579":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":1580}},"1580":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1581":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":1582}},"1582":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1583":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":1584}},"1584":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1585":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":1586}},"1586":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1587":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":1588}},"1588":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1589":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":1590}},"1590":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1591":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":1592}},"1592":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"1593":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":1594}},"1594":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"1595":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":1596}},"1596":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"1597":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":1598}},"1598":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"1599":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":1600}},"1600":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"1601":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":1602}},"1602":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"1603":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":1604}},"1604":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"1605":{"date":{"__isSmartRef__":true,"id":1606},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"1606":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"1607":{"date":{"__isSmartRef__":true,"id":1608},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"1608":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"1609":{"date":{"__isSmartRef__":true,"id":1610},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"1610":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"1611":{"date":{"__isSmartRef__":true,"id":1612},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"1612":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"1613":{"date":{"__isSmartRef__":true,"id":1614},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"1614":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"1615":{"date":{"__isSmartRef__":true,"id":1616},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"1616":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"1617":{"date":{"__isSmartRef__":true,"id":1618},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"1618":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"1619":{"date":{"__isSmartRef__":true,"id":1620},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"1620":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"1621":{"date":{"__isSmartRef__":true,"id":1622},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"1622":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"1623":{"date":{"__isSmartRef__":true,"id":1624},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"1624":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"1625":{"date":{"__isSmartRef__":true,"id":1626},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"1626":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"1627":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"1628":{"morph":{"__isSmartRef__":true,"id":1353},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1629":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1630}},"1630":{"test01IsMorph":{"__isSmartRef__":true,"id":1631}},"1631":{"varMapping":{"__isSmartRef__":true,"id":1632},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1633},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1632":{"this":{"__isSmartRef__":true,"id":1629}},"1633":{},"1634":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"1635":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"1636":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"1637":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"1638":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"1639":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"1640":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"1641":{"morph":{"__isSmartRef__":true,"id":1353},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"1642":{"adjustForNewBounds":true},"1643":{"Stopped":true},"1644":{"sourceObj":{"__isSmartRef__":true,"id":1353},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1354},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":1645},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1645":{"source":{"__isSmartRef__":true,"id":1353},"target":{"__isSmartRef__":true,"id":1354}},"1646":{"migrateFrom":{"__isSmartRef__":true,"id":1647},"parsePropeties":{"__isSmartRef__":true,"id":1651},"printProperties":{"__isSmartRef__":true,"id":1655},"parseSimulationSource":{"__isSmartRef__":true,"id":1659},"simulateStep":{"__isSmartRef__":true,"id":1663},"showError":{"__isSmartRef__":true,"id":1666},"throwSimulationProblem":{"__isSmartRef__":true,"id":1670},"updateUI":{"__isSmartRef__":true,"id":1674}},"1647":{"varMapping":{"__isSmartRef__":true,"id":1648},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":1649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1648":{"this":{"__isSmartRef__":true,"id":1353}},"1649":{"timestamp":{"__isSmartRef__":true,"id":1650},"user":"jenslincke","tags":[]},"1650":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"1651":{"varMapping":{"__isSmartRef__":true,"id":1652},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":1653},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1652":{"this":{"__isSmartRef__":true,"id":1353}},"1653":{"timestamp":{"__isSmartRef__":true,"id":1654},"user":"jenslincke","tags":[]},"1654":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"1655":{"varMapping":{"__isSmartRef__":true,"id":1656},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":1657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1656":{"this":{"__isSmartRef__":true,"id":1353}},"1657":{"timestamp":{"__isSmartRef__":true,"id":1658},"user":"jenslincke","tags":[]},"1658":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"1659":{"varMapping":{"__isSmartRef__":true,"id":1660},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":1661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1660":{"this":{"__isSmartRef__":true,"id":1353}},"1661":{"timestamp":{"__isSmartRef__":true,"id":1662},"user":"jenslincke","tags":[]},"1662":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"1663":{"varMapping":{"__isSmartRef__":true,"id":1664},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\nthis.get('MeasureData').$.Time = Date.now() / 1000\nthis.get('MeasureData').$.Start = this.get('MeasureData').$.Time\nthis.get('Fuel').$.Gas = 5 * 0.5 * 3600 // one day\nthis.get('HeatStorage').$.Energy = 0\nthis.get('Battery').$.Energy = 0\nthis.get('ElectricConsumer').$.Consumed = 0\nthis.get('ElectricConsumer').$.Demand = 1.5\nthis.get('ElectricConsumer').$.Extra = 0\nthis.get('HeatConsumer').$.Consumed = 0\nthis.get('HeatConsumer').$.Demand = 3\nthis.get('HeatConsumer').$.Extra = 0\nthis.get('ThermalPowerStation').$.Heat = 0\nthis.get('HeatingSystem').$.Heat = 0\nthis.get('MeasureData').$.Counter = 10000\nthis.get('SimulationResults').resetData()\nthis.get('SimulationResults').showData()\nthis.get('Battery').$.Max = 0.1 * 3600 // 1h 2kw\nthis.get('HeatStorage').$.Max = 0.1 * 3600 // 1h 3kw\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":1665},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1664":{"this":{"__isSmartRef__":true,"id":1353}},"1665":{},"1666":{"varMapping":{"__isSmartRef__":true,"id":1667},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1667":{"this":{"__isSmartRef__":true,"id":1353}},"1668":{"timestamp":{"__isSmartRef__":true,"id":1669},"user":"jenslincke","tags":[]},"1669":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"1670":{"varMapping":{"__isSmartRef__":true,"id":1671},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":1672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1671":{"this":{"__isSmartRef__":true,"id":1353}},"1672":{"timestamp":{"__isSmartRef__":true,"id":1673},"user":"jenslincke","tags":[]},"1673":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"1674":{"varMapping":{"__isSmartRef__":true,"id":1675},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":1676},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1675":{"this":{"__isSmartRef__":true,"id":1353}},"1676":{"timestamp":{"__isSmartRef__":true,"id":1677},"user":"jenslincke","tags":[]},"1677":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"1678":{"submorphs":[{"__isSmartRef__":true,"id":1679},{"__isSmartRef__":true,"id":1695},{"__isSmartRef__":true,"id":1874},{"__isSmartRef__":true,"id":1896}],"scripts":[],"id":"1487EEE6-2719-43A1-BFCC-97CEB7C3E783","shape":{"__isSmartRef__":true,"id":1920},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1921},"eventHandler":{"__isSmartRef__":true,"id":1977},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":1978},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":1983},{"__isSmartRef__":true,"id":1984},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1986},{"__isSmartRef__":true,"id":1987},{"__isSmartRef__":true,"id":1988},{"__isSmartRef__":true,"id":1989},{"__isSmartRef__":true,"id":1990}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":1991},"$":{"__isSmartRef__":true,"id":1992},"name":"MeasureData","attributeConnections":[{"__isSmartRef__":true,"id":1993}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1995},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(366.3,-16.1)","_Position":"lively.pt(1011.6,645.2)"},"1679":{"submorphs":[],"scripts":[],"id":"BBB339CF-AE9D-447B-8647-4C464024848A","shape":{"__isSmartRef__":true,"id":1680},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":1681},"textChunks":[{"__isSmartRef__":true,"id":1683}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1685},{"__isSmartRef__":true,"id":1686}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":1687},"owner":{"__isSmartRef__":true,"id":1678},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":1678},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1688},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"1680":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"1681":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":1682},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1682":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"1683":{"style":{"__isSmartRef__":true,"id":1684},"chunkOwner":{"__isSmartRef__":true,"id":1679},"_id":"_198544","storedString":"MeasureData","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1684":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1685":{"sourceObj":{"__isSmartRef__":true,"id":1679},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1679},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1686":{"sourceObj":{"__isSmartRef__":true,"id":1679},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1679},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1687":{"morph":{"__isSmartRef__":true,"id":1679},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1688":{"updateLabel":{"__isSmartRef__":true,"id":1689},"renameOwner":{"__isSmartRef__":true,"id":1692}},"1689":{"varMapping":{"__isSmartRef__":true,"id":1690},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":1691},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1690":{"this":{"__isSmartRef__":true,"id":1679}},"1691":{},"1692":{"varMapping":{"__isSmartRef__":true,"id":1693},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":1694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1693":{"this":{"__isSmartRef__":true,"id":1679}},"1694":{},"1695":{"submorphs":[],"scripts":[],"id":"A45474F8-FBDB-4857-AF89-A87C8E9E573E","shape":{"__isSmartRef__":true,"id":1696},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1697},"textChunks":[{"__isSmartRef__":true,"id":1713},{"__isSmartRef__":true,"id":1715},{"__isSmartRef__":true,"id":1717},{"__isSmartRef__":true,"id":1719},{"__isSmartRef__":true,"id":1721},{"__isSmartRef__":true,"id":1723},{"__isSmartRef__":true,"id":1725},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1729},{"__isSmartRef__":true,"id":1731},{"__isSmartRef__":true,"id":1733},{"__isSmartRef__":true,"id":1735},{"__isSmartRef__":true,"id":1737},{"__isSmartRef__":true,"id":1739},{"__isSmartRef__":true,"id":1741},{"__isSmartRef__":true,"id":1743},{"__isSmartRef__":true,"id":1745},{"__isSmartRef__":true,"id":1747},{"__isSmartRef__":true,"id":1749},{"__isSmartRef__":true,"id":1751},{"__isSmartRef__":true,"id":1753},{"__isSmartRef__":true,"id":1755},{"__isSmartRef__":true,"id":1757},{"__isSmartRef__":true,"id":1759},{"__isSmartRef__":true,"id":1761},{"__isSmartRef__":true,"id":1763},{"__isSmartRef__":true,"id":1765},{"__isSmartRef__":true,"id":1767},{"__isSmartRef__":true,"id":1769},{"__isSmartRef__":true,"id":1771},{"__isSmartRef__":true,"id":1773},{"__isSmartRef__":true,"id":1775},{"__isSmartRef__":true,"id":1777},{"__isSmartRef__":true,"id":1779},{"__isSmartRef__":true,"id":1781},{"__isSmartRef__":true,"id":1783},{"__isSmartRef__":true,"id":1785},{"__isSmartRef__":true,"id":1787},{"__isSmartRef__":true,"id":1789},{"__isSmartRef__":true,"id":1791},{"__isSmartRef__":true,"id":1793},{"__isSmartRef__":true,"id":1795},{"__isSmartRef__":true,"id":1797},{"__isSmartRef__":true,"id":1799},{"__isSmartRef__":true,"id":1801},{"__isSmartRef__":true,"id":1803},{"__isSmartRef__":true,"id":1805},{"__isSmartRef__":true,"id":1807},{"__isSmartRef__":true,"id":1809},{"__isSmartRef__":true,"id":1811},{"__isSmartRef__":true,"id":1813},{"__isSmartRef__":true,"id":1815},{"__isSmartRef__":true,"id":1817},{"__isSmartRef__":true,"id":1819},{"__isSmartRef__":true,"id":1821},{"__isSmartRef__":true,"id":1823},{"__isSmartRef__":true,"id":1825},{"__isSmartRef__":true,"id":1827},{"__isSmartRef__":true,"id":1829},{"__isSmartRef__":true,"id":1831},{"__isSmartRef__":true,"id":1833}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":1835},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":1836},{"__isSmartRef__":true,"id":1837},{"__isSmartRef__":true,"id":1838},{"__isSmartRef__":true,"id":1839},{"__isSmartRef__":true,"id":1840},{"__isSmartRef__":true,"id":1841},{"__isSmartRef__":true,"id":1842},{"__isSmartRef__":true,"id":1843}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1844},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":1678},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":1845},{"__isSmartRef__":true,"id":1847}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":45,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"$.Time += dt\n$.Counter += dt\nif ($.Counter < 1) return\n$.Counter = 0\nvar data = {\n Gas: #Fuel.$.Gas,\n Heat: #HeatStorage.$.Energy,\n Battery: #Battery.$.Energy,\n ConsumedPower: #ElectricConsumer.$.Consumed,\n ConsumedHeat: #HeatConsumer.$.Consumed,\n TWP: #ThermalPowerStation.$.Heat,\n HS: #HeatingSystem.$.Heat,\n}\ndata.Total = Properties.values(data).sum()\nvar factor = 0.01 // scale, so that it fits into vis\ndata.Gas *= factor\ndata.ConsumedPower *= factor\ndata.ConsumedHeat *= factor\ndata.Total *= factor\nProperties.own(data).each(function(ea) {\n data[ea] = data[ea].roundTo(0.000001)\n})\ndata.Time = $.Time,\n#SimulationResults.addData(data)","priorSelectionRange":[81,81],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1849},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"1696":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(383.9,252.9)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1697":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1698},{"__isSmartRef__":true,"id":1700},{"__isSmartRef__":true,"id":1702},{"__isSmartRef__":true,"id":1704},{"__isSmartRef__":true,"id":1706},{"__isSmartRef__":true,"id":1708},{"__isSmartRef__":true,"id":1710}],"lastModifiedDate":{"__isSmartRef__":true,"id":1712},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1698":{"date":{"__isSmartRef__":true,"id":1699},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1699":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1700":{"date":{"__isSmartRef__":true,"id":1701},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1701":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1702":{"date":{"__isSmartRef__":true,"id":1703},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1703":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1704":{"date":{"__isSmartRef__":true,"id":1705},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1705":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1706":{"date":{"__isSmartRef__":true,"id":1707},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1707":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1708":{"date":{"__isSmartRef__":true,"id":1709},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1709":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1710":{"date":{"__isSmartRef__":true,"id":1711},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1711":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1712":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1713":{"style":{"__isSmartRef__":true,"id":1714},"chunkOwner":{"__isSmartRef__":true,"id":1695},"_id":"_198542","storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1714":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1715":{"_id":"_198749","style":{"__isSmartRef__":true,"id":1716},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".Time += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1716":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1717":{"_id":"_198750","style":{"__isSmartRef__":true,"id":1718},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1718":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1719":{"_id":"_198751","style":{"__isSmartRef__":true,"id":1720},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1720":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1721":{"_id":"_198752","style":{"__isSmartRef__":true,"id":1722},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1722":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1723":{"_id":"_198753","style":{"__isSmartRef__":true,"id":1724},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".Counter += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1724":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1725":{"_id":"_198754","style":{"__isSmartRef__":true,"id":1726},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1726":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1727":{"_id":"_198755","style":{"__isSmartRef__":true,"id":1728},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1728":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1729":{"_id":"_198706","style":{"__isSmartRef__":true,"id":1730},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1730":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1731":{"_id":"_198707","style":{"__isSmartRef__":true,"id":1732},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1732":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1733":{"_id":"_198756","style":{"__isSmartRef__":true,"id":1734},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1734":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1735":{"_id":"_198757","style":{"__isSmartRef__":true,"id":1736},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".Counter < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1736":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1737":{"_id":"_198708","style":{"__isSmartRef__":true,"id":1738},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1738":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1739":{"_id":"_198709","style":{"__isSmartRef__":true,"id":1740},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1740":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1741":{"_id":"_198710","style":{"__isSmartRef__":true,"id":1742},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1742":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1743":{"_id":"_198711","style":{"__isSmartRef__":true,"id":1744},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1744":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1745":{"_id":"_198758","style":{"__isSmartRef__":true,"id":1746},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1746":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1747":{"_id":"_198759","style":{"__isSmartRef__":true,"id":1748},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".Counter = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1748":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1749":{"_id":"_198712","style":{"__isSmartRef__":true,"id":1750},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1750":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1751":{"_id":"_198713","style":{"__isSmartRef__":true,"id":1752},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1752":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1753":{"_id":"_198714","style":{"__isSmartRef__":true,"id":1754},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1754":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1755":{"_id":"_198715","style":{"__isSmartRef__":true,"id":1756},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" data = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1756":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1757":{"_id":"_198716","style":{"__isSmartRef__":true,"id":1758},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1758":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1759":{"_id":"_198717","style":{"__isSmartRef__":true,"id":1760},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1760":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1761":{"_id":"_198718","style":{"__isSmartRef__":true,"id":1762},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"Gas:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1762":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1763":{"_id":"_198719","style":{"__isSmartRef__":true,"id":1764},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #Fuel.$.Gas,\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1764":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1765":{"_id":"_198720","style":{"__isSmartRef__":true,"id":1766},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"Heat:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1766":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1767":{"_id":"_198721","style":{"__isSmartRef__":true,"id":1768},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #HeatStorage.$.Energy,\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1768":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1769":{"_id":"_198722","style":{"__isSmartRef__":true,"id":1770},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"Battery:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1770":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1771":{"_id":"_198723","style":{"__isSmartRef__":true,"id":1772},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #Battery.$.Energy,\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1772":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1773":{"_id":"_198724","style":{"__isSmartRef__":true,"id":1774},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"ConsumedPower:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1774":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1775":{"_id":"_198725","style":{"__isSmartRef__":true,"id":1776},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #ElectricConsumer.$.Consumed,\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1776":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1777":{"_id":"_198726","style":{"__isSmartRef__":true,"id":1778},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"ConsumedHeat:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1778":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1779":{"_id":"_198727","style":{"__isSmartRef__":true,"id":1780},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #HeatConsumer.$.Consumed,\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1780":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1781":{"_id":"_198728","style":{"__isSmartRef__":true,"id":1782},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"TWP:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1782":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1783":{"_id":"_198729","style":{"__isSmartRef__":true,"id":1784},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #ThermalPowerStation.$.Heat,\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1784":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1785":{"_id":"_198730","style":{"__isSmartRef__":true,"id":1786},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"HS:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1786":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"1787":{"_id":"_198731","style":{"__isSmartRef__":true,"id":1788},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" #HeatingSystem.$.Heat,\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1788":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1789":{"_id":"_198732","style":{"__isSmartRef__":true,"id":1790},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1790":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1791":{"_id":"_198733","style":{"__isSmartRef__":true,"id":1792},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\ndata.Total = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1792":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1793":{"_id":"_198760","style":{"__isSmartRef__":true,"id":1794},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1794":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1795":{"_id":"_198761","style":{"__isSmartRef__":true,"id":1796},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".values(data).sum()\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1796":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1797":{"_id":"_198734","style":{"__isSmartRef__":true,"id":1798},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1798":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1799":{"_id":"_198735","style":{"__isSmartRef__":true,"id":1800},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" factor = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1800":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1801":{"_id":"_198736","style":{"__isSmartRef__":true,"id":1802},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"0.01","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1802":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1803":{"_id":"_198737","style":{"__isSmartRef__":true,"id":1804},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1804":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1805":{"_id":"_198738","style":{"__isSmartRef__":true,"id":1806},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1806":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"1807":{"_id":"_198739","style":{"__isSmartRef__":true,"id":1808},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":" scale, so that it fits into vis","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1808":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1809":{"_id":"_198740","style":{"__isSmartRef__":true,"id":1810},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\ndata.Gas *= factor\ndata.ConsumedPower *= factor\ndata.ConsumedHeat *= factor\ndata.Total *= factor\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1810":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1811":{"_id":"_198762","style":{"__isSmartRef__":true,"id":1812},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1812":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1813":{"_id":"_198763","style":{"__isSmartRef__":true,"id":1814},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".own(data).each(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1814":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1815":{"_id":"_198741","style":{"__isSmartRef__":true,"id":1816},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1816":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"1817":{"_id":"_198742","style":{"__isSmartRef__":true,"id":1818},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"(ea) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1818":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1819":{"_id":"_198743","style":{"__isSmartRef__":true,"id":1820},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1820":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1821":{"_id":"_198744","style":{"__isSmartRef__":true,"id":1822},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"\n data[ea] = data[ea].roundTo(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1822":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1823":{"_id":"_198745","style":{"__isSmartRef__":true,"id":1824},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"0.000001","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1824":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1825":{"_id":"_198746","style":{"__isSmartRef__":true,"id":1826},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1826":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1827":{"_id":"_198747","style":{"__isSmartRef__":true,"id":1828},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1828":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1829":{"_id":"_198748","style":{"__isSmartRef__":true,"id":1830},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":")\ndata.Time = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1830":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1831":{"_id":"_198764","style":{"__isSmartRef__":true,"id":1832},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1832":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1833":{"_id":"_198765","style":{"__isSmartRef__":true,"id":1834},"chunkOwner":{"__isSmartRef__":true,"id":1695},"storedString":".Time,\n#SimulationResults.addData(data)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1834":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1835":{"morph":{"__isSmartRef__":true,"id":1695},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1836":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"1837":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"1838":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"1839":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"1840":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"1841":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"1842":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"1843":{"morph":{"__isSmartRef__":true,"id":1695},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"1844":{"resizeWidth":true,"resizeHeight":true},"1845":{"sourceObj":{"__isSmartRef__":true,"id":1695},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1678},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":1846},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1846":{"source":{"__isSmartRef__":true,"id":1695},"target":{"__isSmartRef__":true,"id":1678}},"1847":{"sourceObj":{"__isSmartRef__":true,"id":1695},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1695},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1848},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1848":{"source":{"__isSmartRef__":true,"id":1695},"target":{"__isSmartRef__":true,"id":1695}},"1849":{"boundEval":{"__isSmartRef__":true,"id":1850},"getDoitContext":{"__isSmartRef__":true,"id":1858},"installLayers":{"__isSmartRef__":true,"id":1866},"onLoad":{"__isSmartRef__":true,"id":1870}},"1850":{"varMapping":{"__isSmartRef__":true,"id":1851},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1856},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1851":{"this":{"__isSmartRef__":true,"id":1695},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1852}},"1852":{"$super":{"__isSmartRef__":true,"id":1853}},"1853":{"varMapping":{"__isSmartRef__":true,"id":1854},"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":1855},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1854":{"obj":{"__isSmartRef__":true,"id":1695},"name":"boundEval"},"1855":{},"1856":{"timestamp":{"__isSmartRef__":true,"id":1857},"user":"jenslincke","tags":[]},"1857":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"1858":{"varMapping":{"__isSmartRef__":true,"id":1859},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1859":{"this":{"__isSmartRef__":true,"id":1695},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1860}},"1860":{"$super":{"__isSmartRef__":true,"id":1861}},"1861":{"varMapping":{"__isSmartRef__":true,"id":1862},"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":1863},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1862":{"obj":{"__isSmartRef__":true,"id":1695},"name":"getDoitContext"},"1863":{},"1864":{"timestamp":{"__isSmartRef__":true,"id":1865},"user":"jenslincke","tags":[]},"1865":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":1868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1867":{"this":{"__isSmartRef__":true,"id":1695}},"1868":{"timestamp":{"__isSmartRef__":true,"id":1869},"user":"jenslincke","tags":[]},"1869":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"1870":{"varMapping":{"__isSmartRef__":true,"id":1871},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":1872},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1871":{"this":{"__isSmartRef__":true,"id":1695}},"1872":{"timestamp":{"__isSmartRef__":true,"id":1873},"user":"jenslincke","tags":[]},"1873":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"1874":{"submorphs":[],"scripts":[],"id":"6294CB72-9ECC-4DE0-B5E1-EF7A9C0CCDA0","shape":{"__isSmartRef__":true,"id":1875},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":1876},"textChunks":[{"__isSmartRef__":true,"id":1892}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1894},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1678},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1895},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,337.9)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"1875":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(389.0,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1876":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1877},{"__isSmartRef__":true,"id":1879},{"__isSmartRef__":true,"id":1881},{"__isSmartRef__":true,"id":1883},{"__isSmartRef__":true,"id":1885},{"__isSmartRef__":true,"id":1887},{"__isSmartRef__":true,"id":1889}],"lastModifiedDate":{"__isSmartRef__":true,"id":1891},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1877":{"date":{"__isSmartRef__":true,"id":1878},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1878":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1879":{"date":{"__isSmartRef__":true,"id":1880},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1880":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1881":{"date":{"__isSmartRef__":true,"id":1882},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1882":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1883":{"date":{"__isSmartRef__":true,"id":1884},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1884":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1885":{"date":{"__isSmartRef__":true,"id":1886},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1886":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1887":{"date":{"__isSmartRef__":true,"id":1888},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1888":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1889":{"date":{"__isSmartRef__":true,"id":1890},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1890":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1891":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1892":{"style":{"__isSmartRef__":true,"id":1893},"chunkOwner":{"__isSmartRef__":true,"id":1874},"_id":"_199890","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1893":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1894":{"morph":{"__isSmartRef__":true,"id":1874},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1895":{"moveVertical":true,"resizeWidth":true},"1896":{"submorphs":[],"scripts":[],"id":"B4E2452E-5790-4597-B26E-9593CB94DE4C","shape":{"__isSmartRef__":true,"id":1897},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":1898},"textChunks":[{"__isSmartRef__":true,"id":1914}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1916},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1678},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":1917}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1919},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"1897":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(388.4,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1898":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1899},{"__isSmartRef__":true,"id":1901},{"__isSmartRef__":true,"id":1903},{"__isSmartRef__":true,"id":1905},{"__isSmartRef__":true,"id":1907},{"__isSmartRef__":true,"id":1909},{"__isSmartRef__":true,"id":1911}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":1913},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1899":{"date":{"__isSmartRef__":true,"id":1900},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1900":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1901":{"date":{"__isSmartRef__":true,"id":1902},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1902":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1903":{"date":{"__isSmartRef__":true,"id":1904},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1904":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1905":{"date":{"__isSmartRef__":true,"id":1906},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1906":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1907":{"date":{"__isSmartRef__":true,"id":1908},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"1908":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1909":{"date":{"__isSmartRef__":true,"id":1910},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1910":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1911":{"date":{"__isSmartRef__":true,"id":1912},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1912":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1913":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1914":{"style":{"__isSmartRef__":true,"id":1915},"chunkOwner":{"__isSmartRef__":true,"id":1896},"_id":"_199881","storedString":"Counter: 10000\nTime: 1390824214.896\nStart: 1390824214.896","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1915":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1916":{"morph":{"__isSmartRef__":true,"id":1896},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1917":{"sourceObj":{"__isSmartRef__":true,"id":1896},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1678},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":1918},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1918":{"source":{"__isSmartRef__":true,"id":1896},"target":{"__isSmartRef__":true,"id":1678}},"1919":{"resizeWidth":true},"1920":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(410.8,355.7)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"1921":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":1922},{"__isSmartRef__":true,"id":1924},{"__isSmartRef__":true,"id":1926},{"__isSmartRef__":true,"id":1928},{"__isSmartRef__":true,"id":1930},{"__isSmartRef__":true,"id":1932},{"__isSmartRef__":true,"id":1934},{"__isSmartRef__":true,"id":1936},{"__isSmartRef__":true,"id":1938},{"__isSmartRef__":true,"id":1940},{"__isSmartRef__":true,"id":1942},{"__isSmartRef__":true,"id":1944},{"__isSmartRef__":true,"id":1946},{"__isSmartRef__":true,"id":1948},{"__isSmartRef__":true,"id":1950},{"__isSmartRef__":true,"id":1952},{"__isSmartRef__":true,"id":1954},{"__isSmartRef__":true,"id":1956},{"__isSmartRef__":true,"id":1958},{"__isSmartRef__":true,"id":1960},{"__isSmartRef__":true,"id":1962},{"__isSmartRef__":true,"id":1964},{"__isSmartRef__":true,"id":1966},{"__isSmartRef__":true,"id":1968},{"__isSmartRef__":true,"id":1970},{"__isSmartRef__":true,"id":1972},{"__isSmartRef__":true,"id":1974}],"lastModifiedDate":{"__isSmartRef__":true,"id":1976},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1922":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":1923}},"1923":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"1924":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":1925}},"1925":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"1926":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":1927}},"1927":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"1928":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":1929}},"1929":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1930":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":1931}},"1931":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1932":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":1933}},"1933":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1934":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":1935}},"1935":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1936":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":1937}},"1937":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1938":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":1939}},"1939":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1940":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":1941}},"1941":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"1942":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":1943}},"1943":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"1944":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":1945}},"1945":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"1946":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":1947}},"1947":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"1948":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":1949}},"1949":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"1950":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":1951}},"1951":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"1952":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":1953}},"1953":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"1954":{"date":{"__isSmartRef__":true,"id":1955},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"1955":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"1956":{"date":{"__isSmartRef__":true,"id":1957},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"1957":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"1958":{"date":{"__isSmartRef__":true,"id":1959},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"1959":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"1960":{"date":{"__isSmartRef__":true,"id":1961},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"1961":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"1962":{"date":{"__isSmartRef__":true,"id":1963},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"1963":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"1964":{"date":{"__isSmartRef__":true,"id":1965},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"1965":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"1966":{"date":{"__isSmartRef__":true,"id":1967},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"1967":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"1968":{"date":{"__isSmartRef__":true,"id":1969},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"1969":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"1970":{"date":{"__isSmartRef__":true,"id":1971},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"1971":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"1972":{"date":{"__isSmartRef__":true,"id":1973},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"1973":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"1974":{"date":{"__isSmartRef__":true,"id":1975},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"1975":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"1976":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"1977":{"morph":{"__isSmartRef__":true,"id":1678},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1978":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1979}},"1979":{"test01IsMorph":{"__isSmartRef__":true,"id":1980}},"1980":{"varMapping":{"__isSmartRef__":true,"id":1981},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1981":{"this":{"__isSmartRef__":true,"id":1978}},"1982":{},"1983":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"1984":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"1985":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"1986":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"1987":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"1988":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"1989":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"1990":{"morph":{"__isSmartRef__":true,"id":1678},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"1991":{"adjustForNewBounds":true},"1992":{"Counter":10000,"Time":1390824214.896,"Start":1390824214.896},"1993":{"sourceObj":{"__isSmartRef__":true,"id":1678},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1679},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":1994},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1994":{"source":{"__isSmartRef__":true,"id":1678},"target":{"__isSmartRef__":true,"id":1679}},"1995":{"migrateFrom":{"__isSmartRef__":true,"id":1996},"parsePropeties":{"__isSmartRef__":true,"id":2000},"printProperties":{"__isSmartRef__":true,"id":2004},"parseSimulationSource":{"__isSmartRef__":true,"id":2008},"simulateStep":{"__isSmartRef__":true,"id":2012},"showError":{"__isSmartRef__":true,"id":2015},"throwSimulationProblem":{"__isSmartRef__":true,"id":2019},"updateUI":{"__isSmartRef__":true,"id":2023}},"1996":{"varMapping":{"__isSmartRef__":true,"id":1997},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":1998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1997":{"this":{"__isSmartRef__":true,"id":1678}},"1998":{"timestamp":{"__isSmartRef__":true,"id":1999},"user":"jenslincke","tags":[]},"1999":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"2000":{"varMapping":{"__isSmartRef__":true,"id":2001},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":2002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2001":{"this":{"__isSmartRef__":true,"id":1678}},"2002":{"timestamp":{"__isSmartRef__":true,"id":2003},"user":"jenslincke","tags":[]},"2003":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"2004":{"varMapping":{"__isSmartRef__":true,"id":2005},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":2006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2005":{"this":{"__isSmartRef__":true,"id":1678}},"2006":{"timestamp":{"__isSmartRef__":true,"id":2007},"user":"jenslincke","tags":[]},"2007":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"2008":{"varMapping":{"__isSmartRef__":true,"id":2009},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":2010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2009":{"this":{"__isSmartRef__":true,"id":1678}},"2010":{"timestamp":{"__isSmartRef__":true,"id":2011},"user":"jenslincke","tags":[]},"2011":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"2012":{"varMapping":{"__isSmartRef__":true,"id":2013},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\n$.Time += dt\n$.Counter += dt\nif ($.Counter < 1) return\n$.Counter = 0\nvar data = {\n Gas: this.get('Fuel').$.Gas,\n Heat: this.get('HeatStorage').$.Energy,\n Battery: this.get('Battery').$.Energy,\n ConsumedPower: this.get('ElectricConsumer').$.Consumed,\n ConsumedHeat: this.get('HeatConsumer').$.Consumed,\n TWP: this.get('ThermalPowerStation').$.Heat,\n HS: this.get('HeatingSystem').$.Heat,\n}\ndata.Total = Properties.values(data).sum()\nvar factor = 0.01 // scale, so that it fits into vis\ndata.Gas *= factor\ndata.ConsumedPower *= factor\ndata.ConsumedHeat *= factor\ndata.Total *= factor\nProperties.own(data).each(function(ea) {\n data[ea] = data[ea].roundTo(0.000001)\n})\ndata.Time = $.Time,\nthis.get('SimulationResults').addData(data)\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":2014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2013":{"this":{"__isSmartRef__":true,"id":1678}},"2014":{},"2015":{"varMapping":{"__isSmartRef__":true,"id":2016},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2017},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2016":{"this":{"__isSmartRef__":true,"id":1678}},"2017":{"timestamp":{"__isSmartRef__":true,"id":2018},"user":"jenslincke","tags":[]},"2018":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"2019":{"varMapping":{"__isSmartRef__":true,"id":2020},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":2021},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2020":{"this":{"__isSmartRef__":true,"id":1678}},"2021":{"timestamp":{"__isSmartRef__":true,"id":2022},"user":"jenslincke","tags":[]},"2022":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"2023":{"varMapping":{"__isSmartRef__":true,"id":2024},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":2025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2024":{"this":{"__isSmartRef__":true,"id":1678}},"2025":{"timestamp":{"__isSmartRef__":true,"id":2026},"user":"jenslincke","tags":[]},"2026":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"2027":{"submorphs":[{"__isSmartRef__":true,"id":2028},{"__isSmartRef__":true,"id":2062}],"scripts":[],"id":"45437653-A6FB-4518-BAD1-87B0A18EDDD2","shape":{"__isSmartRef__":true,"id":2208},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"SimulationResults","partsBinMetaInfo":{"__isSmartRef__":true,"id":2209},"eventHandler":{"__isSmartRef__":true,"id":2245},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37"],"partTests":{"__isSmartRef__":true,"id":2246},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1},"prevScroll":[0,0],"data":null,"isBeingDragged":false,"_Rotation":0,"_Scale":1,"grabbingEnabled":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":2251},"#startLetters":"get","table":null,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2252},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(8.7,647.6)","distanceToDragEvent":"lively.pt(670.3,-16.1)"},"2028":{"submorphs":[{"__isSmartRef__":true,"id":2029}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2034},"eventHandler":{"__isSmartRef__":true,"id":2035},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D"],"id":"F5FBFDD0-C41E-421E-AE1C-5FE734F0DFB4","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":2029},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":2036},{"__isSmartRef__":true,"id":2038}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button6","partsBinMetaInfo":{"__isSmartRef__":true,"id":2040},"pinSpecs":[{"__isSmartRef__":true,"id":2056}],"owner":{"__isSmartRef__":true,"id":2027},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(10.5,5.0)","distanceToDragEvent":"lively.pt(73.9,-15.2)"},"2029":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2030},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2031}],"eventHandler":{"__isSmartRef__":true,"id":2033},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4"],"id":"B538602E-A8F5-4C41-AE03-E692939D44B4","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2028},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"2030":{"_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(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2031":{"style":{"__isSmartRef__":true,"id":2032},"chunkOwner":{"__isSmartRef__":true,"id":2029},"_id":"_1301000","storedString":"show","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2032":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2033":{"morph":{"__isSmartRef__":true,"id":2029},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2034":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"2035":{"morph":{"__isSmartRef__":true,"id":2028},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2036":{"sourceObj":{"__isSmartRef__":true,"id":2028},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2028},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":2037},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2037":{"source":{"__isSmartRef__":true,"id":2028},"target":{"__isSmartRef__":true,"id":2028}},"2038":{"sourceObj":{"__isSmartRef__":true,"id":2028},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2027},"targetMethodName":"showData","varMapping":{"__isSmartRef__":true,"id":2039},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2039":{"source":{"__isSmartRef__":true,"id":2028},"target":{"__isSmartRef__":true,"id":2027}},"2040":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":2041},{"__isSmartRef__":true,"id":2043},{"__isSmartRef__":true,"id":2045},{"__isSmartRef__":true,"id":2047},{"__isSmartRef__":true,"id":2049},{"__isSmartRef__":true,"id":2051},{"__isSmartRef__":true,"id":2053}],"migrationLevel":7,"lastModifiedDate":{"__isSmartRef__":true,"id":2055},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2041":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","date":{"__isSmartRef__":true,"id":2042}},"2042":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"2043":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","date":{"__isSmartRef__":true,"id":2044}},"2044":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"2045":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","date":{"__isSmartRef__":true,"id":2046}},"2046":{"isSerializedDate":true,"string":"Wed May 01 2013 05:34:25 GMT+0200 (CEST)"},"2047":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","date":{"__isSmartRef__":true,"id":2048}},"2048":{"isSerializedDate":true,"string":"Wed May 01 2013 05:35:59 GMT+0200 (CEST)"},"2049":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","date":{"__isSmartRef__":true,"id":2050}},"2050":{"isSerializedDate":true,"string":"Wed May 01 2013 05:36:30 GMT+0200 (CEST)"},"2051":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","date":{"__isSmartRef__":true,"id":2052}},"2052":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:22:38 GMT+0200 (CEST)"},"2053":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","date":{"__isSmartRef__":true,"id":2054}},"2054":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:24:50 GMT+0200 (CEST)"},"2055":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"2056":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"2057":{"doAction":{"__isSmartRef__":true,"id":2058}},"2058":{"varMapping":{"__isSmartRef__":true,"id":2059},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":2060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2059":{"this":{"__isSmartRef__":true,"id":2028}},"2060":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":2061}},"2061":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"2062":{"submorphs":[{"__isSmartRef__":true,"id":2063}],"scripts":[],"id":"8A39C369-64F2-49E2-B969-300BE3FA2DAD","shape":{"__isSmartRef__":true,"id":2158},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"SelectTableClip","partsBinMetaInfo":{"__isSmartRef__":true,"id":2159},"eventHandler":{"__isSmartRef__":true,"id":2201},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","01E4B3FC-1FF3-4030-B17B-68C1E63857DE","702671A1-58AC-4555-BA71-A799379EDB23","1FAC1CD2-DD8D-43E3-9C3C-E9FD1B994F42"],"partTests":{"__isSmartRef__":true,"id":2202},"_ClipMode":"scroll","moved":true,"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":2207},"owner":{"__isSmartRef__":true,"id":2027},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(41.6,59.6)","distanceToDragEvent":"lively.pt(895.0,-14.0)"},"2063":{"submorphs":[],"scripts":[],"id":"5602496D-C9FB-4C09-9EA7-08E1F179B848","shape":{"__isSmartRef__":true,"id":2064},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Courier","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"Table","partsBinMetaInfo":{"__isSmartRef__":true,"id":2065},"textChunks":[{"__isSmartRef__":true,"id":2085}],"charsReplaced":"0 filename new\n1 Blade/Blade\n3 Blade/Blade Trinity [2004] German DL 1080p.mkv ","lastFindLoc":119,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2087},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","D7847D8B-6A94-44E4-9674-5D9847579898","C84228AF-D934-4BA0-ACAF-843BBB52C480","70140DE5-4179-4E6B-90ED-B8A521019735","54742FA7-B6B6-4441-9AF1-1AA2A4B96873","193F5EE1-9971-4FE2-A34F-3E297F6F50DD","3C2B04B5-D0A6-4065-8C57-A4B5285FC622","47E58543-F10B-4D1F-86D6-A66923C94EF9","83240154-4862-4990-B400-25457100B2CD","554559E9-30A7-43C4-9805-B20D79A01D42","D387334C-E2F0-471A-AC44-3AA59785DEA0"],"_WhiteSpaceHandling":"pre","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"_WordBreak":null,"layout":{"__isSmartRef__":true,"id":2088},"#startLetters":"empha","undoSelectionRange":[110306,110306],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_PreviousBorderWidth":1.48,"table":{"__isSmartRef__":true,"id":2089},"lastSortedColumn":"Time","owner":{"__isSmartRef__":true,"id":2062},"previousSelection":[0,1265],"selectedIndex":5,"connections":{"__isSmartRef__":true,"id":2090},"isSelectingOnClick":true,"textStrint":"mv -v 'Agora 1of2.avi' 'Agora [2009] 1of2.avi'\nmv -v 'Agora 2of2.avi' 'Agora [2009] 2of2.avi'\nmv -v 'Alien/Aliens vs. Predator 2 [De].avi' 'Alien/Monsters vs Aliens [2009] De.avi'\nmv -v 'An Education [2010].avi' 'An Education [2009].avi'\nmv -v 'Aufstand der Tiere.avi' 'Koka, Terror und der Inka-Aufstand [2009].avi'\nmv -v 'Besouro [2009] de.mkv' 'The Assailant [2009] de.mkv'\nmv -v 'Bud Spencer Terence Hill Collection/Bomber [en].avi' 'Bud Spencer Terence Hill Collection/Bomber [2009] en.avi'\nmv -v 'Der fantastische Mr Fox [2009] en de.mkv' 'Fantastic Mr Fox [2009] en de.mkv'\nmv -v 'Der Hobbit - Eine Unerwartete Reise [2012] DL 1080p.mkv' 'Kolonialmama - Eine Reise in die Gegenwart der Vergangenheit [2009] DL 1080p.mkv'\nmv -v 'Der Staatsfeind Nr1 1von2 [de].avi' 'Chinas Staatsfeindin Nr1 - Rebiya Kadeers Kampf für die Uiguren [2009] de.avi'\nmv -v 'Der Staatsfeind Nr1 2von2 [de].avi' 'Chinas Staatsfeindin Nr1 - Rebiya Kadeers Kampf für die Uiguren [2009] de.avi'\nmv -v 'Die Logan Verschwoerung [2012] DL 1080p.mkv' 'Verschwörung gegen die Republik [2009] DL 1080p.mkv'\nmv -v 'Die Monster AG [2001] DL 1080p.mkv' 'Monsieur Noir und die Monster aus dem Keller [2009] DL 1080p.mkv'\nmv -v 'Die Päpstin [2009] en de.mkv' 'Pope Joan [2009] en de.mkv'\nmv -v 'Eine wie keine [de].avi' 'Eine wie Keine [2009] de.avi'\nmv -v 'Hachiko [2009] en de.mkv' 'Hachi A Dogs Tale [2009] en de.mkv'\nmv -v 'Hangover [2009] DL 1080p.mkv' 'The Hangover [2009] DL 1080p.mkv'\nmv -v 'Illuminati 720p.mkv' 'The Conspiracy to Rule the World From 911 to the Illuminati [2009].mkv'\nmv -v 'I Love You Man [2009] Eng.mkv' 'I Love You, Man [2009] Eng.mkv'\nmv -v 'La Teta Asustada [esp comment].avi' 'The Milk of Sorrow [2009] esp comment.avi'\nmv -v 'Millenium 1 - Verblendung [2009] de swe.mkv' 'The Girl with the Dragon Tattoo [2009] de swe.mkv'\nmv -v 'Monty Python Movies/Monty Python - Jabberwocky [1977].avi' 'Monty Python Movies/Monty Python Almost the Truth - Lawyers Cut [2009].avi'\nmv -v 'Monty Python Movies/wunderbare welt der schwerkraft [de].avi' 'Monty Python Movies/Die wundersame Welt der Waschkraft [2009] de.avi'\nmv -v 'Ondine [2008] en de.mkv' 'Ondine [2009] en de.mkv'\nmv -v 'Pelham 123 720p.mkv' 'The Taking of Pelham 1 2 3 [2009].mkv'\nmv -v 'Public Enemies.mkv' 'Public Enemies [2009].mkv'\nmv -v 'Schwerkraft [2009] de.mkv' 'Gravity [2009] de.mkv'\nmv -v 'Star Trek XI [2009] German BASTIAN CUT.mkv' 'Star Trek [2009] German BASTIAN CUT.mkv'\nmv -v 'Terminator/Terminator 4 Die Erloesung [2009] DL 1080p.mkv' 'Terminator/Terminator Salvation [2009] DL 1080p.mkv'\nmv -v 'The Bad Lieutenant Port of Call New Orleans.avi' 'The Bad Lieutenant Port of Call - New Orleans [2009].avi'\nmv -v 'The Boat That Rocked [2009] en de.mkv' 'Pirate Radio [2009] en de.mkv'\nmv -v 'The Imaginarium of Doctor Parnassus.mkv' 'The Imaginarium of Doctor Parnassus [2009].mkv'\nmv -v 'The Princess And The Frog.avi' 'The Princess and the Frog [2009].avi'\nmv -v 'Up In The Air [2009].avi' 'Up in the Air [2009].avi'\nmv -v 'Verblendung [2011] German DL 1080p.mkv' 'The Girl with the Dragon Tattoo [2009] German DL 1080p.mkv'\nmv -v 'Walhalla [1986] de.avi' 'Valhalla Rising [2009] de.avi'\nmv -v 'Watchmen [2008] en de.mkv' 'Watchmen [2009] en de.mkv'\nmv -v 'Wiedersehen in St. Petersburg [De].avi' 'Here and There [2009] De.avi'\nmv -v 'Wild Things 1of2 [de].avi' 'Where the Wild Things Are [2009] 1of2 de.avi'\nmv -v 'Wild Things 2of2 [de].avi' 'Where the Wild Things Are [2009] 2of2 de.avi'","draggingEnabled":false,"attributeConnections":[{"__isSmartRef__":true,"id":2093}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":{"__isSmartRef__":true,"id":2095},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2097},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(7.0,12.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(982.0,-15.0)"},"2064":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(15.0,433.0)","_BorderColor":"Color.rgb(174,174,174)","_Padding":"lively.rect(4,2,0,0)"},"2065":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":4,"comment":"A Lively quick and dirty text based table, with sorting support. ","partName":"QuickTable","changes":[{"__isSmartRef__":true,"id":2066},{"__isSmartRef__":true,"id":2068},{"__isSmartRef__":true,"id":2070},{"__isSmartRef__":true,"id":2072},{"__isSmartRef__":true,"id":2074},{"__isSmartRef__":true,"id":2076},{"__isSmartRef__":true,"id":2078},{"__isSmartRef__":true,"id":2080},{"__isSmartRef__":true,"id":2082}],"lastModifiedDate":{"__isSmartRef__":true,"id":2084},"revisionOnLoad":198869,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2066":{"date":{"__isSmartRef__":true,"id":2067},"author":"jenslincke","message":"no comment","id":"F894103D-2AFC-4A59-B45B-FD2194723ECC"},"2067":{"isSerializedDate":true,"string":"Sat Aug 17 2013 19:54:22 GMT+0200 (CEST)"},"2068":{"date":{"__isSmartRef__":true,"id":2069},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2069":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2070":{"date":{"__isSmartRef__":true,"id":2071},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2071":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2072":{"date":{"__isSmartRef__":true,"id":2073},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2073":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2074":{"date":{"__isSmartRef__":true,"id":2075},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2075":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2076":{"date":{"__isSmartRef__":true,"id":2077},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2077":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2078":{"date":{"__isSmartRef__":true,"id":2079},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2079":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2080":{"date":{"__isSmartRef__":true,"id":2081},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2081":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2082":{"date":{"__isSmartRef__":true,"id":2083},"author":"jenslincke","message":"no comment","id":"93CE95E3-4E54-4AEF-AF54-7EF6CA88FE4E"},"2083":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:32:37 GMT+0200 (CEST)"},"2084":{"isSerializedDate":true,"string":"Sat Aug 17 2013 19:49:33 GMT+0200 (CEST)"},"2085":{"style":{"__isSmartRef__":true,"id":2086},"chunkOwner":{"__isSmartRef__":true,"id":2063},"_id":"_199874","storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2086":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2087":{"morph":{"__isSmartRef__":true,"id":2063},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2088":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"2089":{"columns":[],"data":[]},"2090":{"selection":{"__isSmartRef__":true,"id":2091},"selectionIndex":{"__isSmartRef__":true,"id":2092}},"2091":{},"2092":{},"2093":{"sourceObj":{"__isSmartRef__":true,"id":2063},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":2094},"targetMethodName":"selectFile","varMapping":{"__isSmartRef__":true,"id":2096},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2094":{"isCopyMorphRef":true,"morphRefId":1,"selectFile":{"__isSmartRef__":true,"id":2095}},"2095":{"Gas":89.36,"Heat":0.27488,"Battery":0.103267,"ConsumedPower":0.039087,"ConsumedHeat":0.084038,"TWP":31.970143,"HS":17.254357,"Total":89.979152,"Time":1390819607.6749947,"lastIndex":5},"2096":{"source":{"__isSmartRef__":true,"id":2063},"target":{"__isSmartRef__":true,"id":2094}},"2097":{"onrestore":{"__isSmartRef__":true,"id":2098},"setTableTSV":{"__isSmartRef__":true,"id":2106},"setTable":{"__isSmartRef__":true,"id":2110},"printTableSortedBy":{"__isSmartRef__":true,"id":2114},"sortTableBy":{"__isSmartRef__":true,"id":2118},"onMouseUp":{"__isSmartRef__":true,"id":2122},"reset":{"__isSmartRef__":true,"id":2130},"setPlainText":{"__isSmartRef__":true,"id":2134},"selectRow":{"__isSmartRef__":true,"id":2138},"onDownPressed":{"__isSmartRef__":true,"id":2142},"onUpPressed":{"__isSmartRef__":true,"id":2150}},"2098":{"varMapping":{"__isSmartRef__":true,"id":2099},"source":"function onrestore() {\n // hack, is fixedWidth not persisted?\n this.applyStyle({fixedWidth: false})\n}","funcProperties":{"__isSmartRef__":true,"id":2104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2099":{"this":{"__isSmartRef__":true,"id":2063},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2100}},"2100":{"$super":{"__isSmartRef__":true,"id":2101}},"2101":{"varMapping":{"__isSmartRef__":true,"id":2102},"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":2103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2102":{"obj":{"__isSmartRef__":true,"id":2063},"name":"onrestore"},"2103":{},"2104":{"timestamp":{"__isSmartRef__":true,"id":2105},"user":"jenslincke","tags":[]},"2105":{"isSerializedDate":true,"string":"Thu Apr 18 2013 11:53:11 GMT+0200 (CEST)"},"2106":{"varMapping":{"__isSmartRef__":true,"id":2107},"source":"function setTableTSV(string) {\n var table = Strings.lines(string).collect(function(ea) {\n return ea.split(\"\\t\")\n })\n this.setTable(table)\n}","funcProperties":{"__isSmartRef__":true,"id":2108},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2107":{"this":{"__isSmartRef__":true,"id":2063}},"2108":{"timestamp":{"__isSmartRef__":true,"id":2109},"user":"jenslincke","tags":[]},"2109":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:16:18 GMT+0200 (CEST)"},"2110":{"varMapping":{"__isSmartRef__":true,"id":2111},"source":"function setTable(table) {\n this.table = table\n this.printTableSortedBy(table)\n}","funcProperties":{"__isSmartRef__":true,"id":2112},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2111":{"this":{"__isSmartRef__":true,"id":2063}},"2112":{"timestamp":{"__isSmartRef__":true,"id":2113},"user":"jenslincke","tags":[]},"2113":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:19:21 GMT+0200 (CEST)"},"2114":{"varMapping":{"__isSmartRef__":true,"id":2115},"source":"function printTableSortedBy(table, column) {\n if (!table) return \n this.isSelectingOnClick = true\n this.currenColumnName = column;\n var header = this.table.columns;\n var data = this.table.data\n if (column) {\n data = data.sortBy(function(ea) { return ea[column]})\n if (this.lastSortedColumn == column) {\n this.lastSortedColumn = null\n data = data.reverse()\n } else {\n this.lastSortedColumn = column \n }\n }\n data.each(function(ea, index) { ea.lastIndex = index})\n\n table = data.collect(function(row) {\n return header.collect(function(column) { return row[column]})\n })\n\n table = [header].concat(table)\n var indexedTable = table.collect(function(ea, index) { return [index].concat(ea)})\n this.textString = Strings.printTable(indexedTable);\n var s = this.textString\n var columnNames = table.first();\n columnNames.each(function(ea) {\n this.emphasize(\n {\n fontWeight: 'bold',\n doit: {code: 'this.sortTableBy(\"' + ea + '\")', context: this}\n },\n s.indexOf(ea), s.indexOf(ea) + ea.length\n )\n }, this)\n\n this.setFixedWidth(false)\n\n}","funcProperties":{"__isSmartRef__":true,"id":2116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2115":{"this":{"__isSmartRef__":true,"id":2063}},"2116":{"timestamp":{"__isSmartRef__":true,"id":2117},"user":"jenslincke","tags":[]},"2117":{"isSerializedDate":true,"string":"Sat Jan 04 2014 23:17:38 GMT+0100 (CET)"},"2118":{"varMapping":{"__isSmartRef__":true,"id":2119},"source":"function sortTableBy(columnName) {\n this.printTableSortedBy(this.table, columnName);\n}","funcProperties":{"__isSmartRef__":true,"id":2120},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2119":{"this":{"__isSmartRef__":true,"id":2063}},"2120":{"timestamp":{"__isSmartRef__":true,"id":2121},"user":"jenslincke","tags":[]},"2121":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:19:30 GMT+0200 (CEST)"},"2122":{"varMapping":{"__isSmartRef__":true,"id":2123},"source":"function onMouseUp(evt) {\n if(!this.isSelectingOnClick) return $super(evt)\n this.selectCurrentLine()\n this.selectedIndex = new Number(this.getSelectionOrLineString().replace(/ .*/,\"\"))\n // alertOK(\"\" + this.getSelectionOrLineString() +\": \"+ this.selectedIndex)\n this.selectRow(this.selectedIndex)\n}","funcProperties":{"__isSmartRef__":true,"id":2128},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2123":{"this":{"__isSmartRef__":true,"id":2063},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2124}},"2124":{"$super":{"__isSmartRef__":true,"id":2125}},"2125":{"varMapping":{"__isSmartRef__":true,"id":2126},"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":2127},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2126":{"obj":{"__isSmartRef__":true,"id":2063},"name":"onMouseUp"},"2127":{},"2128":{"timestamp":{"__isSmartRef__":true,"id":2129},"user":"jenslincke","tags":[]},"2129":{"isSerializedDate":true,"string":"Sat Jan 04 2014 23:29:28 GMT+0100 (CET)"},"2130":{"varMapping":{"__isSmartRef__":true,"id":2131},"source":"function reset() {\n this.connections = {selection: {}, selectionIndex: {}}\n}","funcProperties":{"__isSmartRef__":true,"id":2132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2131":{"this":{"__isSmartRef__":true,"id":2063}},"2132":{"timestamp":{"__isSmartRef__":true,"id":2133},"user":"jenslincke","tags":[]},"2133":{"isSerializedDate":true,"string":"Fri Dec 20 2013 14:40:39 GMT+0100 (CET)"},"2134":{"varMapping":{"__isSmartRef__":true,"id":2135},"source":"function setPlainText(s) {\n this.isSelectingOnClick = false\n this.textString = s\n}","funcProperties":{"__isSmartRef__":true,"id":2136},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2135":{"this":{"__isSmartRef__":true,"id":2063}},"2136":{"timestamp":{"__isSmartRef__":true,"id":2137},"user":"jenslincke","tags":[]},"2137":{"isSerializedDate":true,"string":"Tue Dec 31 2013 15:24:12 GMT+0100 (CET)"},"2138":{"varMapping":{"__isSmartRef__":true,"id":2139},"source":"function selectRow(index) {\n this.emphasizeAll({backgroundColor: null})\n this.selectedIndex = Math.max(1, Math.min(this.table.data.length - 1, index))\n this.selection = this.table.data.detect(function(ea) { return ea.lastIndex == this.selectedIndex }.bind(this))\n this.emphasizeRegex(new RegExp(\"(^|\\n)\"+ this.selectedIndex + \" .+(\\n|$)\",'g'), {backgroundColor: Color.gray})\n}","funcProperties":{"__isSmartRef__":true,"id":2140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2139":{"this":{"__isSmartRef__":true,"id":2063}},"2140":{"timestamp":{"__isSmartRef__":true,"id":2141},"user":"jenslincke","tags":[]},"2141":{"isSerializedDate":true,"string":"Sat Jan 04 2014 23:27:27 GMT+0100 (CET)"},"2142":{"varMapping":{"__isSmartRef__":true,"id":2143},"source":"function onDownPressed() {\n if(!this.isSelectingOnClick) return $super(evt)\n this.selectRow(this.selectedIndex + 1)\n}","funcProperties":{"__isSmartRef__":true,"id":2148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2143":{"this":{"__isSmartRef__":true,"id":2063},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2144}},"2144":{"$super":{"__isSmartRef__":true,"id":2145}},"2145":{"varMapping":{"__isSmartRef__":true,"id":2146},"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":2147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2146":{"obj":{"__isSmartRef__":true,"id":2063},"name":"onDownPressed"},"2147":{},"2148":{"timestamp":{"__isSmartRef__":true,"id":2149},"user":"jenslincke","tags":[]},"2149":{"isSerializedDate":true,"string":"Wed Jan 01 2014 23:38:26 GMT+0100 (CET)"},"2150":{"varMapping":{"__isSmartRef__":true,"id":2151},"source":"function onUpPressed() {\n if(!this.isSelectingOnClick) return $super(evt)\n this.selectRow(this.selectedIndex - 1)\n}","funcProperties":{"__isSmartRef__":true,"id":2156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2151":{"this":{"__isSmartRef__":true,"id":2063},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2152}},"2152":{"$super":{"__isSmartRef__":true,"id":2153}},"2153":{"varMapping":{"__isSmartRef__":true,"id":2154},"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":2155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2154":{"obj":{"__isSmartRef__":true,"id":2063},"name":"onUpPressed"},"2155":{},"2156":{"timestamp":{"__isSmartRef__":true,"id":2157},"user":"jenslincke","tags":[]},"2157":{"isSerializedDate":true,"string":"Wed Jan 01 2014 23:38:40 GMT+0100 (CET)"},"2158":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(943.8,285.7)","_BorderColor":"Color.rgb(219,219,219)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"2159":{"partsSpaceName":"PartsBin/Widgets/","comment":"A quick and dirty table with clip","migrationLevel":4,"partName":"SelectTableClip","changes":[{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2162},{"__isSmartRef__":true,"id":2164},{"__isSmartRef__":true,"id":2166},{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2170},{"__isSmartRef__":true,"id":2172},{"__isSmartRef__":true,"id":2174},{"__isSmartRef__":true,"id":2176},{"__isSmartRef__":true,"id":2178},{"__isSmartRef__":true,"id":2180},{"__isSmartRef__":true,"id":2182},{"__isSmartRef__":true,"id":2184},{"__isSmartRef__":true,"id":2186},{"__isSmartRef__":true,"id":2188},{"__isSmartRef__":true,"id":2190},{"__isSmartRef__":true,"id":2192},{"__isSmartRef__":true,"id":2194},{"__isSmartRef__":true,"id":2196},{"__isSmartRef__":true,"id":2198}],"lastModifiedDate":{"__isSmartRef__":true,"id":2200},"revisionOnLoad":204376,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2160":{"date":{"__isSmartRef__":true,"id":2161},"author":"jenslincke","message":"no comment","id":"B9BE1BEE-DAE1-4747-9D07-40017E825BC0"},"2161":{"isSerializedDate":true,"string":"Sat Jan 25 2014 12:37:34 GMT+0100 (CET)"},"2162":{"date":{"__isSmartRef__":true,"id":2163},"author":"jenslincke","message":"no comment","id":"E4C7498C-EAC9-4C91-A754-EE39F951E6F8"},"2163":{"isSerializedDate":true,"string":"Wed Dec 04 2013 15:26:15 GMT+0100 (CET)"},"2164":{"date":{"__isSmartRef__":true,"id":2165},"author":"jenslincke","message":"no comment","id":"711F9AD5-2F47-444A-883D-F445555F6B29"},"2165":{"isSerializedDate":true,"string":"Wed Dec 04 2013 15:25:56 GMT+0100 (CET)"},"2166":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2167}},"2167":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2168":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2169}},"2169":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2170":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2171}},"2171":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2172":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2173}},"2173":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2174":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2175}},"2175":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2176":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2177}},"2177":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2178":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2179}},"2179":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2180":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2181}},"2181":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2182":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2183}},"2183":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2184":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2185}},"2185":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2186":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2187}},"2187":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2188":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2189}},"2189":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2190":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2191}},"2191":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2192":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2193}},"2193":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2194":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2195}},"2195":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2196":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2197}},"2197":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2198":{"date":{"__isSmartRef__":true,"id":2199},"author":"jenslincke","message":"no comment","id":"CD00CB2E-7C38-470A-AFBD-420B0B8E7A73"},"2199":{"isSerializedDate":true,"string":"Sat Jan 04 2014 22:05:34 GMT+0100 (CET)"},"2200":{"isSerializedDate":true,"string":"Sat Jan 25 2014 12:36:33 GMT+0100 (CET)"},"2201":{"morph":{"__isSmartRef__":true,"id":2062},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2202":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2203}},"2203":{"test01IsMorph":{"__isSmartRef__":true,"id":2204}},"2204":{"varMapping":{"__isSmartRef__":true,"id":2205},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2205":{"this":{"__isSmartRef__":true,"id":2202}},"2206":{},"2207":{"resizeWidth":true,"resizeHeight":true},"2208":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(998.9,352.4)","_BorderColor":"Color.rgb(200,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"2209":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":4,"partName":"ValueInput","changes":[{"__isSmartRef__":true,"id":2210},{"__isSmartRef__":true,"id":2212},{"__isSmartRef__":true,"id":2214},{"__isSmartRef__":true,"id":2216},{"__isSmartRef__":true,"id":2218},{"__isSmartRef__":true,"id":2220},{"__isSmartRef__":true,"id":2222},{"__isSmartRef__":true,"id":2224},{"__isSmartRef__":true,"id":2226},{"__isSmartRef__":true,"id":2228},{"__isSmartRef__":true,"id":2230},{"__isSmartRef__":true,"id":2232},{"__isSmartRef__":true,"id":2234},{"__isSmartRef__":true,"id":2236},{"__isSmartRef__":true,"id":2238},{"__isSmartRef__":true,"id":2240},{"__isSmartRef__":true,"id":2242}],"lastModifiedDate":{"__isSmartRef__":true,"id":2244},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2210":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2211}},"2211":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2212":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2213}},"2213":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2214":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2215}},"2215":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2216":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2217}},"2217":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2218":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2219}},"2219":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2220":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2221}},"2221":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2222":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2223}},"2223":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2224":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2225}},"2225":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2226":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2227}},"2227":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2228":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2229}},"2229":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2230":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2231}},"2231":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2232":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2233}},"2233":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2234":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2235}},"2235":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2236":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2237}},"2237":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2238":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2239}},"2239":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2240":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2241}},"2241":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2242":{"date":{"__isSmartRef__":true,"id":2243},"author":"jenslincke","message":"no comment","id":"D32C43BE-72DA-4F02-84D0-AFA7B3DFFA74"},"2243":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:19:45 GMT+0100 (CET)"},"2244":{"isSerializedDate":true,"string":"Thu Aug 15 2013 21:21:30 GMT+0200 (CEST)"},"2245":{"morph":{"__isSmartRef__":true,"id":2027},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2246":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2247}},"2247":{"test01IsMorph":{"__isSmartRef__":true,"id":2248}},"2248":{"varMapping":{"__isSmartRef__":true,"id":2249},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2249":{"this":{"__isSmartRef__":true,"id":2246}},"2250":{},"2251":{"adjustForNewBounds":true},"2252":{"addData":{"__isSmartRef__":true,"id":2253},"resetData":{"__isSmartRef__":true,"id":2257},"showData":{"__isSmartRef__":true,"id":2261}},"2253":{"varMapping":{"__isSmartRef__":true,"id":2254},"source":"function addData(date) {\n if(!this.table) this.table = { columns: Properties.own(date), data: []}\n this.table.data.push(date)\n}","funcProperties":{"__isSmartRef__":true,"id":2255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2254":{"this":{"__isSmartRef__":true,"id":2027}},"2255":{"timestamp":{"__isSmartRef__":true,"id":2256},"user":"jenslincke","tags":[]},"2256":{"isSerializedDate":true,"string":"Sat Jan 25 2014 12:43:11 GMT+0100 (CET)"},"2257":{"varMapping":{"__isSmartRef__":true,"id":2258},"source":"function resetData(date) {\n this.table = null\n}","funcProperties":{"__isSmartRef__":true,"id":2259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2258":{"this":{"__isSmartRef__":true,"id":2027}},"2259":{"timestamp":{"__isSmartRef__":true,"id":2260},"user":"jenslincke","tags":[]},"2260":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:51:34 GMT+0100 (CET)"},"2261":{"varMapping":{"__isSmartRef__":true,"id":2262},"source":"function showData() {\n this.get(\"Table\").setTable(this.table || {columns: [], data: []})\n if (!this.table) {\n this.get(\"Visualization\").clear()\n } else {\n this.get(\"Visualization\").draw()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2263},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2262":{"this":{"__isSmartRef__":true,"id":2027}},"2263":{"timestamp":{"__isSmartRef__":true,"id":2264},"user":"jenslincke","tags":[]},"2264":{"isSerializedDate":true,"string":"Sat Jan 25 2014 23:21:11 GMT+0100 (CET)"},"2265":{"#startLetters":"d3","_ClipMode":"visible","_traitConfig_":[{"__isSmartRef__":true,"id":2266},{"__isSmartRef__":true,"id":2268}],"derivationIds":[null,"3C1D17F3-0044-4726-B85A-A251A1F703B8","E43FA7DD-9693-40B9-8E88-821D5DCC0811","9FB8D17D-9023-44E8-9410-8AD268E25C75","9BD8C9A7-2A05-43C2-B96B-5EBD5ED44A95","54E9039F-4D91-48B7-B91C-8338A0BEC1F7","1A5EB7AE-1AC3-4FA6-8CF2-0835DF44CFA1","70EF3E19-6C17-4AF7-8C9B-406C7086FDB9","F339FE29-2DCB-412C-AC2A-3427836D8E01","1C09A3B2-9BEC-4791-8140-328F82C79025","717B61B6-1ED9-4352-89F1-215B0148A491","7C62382C-A5E1-4302-BA7E-79A1EAB06592","D7236C84-FA4D-4A12-A484-272D5B76E919","10F38E43-8F87-4ED9-B839-C55255A3C121","2AC30033-165B-4812-9CFE-3056BB5B211B","CFB6B1E6-8C7E-4A34-BFE7-27D8FB6E9570","4628B9BA-F948-4874-95EC-B0E1E6615699","51FD6EA3-83B2-4E5B-985E-88F399944801","1E1F9B91-A691-4B7F-B963-AFC5B3A6A38F","46F2A1FD-11EA-41D1-945E-A857D86982B0"],"__layered_droppingEnabled__":false,"eventHandler":{"__isSmartRef__":true,"id":2270},"halosEnabled":true,"id":"D5302711-DBC5-4969-ADA0-F60EDC50FAA8","isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":2271},"name":"Visualization","partsBinMetaInfo":{"__isSmartRef__":true,"id":2272},"prevScroll":[0,0],"scripts":[],"shape":{"__isSmartRef__":true,"id":2292},"showsHalos":false,"submorphs":[],"xUnit":"words","yUnit":"ms","yValues":[1,0,2,4,4,2,2,6,6,5,1],"doNotSerialize":["chart","svgNode","data","lastNode"],"isLockOwner":false,"grabbingEnabled":false,"nextDataIndex":6,"nextDataInde":0,"nextDataIndex2":null,"moved":true,"_StyleSheet":{"__isSmartRef__":true,"id":2338},"_StyleClassNames":["Morph","HtmlWrapperMorph"],"isCopyMorphRef":true,"morphRefId":1,"owner":{"__isSmartRef__":true,"id":1},"scaleDetail":0.045,"attributeConnections":[{"__isSmartRef__":true,"id":2295},{"__isSmartRef__":true,"id":2326}],"target":{"__isSmartRef__":true,"id":2348},"_Visible":true,"nodeSizeFuncions":[],"nodeSizeFunctions":null,"lastD3Translate":[-67,-117],"lastD3Scale":0.206,"_PreviousBorderWidth":0,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","updateDelayed","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2349},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","distanceToDragEvent":"lively.pt(1154.6,-13.2)","updateDelayed":"lively.pt(1734.0,894.0)","_Position":"lively.pt(-2.8,1012.5)"},"2266":{"options":{"__isSmartRef__":true,"id":2267},"traitName":"d3WrapperTrait"},"2267":{},"2268":{"options":{"__isSmartRef__":true,"id":2269},"traitName":"apps.d3Interface.d3WrapperTrait"},"2269":{},"2270":{"morph":{"__isSmartRef__":true,"id":2265},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2271":{"resizeHeight":true,"resizeWidth":true,"adjustForNewBounds":true},"2272":{"#startLetters":"","partName":"MultiLineChart","requiredModules":["apps.d3Interface"],"partsSpaceName":"PartsBin/Visualization/","comment":"A simple D3 Line Chart","changes":[{"__isSmartRef__":true,"id":2273},{"__isSmartRef__":true,"id":2275},{"__isSmartRef__":true,"id":2277},{"__isSmartRef__":true,"id":2279},{"__isSmartRef__":true,"id":2281},{"__isSmartRef__":true,"id":2283},{"__isSmartRef__":true,"id":2285},{"__isSmartRef__":true,"id":2287},{"__isSmartRef__":true,"id":2289}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":2291},"revisionOnLoad":204389,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2273":{"date":{"__isSmartRef__":true,"id":2274},"author":"jenslincke","message":"no comment","id":"900E924E-3DCD-4D36-8A5E-D127326B5E11"},"2274":{"isSerializedDate":true,"string":"Fri Jan 18 2013 11:57:37 GMT+0100 (CET)"},"2275":{"date":{"__isSmartRef__":true,"id":2276},"author":"jenslincke","message":"no comment","id":"EA8F98BC-8C7A-4CAE-AE29-018891B193BD"},"2276":{"isSerializedDate":true,"string":"Tue Dec 18 2012 13:13:31 GMT+0100 (CET)"},"2277":{"date":{"__isSmartRef__":true,"id":2278},"author":"jenslincke","message":"no comment","id":"0755F3DA-DF64-42F7-ABDB-3C44A0BB26AE"},"2278":{"isSerializedDate":true,"string":"Tue Dec 18 2012 13:13:06 GMT+0100 (CET)"},"2279":{"date":{"__isSmartRef__":true,"id":2280},"author":"jenslincke","message":"no comment","id":"7D1101AA-8EAA-45A3-815A-CD8CA3E33E22"},"2280":{"isSerializedDate":true,"string":"Fri Jan 18 2013 14:24:46 GMT+0100 (CET)"},"2281":{"date":{"__isSmartRef__":true,"id":2282},"author":"jenslincke","message":"no comment","id":"1DF7B5DC-D35D-48A1-96CC-D41D3A09E32D"},"2282":{"isSerializedDate":true,"string":"Fri Jan 18 2013 14:26:16 GMT+0100 (CET)"},"2283":{"date":{"__isSmartRef__":true,"id":2284},"author":"jenslincke","message":"no comment","id":"49533FF8-27AF-4D61-AF07-8C2333C56248"},"2284":{"isSerializedDate":true,"string":"Fri Jan 18 2013 15:16:13 GMT+0100 (CET)"},"2285":{"date":{"__isSmartRef__":true,"id":2286},"author":"jenslincke","message":"no comment","id":"A98DE527-3D34-4333-9255-890015DC8B5E"},"2286":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:24:08 GMT+0100 (CET)"},"2287":{"date":{"__isSmartRef__":true,"id":2288},"author":"jenslincke","message":"no comment","id":"77112C1B-2C37-4754-B188-C360914F510C"},"2288":{"isSerializedDate":true,"string":"Sat Jan 25 2014 11:01:33 GMT+0100 (CET)"},"2289":{"date":{"__isSmartRef__":true,"id":2290},"author":"jenslincke","message":"no comment","id":"561EE98D-611F-4EBF-B30F-A46912687098"},"2290":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:24:57 GMT+0100 (CET)"},"2291":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:23:56 GMT+0100 (CET)"},"2292":{"_BorderRadius":0,"_BorderStyle":"solid","_BorderWidth":0,"_Opacity":1,"stringifiedShapeNode":"","_AppearanceStylingMode":false,"_BorderStylingMode":true,"attributeConnections":[{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2302},{"__isSmartRef__":true,"id":2328}],"doNotSerialize":["$$_Extent"],"doNotCopyProperties":["$$_Extent"],"__serializedExpressions__":["_BorderColor","_Fill","_Padding","_Position","extent","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":"Color.rgb(222,222,222)","_Fill":"Color.rgb(244,244,244)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,-3.0)","extent":"lively.pt(1734.0,894.0)","_Extent":"lively.pt(1734.0,894.0)"},"2293":{"sourceObj":{"__isSmartRef__":true,"id":2292},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":2265},"targetMethodName":"updateDelayed","varMapping":{"__isSmartRef__":true,"id":2294},"dependedBy":{"__isSmartRef__":true,"id":2295},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2294":{"source":{"__isSmartRef__":true,"id":2292},"target":{"__isSmartRef__":true,"id":2265}},"2295":{"dependendConnections":[{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2299},{"__isSmartRef__":true,"id":2293},{"__isSmartRef__":true,"id":2302}],"sourceAttrName":"extent","sourceObj":{"__isSmartRef__":true,"id":2265},"targetMethodName":"updateDelayed","targetObj":{"__isSmartRef__":true,"id":2265},"attributeConnections":[{"__isSmartRef__":true,"id":2304},{"__isSmartRef__":true,"id":2306},{"__isSmartRef__":true,"id":2308},{"__isSmartRef__":true,"id":2310},{"__isSmartRef__":true,"id":2312},{"__isSmartRef__":true,"id":2314},{"__isSmartRef__":true,"id":2316},{"__isSmartRef__":true,"id":2318},{"__isSmartRef__":true,"id":2320},{"__isSmartRef__":true,"id":2322}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"2296":{"dependedBy":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"_Extent","sourceObj":{"__isSmartRef__":true,"id":2297},"targetMethodName":"updateDelayed","targetObj":{"__isSmartRef__":true,"id":2265},"varMapping":{"__isSmartRef__":true,"id":2298},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2297":{"_BorderRadius":0,"_BorderStyle":"solid","_BorderWidth":0,"_Opacity":1,"attributeConnections":[{"__isSmartRef__":true,"id":2296}],"doNotCopyProperties":["$$_Extent"],"doNotSerialize":["$$_Extent"],"stringifiedShapeNode":"","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__serializedExpressions__":["_BorderColor","_Extent","_Fill","_Padding","_Position","extent"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":"Color.rgb(222,222,222)","_Extent":"lively.pt(1299.0,962.0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,-3.0)","extent":"lively.pt(0.0,0.0)"},"2298":{"source":{"__isSmartRef__":true,"id":2297},"target":{"__isSmartRef__":true,"id":2265}},"2299":{"sourceObj":{"__isSmartRef__":true,"id":2300},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":2265},"targetMethodName":"updateDelayed","varMapping":{"__isSmartRef__":true,"id":2301},"dependedBy":{"__isSmartRef__":true,"id":2295},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2300":{"_BorderRadius":0,"_BorderStyle":"solid","_BorderWidth":0,"_Opacity":1,"stringifiedShapeNode":"","_AppearanceStylingMode":false,"_BorderStylingMode":true,"attributeConnections":[{"__isSmartRef__":true,"id":2299}],"doNotSerialize":["$$_Extent"],"doNotCopyProperties":["$$_Extent"],"__serializedExpressions__":["_BorderColor","_Fill","_Padding","_Position","extent","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderColor":"Color.rgb(222,222,222)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(0.0,-3.0)","extent":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1299.0,962.0)"},"2301":{"source":{"__isSmartRef__":true,"id":2300},"target":{"__isSmartRef__":true,"id":2265}},"2302":{"sourceObj":{"__isSmartRef__":true,"id":2292},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":2295},"targetMethodName":"update","varMapping":{"__isSmartRef__":true,"id":2303},"dependedBy":{"__isSmartRef__":true,"id":2295},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2303":{"source":{"__isSmartRef__":true,"id":2292},"target":{"__isSmartRef__":true,"id":2295}},"2304":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":2296},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":2305},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2305":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2296}},"2306":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":2296},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":2307},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2307":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2296}},"2308":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":2296},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":2309},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2309":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2296}},"2310":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":2299},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":2311},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2311":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2299}},"2312":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":2299},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":2313},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2313":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2299}},"2314":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":2299},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":2315},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2315":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2299}},"2316":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":2293},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":2317},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2317":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2293}},"2318":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":2293},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":2319},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2319":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2293}},"2320":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":2293},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":2321},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2321":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2293}},"2322":{"sourceObj":{"__isSmartRef__":true,"id":2295},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":2302},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":2323},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2323":{"source":{"__isSmartRef__":true,"id":2295},"target":{"__isSmartRef__":true,"id":2302}},"2324":{"sourceObj":{"__isSmartRef__":true,"id":2292},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":2265},"targetMethodName":"draw","varMapping":{"__isSmartRef__":true,"id":2325},"dependedBy":{"__isSmartRef__":true,"id":2326},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2325":{"source":{"__isSmartRef__":true,"id":2292},"target":{"__isSmartRef__":true,"id":2265}},"2326":{"sourceObj":{"__isSmartRef__":true,"id":2265},"sourceAttrName":"extent","targetObj":{"__isSmartRef__":true,"id":2265},"targetMethodName":"draw","varMapping":{"__isSmartRef__":true,"id":2327},"dependendConnections":[{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2328}],"attributeConnections":[{"__isSmartRef__":true,"id":2330},{"__isSmartRef__":true,"id":2332},{"__isSmartRef__":true,"id":2334},{"__isSmartRef__":true,"id":2336}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"2327":{"source":{"__isSmartRef__":true,"id":2265},"target":{"__isSmartRef__":true,"id":2265}},"2328":{"sourceObj":{"__isSmartRef__":true,"id":2292},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":2326},"targetMethodName":"update","varMapping":{"__isSmartRef__":true,"id":2329},"dependedBy":{"__isSmartRef__":true,"id":2326},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2329":{"source":{"__isSmartRef__":true,"id":2292},"target":{"__isSmartRef__":true,"id":2326}},"2330":{"sourceObj":{"__isSmartRef__":true,"id":2326},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":2324},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":2331},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2331":{"source":{"__isSmartRef__":true,"id":2326},"target":{"__isSmartRef__":true,"id":2324}},"2332":{"sourceObj":{"__isSmartRef__":true,"id":2326},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":2324},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":2333},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2333":{"source":{"__isSmartRef__":true,"id":2326},"target":{"__isSmartRef__":true,"id":2324}},"2334":{"sourceObj":{"__isSmartRef__":true,"id":2326},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":2324},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":2335},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2335":{"source":{"__isSmartRef__":true,"id":2326},"target":{"__isSmartRef__":true,"id":2324}},"2336":{"sourceObj":{"__isSmartRef__":true,"id":2326},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":2328},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":2337},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2337":{"source":{"__isSmartRef__":true,"id":2326},"target":{"__isSmartRef__":true,"id":2328}},"2338":{"rules":[{"__isSmartRef__":true,"id":2339},{"__isSmartRef__":true,"id":2343},{"__isSmartRef__":true,"id":2344}],"originMorph":{"__isSmartRef__":true,"id":2265},"__LivelyClassName__":"lively.morphic.StyleSheet","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2339":{"declarations":[{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2341},{"__isSmartRef__":true,"id":2342}],"styleSheet":{"__isSmartRef__":true,"id":2338},"selector":".axis path, .axis line","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2340":{"values":["none"],"rule":{"__isSmartRef__":true,"id":2339},"property":"fill","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2341":{"values":["#000"],"rule":{"__isSmartRef__":true,"id":2339},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2342":{"values":["crispEdges"],"rule":{"__isSmartRef__":true,"id":2339},"property":"shape-rendering","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2343":{"declarations":[],"styleSheet":{"__isSmartRef__":true,"id":2338},"selector":".x.axis path","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2344":{"declarations":[{"__isSmartRef__":true,"id":2345},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2347}],"styleSheet":{"__isSmartRef__":true,"id":2338},"selector":".line","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2345":{"values":["none"],"rule":{"__isSmartRef__":true,"id":2344},"property":"fill","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2346":{"values":["steelblue"],"rule":{"__isSmartRef__":true,"id":2344},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2347":{"values":["1.5px"],"rule":{"__isSmartRef__":true,"id":2344},"property":"stroke-width","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"2348":{"name":"root","submorphs":[null]},"2349":{"reset":{"__isSmartRef__":true,"id":2350},"update":{"__isSmartRef__":true,"id":2354},"draw":{"__isSmartRef__":true,"id":2358},"getChart":{"__isSmartRef__":true,"id":2362},"onrestore":{"__isSmartRef__":true,"id":2366},"installLayers":{"__isSmartRef__":true,"id":2374},"clear":{"__isSmartRef__":true,"id":2378},"getD3Transform":{"__isSmartRef__":true,"id":2382},"setD3Transform":{"__isSmartRef__":true,"id":2386},"onExport":{"__isSmartRef__":true,"id":2390},"catchErrors":{"__isSmartRef__":true,"id":2394},"getData":{"__isSmartRef__":true,"id":2398},"getExampleData":{"__isSmartRef__":true,"id":2402}},"2350":{"varMapping":{"__isSmartRef__":true,"id":2351},"source":"function reset() {\n this.doNotSerialize = ['chart', 'svgNode', 'data', 'lastNode'];\n this.data = null;\n this.startStepping(1000, 'redraw');\n this.stopStepping()\n this.scaleDetail = 1\n \n}","funcProperties":{"__isSmartRef__":true,"id":2352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2351":{"this":{"__isSmartRef__":true,"id":2265}},"2352":{"timestamp":{"__isSmartRef__":true,"id":2353},"tags":[]},"2353":{"isSerializedDate":true,"string":"Sat Jan 25 2014 10:03:49 GMT+0100 (CET)"},"2354":{"varMapping":{"__isSmartRef__":true,"id":2355},"source":"function update() {\n\n this.draw();\n\n this.d3TransistionNodes()\n}","funcProperties":{"__isSmartRef__":true,"id":2356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2355":{"this":{"__isSmartRef__":true,"id":2265}},"2356":{"timestamp":{"__isSmartRef__":true,"id":2357},"user":"jenslincke","tags":[]},"2357":{"isSerializedDate":true,"string":"Wed Oct 02 2013 18:22:41 GMT+0200 (CEST)"},"2358":{"varMapping":{"__isSmartRef__":true,"id":2359},"source":"function draw() {\n if (!this.chart) this.chart = this.getChart();\n this.clear()\n\n var margin = {top: 30, right: 130, bottom: 30, left: 80},\n width = this.getExtent().x - margin.left - margin.right,\n height = this.getExtent().y - margin.top - margin.bottom;\n\n // var x = d3.scale.linear().range([0, width]);\n var x = d3.time.scale().range([0, width]);\n var y = d3.scale.linear().range([height, 0]);\n var color = d3.scale.category10();\n\n var xAxis = d3.svg.axis()\n .scale(x)\n .orient(\"bottom\");\n var yAxis = d3.svg.axis()\n .scale(y)\n .orient(\"left\");\n\n\n\ncop.withLayers([NoPrettyArrayPrintingLayer], function() { \n\n var dataAndTimes = this.getData()\n var times = dataAndTimes.detect(function(ea) {\n return ea.name == \"Time\"}).values.collect(function(ea) { return new Date(ea * 1000)});\n var line = d3.svg.line()\n .interpolate(\"line\")\n .x(function(d, index) { return x(times[index]); })\n .y(function(d) { return y(d); });\n\n var svg = this.chart.append(\"svg\")\n .attr(\"width\", width + margin.left + margin.right)\n .attr(\"height\", height + margin.top + margin.bottom)\n .append(\"g\")\n .attr(\"transform\", \"translate(\" + margin.left + \",\" + margin.top + \")\");\n\n\n var data = dataAndTimes.reject(function(ea) { return ea.name == \"Time\"});\n color.domain(data.pluck(\"name\"))\n\n\n \n x.domain([times.first(), times.last() ]);\n\n d3.min(data[0].values, function(v) { return v; })\n\n y.domain([\n d3.min(data, function(c) { return d3.min(c.values, function(v) { return v; }); }),\n d3.max(data, function(c) { return d3.max(c.values, function(v) { return v; }); })\n ]);\n\n svg.append(\"g\")\n .attr(\"class\", \"x axis\")\n .attr(\"transform\", \"translate(0,\" + height + \")\")\n .call(xAxis);\n\n svg.append(\"g\")\n .attr(\"class\", \"y axis\")\n .call(yAxis)\n\n\n var column = svg.selectAll(\".measurement\")\n .data(data)\n .enter().append(\"g\")\n .attr(\"class\", \"city\");\n\n column.append(\"path\")\n .attr(\"class\", \"line\")\n .attr(\"d\", function(d) { return line(d.values); })\n .style(\"stroke\", function(d) { return color(d.name); });\n\n column.append(\"text\")\n .datum(function(d) { return {name: d.name, value: d.values[d.values.length - 1]}; })\n .attr(\"transform\", function(d) { return \"translate(\" + x(times.last()) + \",\" + y(d.value) + \")\"; })\n .attr(\"x\", 3)\n .attr(\"dy\", \".35em\")\n .text(function(d) { return d.name; });\n\n}.bind(this))\n\n}","funcProperties":{"__isSmartRef__":true,"id":2360},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2359":{"this":{"__isSmartRef__":true,"id":2265}},"2360":{"timestamp":{"__isSmartRef__":true,"id":2361},"user":"jenslincke","tags":[]},"2361":{"isSerializedDate":true,"string":"Sun Jan 26 2014 23:34:19 GMT+0100 (CET)"},"2362":{"varMapping":{"__isSmartRef__":true,"id":2363},"source":"function getChart() {\n return d3.select(this.renderContext().shapeNode);\n}","funcProperties":{"__isSmartRef__":true,"id":2364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2363":{"this":{"__isSmartRef__":true,"id":2265}},"2364":{"timestamp":{"__isSmartRef__":true,"id":2365},"user":"markoroeder","tags":[]},"2365":{"isSerializedDate":true,"string":"Mon Dec 17 2012 11:04:18 GMT+0100 (CET)"},"2366":{"varMapping":{"__isSmartRef__":true,"id":2367},"source":"function onrestore() {\n \n // D3 is not loaded yet\n // d3.transition.prototype.attr\n lively.bindings.callWhenPathNotNull(Global, [\"d3\", \"transition\"], \n function() {\n this.installLayers.bind(this).delay(0)\n }.bind(this), \"call\")\n \n}","funcProperties":{"__isSmartRef__":true,"id":2372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2367":{"this":{"__isSmartRef__":true,"id":2265},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2368}},"2368":{"$super":{"__isSmartRef__":true,"id":2369}},"2369":{"varMapping":{"__isSmartRef__":true,"id":2370},"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":2371},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2370":{"obj":{"__isSmartRef__":true,"id":2265},"name":"onrestore"},"2371":{},"2372":{"timestamp":{"__isSmartRef__":true,"id":2373},"user":"jenslincke","tags":[]},"2373":{"isSerializedDate":true,"string":"Thu Jul 18 2013 16:44:41 GMT+0200 (CEST)"},"2374":{"varMapping":{"__isSmartRef__":true,"id":2375},"source":"function installLayers() {\n cop.create(\"NoPrettyArrayPrintingLayer\").refineObject(Global, {\n printOn: function(objOrArray, ws) {\n // work around OMeta and D3 array printing incompatibilities\n if (Object.isArray(objOrArray)) {\n for (var idx = 0; idx < objOrArray.length; idx++) {\n if (idx > 0)\n ws.nextPutAll(\", \")\n printOn(objOrArray[idx], ws);\n }\n } else {\n return cop.proceed(objOrArray, ws)\n }\n }\n })\n \n // d3.transition.prototype.attr\n console.log(\"INSTALL D3 Error handler\")\n var errorHandlerFunc = function(key, value) {\n if (Object.isFunction(value)) {\n return cop.proceed(key, function() {\n try {\n return value.apply(this, arguments)\n } catch(e) {\n $world.logError(e)\n }\n })\n }\n return cop.proceed(key, value)\n }\n // Damn it, it error handling seems to be a homogenous concern\n // and AOP would be more appropriate here\n // but, higher order functions are also viable\n cop.create(\"CaptureD3Errors\").refineClass(d3.transition, {\n attr: errorHandlerFunc,\n style: errorHandlerFunc,\n }).refineClass(d3.selection, {\n attr: errorHandlerFunc,\n style: errorHandlerFunc,\n }).beGlobal()\n \n \n \n \n}","funcProperties":{"__isSmartRef__":true,"id":2376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2375":{"this":{"__isSmartRef__":true,"id":2265}},"2376":{"timestamp":{"__isSmartRef__":true,"id":2377},"user":"jenslincke","tags":[]},"2377":{"isSerializedDate":true,"string":"Thu Jul 18 2013 16:48:40 GMT+0200 (CEST)"},"2378":{"varMapping":{"__isSmartRef__":true,"id":2379},"source":"function clear() {\n if (!this.chart) return;\n this.chart.selectAll('svg').remove();\n this.chart.selectAll('div').remove();\n}","funcProperties":{"__isSmartRef__":true,"id":2380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2379":{"this":{"__isSmartRef__":true,"id":2265}},"2380":{"timestamp":{"__isSmartRef__":true,"id":2381},"user":"jenslincke","tags":[]},"2381":{"isSerializedDate":true,"string":"Wed Oct 02 2013 15:55:11 GMT+0200 (CEST)"},"2382":{"varMapping":{"__isSmartRef__":true,"id":2383},"source":"function getD3Transform() {\n if (!this.svgNode) return;\n return this.svgNode.attr(\"transform\")\n\n}","funcProperties":{"__isSmartRef__":true,"id":2384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2383":{"this":{"__isSmartRef__":true,"id":2265}},"2384":{"timestamp":{"__isSmartRef__":true,"id":2385},"user":"jenslincke","tags":[]},"2385":{"isSerializedDate":true,"string":"Tue Jul 16 2013 16:32:35 GMT+0200 (CEST)"},"2386":{"varMapping":{"__isSmartRef__":true,"id":2387},"source":"function setD3Transform(value) {\n if (!this.svgNode || !value) return;\n\n return this.svgNode.attr(\"transform\", value)\n\n}","funcProperties":{"__isSmartRef__":true,"id":2388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2387":{"this":{"__isSmartRef__":true,"id":2265}},"2388":{"timestamp":{"__isSmartRef__":true,"id":2389},"user":"jenslincke","tags":[]},"2389":{"isSerializedDate":true,"string":"Tue Jul 16 2013 16:32:45 GMT+0200 (CEST)"},"2390":{"varMapping":{"__isSmartRef__":true,"id":2391},"source":"function onExport() {\n \n\n var s = \"\" +\n Exporter.stringify(this.chart[0][0]) + \"\"\n\n\n var fileName = this.get(\"ExportFilename\").textString\n \n var url = URL.source.withFilename(fileName + \".html\");\n var wr = new WebResource(url)\n wr.put(s)\n \n $world.confirm(\"exported \" + url +\". Visit it?\", function(bool) {\n if (bool) {\n window.open(url)\n }\n \n })\n \n}","funcProperties":{"__isSmartRef__":true,"id":2392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2391":{"this":{"__isSmartRef__":true,"id":2265}},"2392":{"timestamp":{"__isSmartRef__":true,"id":2393},"user":"jenslincke","tags":[]},"2393":{"isSerializedDate":true,"string":"Wed Jul 17 2013 17:50:09 GMT+0200 (CEST)"},"2394":{"varMapping":{"__isSmartRef__":true,"id":2395},"source":"function catchErrors(f) {\n // D3 does not like to handle errors. It just stops working. So we be helpful\n // and handle them for it. \n return function() {\n try {\n return f.apply(this, arguments)\n } catch(e) {\n $world.logError(e)\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2395":{"this":{"__isSmartRef__":true,"id":2265}},"2396":{"timestamp":{"__isSmartRef__":true,"id":2397},"user":"jenslincke","tags":[]},"2397":{"isSerializedDate":true,"string":"Thu Jul 18 2013 13:52:05 GMT+0200 (CEST)"},"2398":{"varMapping":{"__isSmartRef__":true,"id":2399},"source":"function getData() {\n // this.getData()\n \n // column = \"TP\"\n if (this.get(\"SimulationResults\")) {\n var table = this.get(\"SimulationResults\").table\n return table.columns.collect(function(column) {\n return {\n name: column,\n values: table.data.collect(function(ea) {\n return ea[column]\n })\n }\n })\n }\n // fallback\n return this.getExampleData()\n\n}","funcProperties":{"__isSmartRef__":true,"id":2400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2399":{"this":{"__isSmartRef__":true,"id":2265}},"2400":{"timestamp":{"__isSmartRef__":true,"id":2401},"user":"jenslincke","tags":[]},"2401":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:43:31 GMT+0100 (CET)"},"2402":{"varMapping":{"__isSmartRef__":true,"id":2403},"source":"function getExampleData() {\n // this.getExampleData()\n var randomValues = function(n) {\n var last = 0\n return range(0,n).collect(function(x) { return last += Math.random() - 0.3})\n }\n return [\n {name: \"A\", values: randomValues(100)},\n {name: \"B\", values: randomValues(100)},\n {name: \"C\", values: randomValues(100)},\n ]\n}","funcProperties":{"__isSmartRef__":true,"id":2404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2403":{"this":{"__isSmartRef__":true,"id":2265}},"2404":{"timestamp":{"__isSmartRef__":true,"id":2405},"user":"jenslincke","tags":[]},"2405":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:20:52 GMT+0100 (CET)"},"2406":{"submorphs":[{"__isSmartRef__":true,"id":2407},{"__isSmartRef__":true,"id":2441},{"__isSmartRef__":true,"id":2457},{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2521},{"__isSmartRef__":true,"id":2542},{"__isSmartRef__":true,"id":2563},{"__isSmartRef__":true,"id":2586},{"__isSmartRef__":true,"id":2607}],"scripts":[],"id":"E219886F-77C6-49BC-A9C7-F23E4ADA38C9","shape":{"__isSmartRef__":true,"id":2630},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Buttons","partsBinMetaInfo":{"__isSmartRef__":true,"id":2631},"eventHandler":{"__isSmartRef__":true,"id":2665},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","B1BE7C15-9E53-497B-A4E6-DD2B86983196"],"partTests":{"__isSmartRef__":true,"id":2666},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1},"prevScroll":[0,0],"isBeingDragged":false,"startTime":1390824202586,"steps":9,"_Rotation":0,"_Scale":1,"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2671},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(11.3,16.6)","distanceToDragEvent":"lively.pt(167.6,-12.6)"},"2407":{"submorphs":[{"__isSmartRef__":true,"id":2408}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2413},"eventHandler":{"__isSmartRef__":true,"id":2414},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D","C588532D-80AE-4B22-A023-EED1306BC47F"],"id":"9372C719-A9EF-4FD1-B343-DDAD8253AB0A","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":2408},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":2415},{"__isSmartRef__":true,"id":2417}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2419},"pinSpecs":[{"__isSmartRef__":true,"id":2435}],"owner":{"__isSmartRef__":true,"id":2406},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2436},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(87.5,7.3)","distanceToDragEvent":"lively.pt(36.7,-10.2)"},"2408":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2409},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2410}],"eventHandler":{"__isSmartRef__":true,"id":2412},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4","1E07DB58-5249-4ADB-B5A4-B84D80123207"],"id":"33983F2C-B5FE-47F7-B0E7-987A84B14776","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2407},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"2409":{"_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(35.2,20.9)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2410":{"style":{"__isSmartRef__":true,"id":2411},"chunkOwner":{"__isSmartRef__":true,"id":2408},"_id":"_222753","storedString":"Step","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2411":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2412":{"morph":{"__isSmartRef__":true,"id":2408},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2413":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(35.2,20.9)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"2414":{"morph":{"__isSmartRef__":true,"id":2407},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2415":{"sourceObj":{"__isSmartRef__":true,"id":2407},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2407},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":2416},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2416":{"source":{"__isSmartRef__":true,"id":2407},"target":{"__isSmartRef__":true,"id":2407}},"2417":{"sourceObj":{"__isSmartRef__":true,"id":2407},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2406},"targetMethodName":"onStep","varMapping":{"__isSmartRef__":true,"id":2418},"isAutoConnected":true,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2418":{"source":{"__isSmartRef__":true,"id":2407},"target":{"__isSmartRef__":true,"id":2406}},"2419":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":2420},{"__isSmartRef__":true,"id":2422},{"__isSmartRef__":true,"id":2424},{"__isSmartRef__":true,"id":2426},{"__isSmartRef__":true,"id":2428},{"__isSmartRef__":true,"id":2430},{"__isSmartRef__":true,"id":2432}],"migrationLevel":7,"lastModifiedDate":{"__isSmartRef__":true,"id":2434},"revisionOnLoad":203770,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2420":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","date":{"__isSmartRef__":true,"id":2421}},"2421":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"2422":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","date":{"__isSmartRef__":true,"id":2423}},"2423":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"2424":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","date":{"__isSmartRef__":true,"id":2425}},"2425":{"isSerializedDate":true,"string":"Wed May 01 2013 05:34:25 GMT+0200 (CEST)"},"2426":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","date":{"__isSmartRef__":true,"id":2427}},"2427":{"isSerializedDate":true,"string":"Wed May 01 2013 05:35:59 GMT+0200 (CEST)"},"2428":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","date":{"__isSmartRef__":true,"id":2429}},"2429":{"isSerializedDate":true,"string":"Wed May 01 2013 05:36:30 GMT+0200 (CEST)"},"2430":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","date":{"__isSmartRef__":true,"id":2431}},"2431":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:22:38 GMT+0200 (CEST)"},"2432":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","date":{"__isSmartRef__":true,"id":2433}},"2433":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:24:50 GMT+0200 (CEST)"},"2434":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"2435":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"2436":{"doAction":{"__isSmartRef__":true,"id":2437}},"2437":{"varMapping":{"__isSmartRef__":true,"id":2438},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":2439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2438":{"this":{"__isSmartRef__":true,"id":2407}},"2439":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":2440}},"2440":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"2441":{"submorphs":[{"__isSmartRef__":true,"id":2442}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2447},"eventHandler":{"__isSmartRef__":true,"id":2448},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D"],"id":"B1C5D77B-D7CA-4908-B108-70BC656F04D7","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":2442},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":2449}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button5","partsBinMetaInfo":{"__isSmartRef__":true,"id":2040},"pinSpecs":[{"__isSmartRef__":true,"id":2451}],"owner":{"__isSmartRef__":true,"id":2406},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2452},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(131.6,6.0)","distanceToDragEvent":"lively.pt(77.4,-9.9)"},"2442":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2443},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":2444}],"eventHandler":{"__isSmartRef__":true,"id":2446},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4"],"id":"500D5F20-3A4B-472D-8E6D-AD135D66F62E","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2441},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"2443":{"_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(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"2444":{"style":{"__isSmartRef__":true,"id":2445},"chunkOwner":{"__isSmartRef__":true,"id":2442},"_id":"_578952","storedString":"Reset","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2445":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2446":{"morph":{"__isSmartRef__":true,"id":2442},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2447":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"2448":{"morph":{"__isSmartRef__":true,"id":2441},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2449":{"sourceObj":{"__isSmartRef__":true,"id":2441},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2441},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":2450},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2450":{"source":{"__isSmartRef__":true,"id":2441},"target":{"__isSmartRef__":true,"id":2441}},"2451":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"2452":{"doAction":{"__isSmartRef__":true,"id":2453}},"2453":{"varMapping":{"__isSmartRef__":true,"id":2454},"source":"function doAction() {\n this.get(\"ResetSimulation\").parseSimulationSource()\n this.get(\"ResetSimulation\").simulateStep()\n this.get(\"EnergySimulation\").showAllProperties()\n this.get(\"EnergySimulation\").initSimulation()\n}","funcProperties":{"__isSmartRef__":true,"id":2455},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2454":{"this":{"__isSmartRef__":true,"id":2441}},"2455":{"timestamp":{"__isSmartRef__":true,"id":2456},"user":"jenslincke","tags":[]},"2456":{"isSerializedDate":true,"string":"Sat Jan 25 2014 23:12:31 GMT+0100 (CET)"},"2457":{"submorphs":[{"__isSmartRef__":true,"id":2458}],"scripts":[],"id":"9531A49F-3442-403E-B66C-71EC48F827BA","shape":{"__isSmartRef__":true,"id":2463},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2464},"lighterFill":{"__isSmartRef__":true,"id":2469},"label":{"__isSmartRef__":true,"id":2458},"name":"ToggleButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2474},"attributeConnections":[{"__isSmartRef__":true,"id":2480},{"__isSmartRef__":true,"id":2481},{"__isSmartRef__":true,"id":2483}],"doNotSerialize":["$$fire","$$enable","$$disable"],"doNotCopyProperties":["$$fire","$$enable","$$disable"],"eventHandler":{"__isSmartRef__":true,"id":2485},"derivationIds":[2588,"C96F474C-1F3A-4E42-844C-DD2EB76BDD7E","E36FA68D-6317-416A-99FA-0ED81E4193DA","06258075-AC5A-4CAB-A248-A66D3213816C"],"_ClipMode":"visible","isPressed":false,"isToggled":true,"connections":{"__isSmartRef__":true,"id":2486},"moved":true,"owner":{"__isSmartRef__":true,"id":2406},"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"_PreviousBorderWidth":1.1840000000000002,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2490},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(9.1,6.2)","distanceToDragEvent":"lively.pt(50.5,-10.1)"},"2458":{"submorphs":[],"scripts":[],"id":"017079A3-BC59-4CF2-AEE6-7C2E5A94E864","shape":{"__isSmartRef__":true,"id":2459},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":105,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":2457},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":2460}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":2462},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"44787449-DE07-40ED-B4D3-89A4A185AE29","F4BC3D0F-FF03-4EFC-B727-951442606730","277CDAEF-77E0-49F1-BD6F-1630D7ECC2E1"],"_MinTextWidth":105,"_MinTextHeight":null,"_WordBreak":"break-all","_FontSize":10,"__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"2459":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__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(70.3,20.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"2460":{"style":{"__isSmartRef__":true,"id":2461},"chunkOwner":{"__isSmartRef__":true,"id":2458},"_id":"_199852","storedString":"start","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2461":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2462":{"morph":{"__isSmartRef__":true,"id":2458},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2463":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":2464},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(70.3,20.7)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"2464":{"stops":[{"__isSmartRef__":true,"id":2465},{"__isSmartRef__":true,"id":2466},{"__isSmartRef__":true,"id":2467},{"__isSmartRef__":true,"id":2468}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"2465":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"2466":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"2467":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"2468":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"2469":{"stops":[{"__isSmartRef__":true,"id":2470},{"__isSmartRef__":true,"id":2471},{"__isSmartRef__":true,"id":2472},{"__isSmartRef__":true,"id":2473}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"2470":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"2471":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"2472":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"2473":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"2474":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":4,"partName":"ToggleButton","comment":"A toggle button:\n- emits, toggle, enable, disable on pressed.\n- changes label","changes":[{"__isSmartRef__":true,"id":2475},{"__isSmartRef__":true,"id":2477}],"lastModifiedDate":{"__isSmartRef__":true,"id":2479},"revisionOnLoad":203770,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2475":{"date":{"__isSmartRef__":true,"id":2476},"author":"jenslincke","message":"no comment","id":"7471CE07-F2C0-4149-9684-90E843DB8DCE"},"2476":{"isSerializedDate":true,"string":"Fri Feb 08 2013 10:43:34 GMT+0100 (CET)"},"2477":{"date":{"__isSmartRef__":true,"id":2478},"author":"jenslincke","message":"no comment","id":"02AB5A6F-7748-4A48-8C36-D334F97FC321"},"2478":{"isSerializedDate":true,"string":"Thu Feb 07 2013 17:57:46 GMT+0100 (CET)"},"2479":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"2480":{"sourceObj":{"__isSmartRef__":true,"id":2457},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2457},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2481":{"sourceObj":{"__isSmartRef__":true,"id":2457},"sourceAttrName":"enable","targetObj":{"__isSmartRef__":true,"id":2406},"targetMethodName":"onStart","varMapping":{"__isSmartRef__":true,"id":2482},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2482":{"source":{"__isSmartRef__":true,"id":2457},"target":{"__isSmartRef__":true,"id":2406}},"2483":{"sourceObj":{"__isSmartRef__":true,"id":2457},"sourceAttrName":"disable","targetObj":{"__isSmartRef__":true,"id":2406},"targetMethodName":"onStop","varMapping":{"__isSmartRef__":true,"id":2484},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2484":{"source":{"__isSmartRef__":true,"id":2457},"target":{"__isSmartRef__":true,"id":2406}},"2485":{"morph":{"__isSmartRef__":true,"id":2457},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2486":{"enable":{"__isSmartRef__":true,"id":2487},"disable":{"__isSmartRef__":true,"id":2488},"toggle":{"__isSmartRef__":true,"id":2489}},"2487":{},"2488":{},"2489":{},"2490":{"onFire":{"__isSmartRef__":true,"id":2491},"reset":{"__isSmartRef__":true,"id":2495}},"2491":{"varMapping":{"__isSmartRef__":true,"id":2492},"source":"function onFire() {\n\t\n if (this.isToggled) {\n this.setLabel(\"stop\")\n lively.bindings.signal(this, 'enable', true)\n lively.bindings.signal(this, 'toggle', true)\n } else {\n this.setLabel(\"start\")\n lively.bindings.signal(this, 'disable', true)\n lively.bindings.signal(this, 'toggle', false)\n }\n this.isToggled = !this.isToggled;\n}","funcProperties":{"__isSmartRef__":true,"id":2493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2492":{"this":{"__isSmartRef__":true,"id":2457}},"2493":{"timestamp":{"__isSmartRef__":true,"id":2494},"user":"jenslincke","tags":[]},"2494":{"isSerializedDate":true,"string":"Fri Jan 24 2014 22:29:42 GMT+0100 (CET)"},"2495":{"varMapping":{"__isSmartRef__":true,"id":2496},"source":"function reset() {\n this.connections = {\"enable\": { }, \"disable\": { }, \"toggle\": { }}\n}","funcProperties":{"__isSmartRef__":true,"id":2497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2496":{"this":{"__isSmartRef__":true,"id":2457}},"2497":{"timestamp":{"__isSmartRef__":true,"id":2498},"user":"jenslincke","tags":[]},"2498":{"isSerializedDate":true,"string":"Fri Feb 08 2013 10:42:06 GMT+0100 (CET)"},"2499":{"submorphs":[{"__isSmartRef__":true,"id":2500}],"scripts":[],"id":"206DC5DE-6B6B-47EA-A4D8-A113837EC22F","shape":{"__isSmartRef__":true,"id":2507},"__layered_droppingEnabled__":true,"halosEnabled":true,"attributeConnections":[{"__isSmartRef__":true,"id":2512},{"__isSmartRef__":true,"id":2513}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"value":0,"sliderExtent":0.1,"valueScale":1,"sliderKnob":{"__isSmartRef__":true,"id":2500},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"SimulationVelocity","partsBinMetaInfo":{"__isSmartRef__":true,"id":2515},"eventHandler":{"__isSmartRef__":true,"id":2519},"layout":{"__isSmartRef__":true,"id":2520},"derivationIds":[2631,"E6C0AF56-6D3E-41C8-AE8E-A0520F495C6B"],"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":2406},"prevScroll":[0,0],"isBeingDragged":false,"_Rotation":0,"_Scale":1,"grabbingEnabled":false,"draggingEnabled":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Slider","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(8.2,30.7)","distanceToDragEvent":"lively.pt(147.3,-14.4)"},"2500":{"submorphs":[],"scripts":[],"id":"86092F15-D80F-4ED6-B68F-803BF755D102","shape":{"__isSmartRef__":true,"id":2501},"__layered_droppingEnabled__":true,"halosEnabled":true,"draggingEnabled":true,"slider":{"__isSmartRef__":true,"id":2499},"owner":{"__isSmartRef__":true,"id":2499},"styleClass":["slider_horizontal"],"eventHandler":{"__isSmartRef__":true,"id":2506},"derivationIds":[2632,"A8917D7B-B083-4C54-AFA0-5443B4DEF9E4"],"_ClipMode":"visible","isBeingDragged":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position","hitPoint"],"__LivelyClassName__":"lively.morphic.SliderKnob","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)","hitPoint":"lively.pt(21.3,314.1)"},"2501":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":2502},"_BorderRadius":6,"__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(22.5,18.9)","_BorderColor":"Color.rgb(102,102,102)","_Padding":"lively.rect(0,0,0,0)"},"2502":{"stops":[{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2505}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"2503":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(196,211,221)"},"2504":{"offset":0.5,"__serializedExpressions__":["color"],"color":"Color.rgb(137,167,187)"},"2505":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(96,130,153)"},"2506":{"morph":{"__isSmartRef__":true,"id":2500},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2507":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":2508},"_BorderRadius":6,"_Opacity":1,"_BorderStyle":"solid","__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(224.6,18.9)","_BorderColor":"Color.rgb(192,192,192)","_Padding":"lively.rect(0,0,0,0)"},"2508":{"stops":[{"__isSmartRef__":true,"id":2509},{"__isSmartRef__":true,"id":2510},{"__isSmartRef__":true,"id":2511}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"2509":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"2510":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"2511":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"2512":{"sourceObj":{"__isSmartRef__":true,"id":2499},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":2499},"targetMethodName":"adjustSliderParts","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2513":{"sourceObj":{"__isSmartRef__":true,"id":2499},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":2406},"targetMethodName":"updateVelocity","varMapping":{"__isSmartRef__":true,"id":2514},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2514":{"source":{"__isSmartRef__":true,"id":2499},"target":{"__isSmartRef__":true,"id":2406}},"2515":{"requiredModules":[],"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"Slider","comment":"The connection point \"value\" can be used to read/write the slider knob position.","changes":[{"__isSmartRef__":true,"id":2516}],"lastModifiedDate":{"__isSmartRef__":true,"id":2518},"revisionOnLoad":186558,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2516":{"date":{"__isSmartRef__":true,"id":2517},"author":"dustin.glaeser","message":"no comment","id":"9CD9677C-9A79-4D71-85C1-E5C72C253D16"},"2517":{"isSerializedDate":true,"string":"Thu Dec 13 2012 11:34:16 GMT+0100 (CET)"},"2518":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"2519":{"morph":{"__isSmartRef__":true,"id":2499},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2520":{},"2521":{"submorphs":[],"scripts":[],"id":"03173221-CA46-4D80-A388-2397892B3B8B","shape":{"__isSmartRef__":true,"id":2522},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":2523},"textChunks":[{"__isSmartRef__":true,"id":2539}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2541},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2406},"_Rotation":0,"_Scale":1,"draggingEnabled":false,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.1,90.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(141.3,-9.4)"},"2522":{"fill":null,"_BorderWidth":0,"_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(217.4,16.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2523":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2524},{"__isSmartRef__":true,"id":2526},{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2536}],"lastModifiedDate":{"__isSmartRef__":true,"id":2538},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2524":{"date":{"__isSmartRef__":true,"id":2525},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2525":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2526":{"date":{"__isSmartRef__":true,"id":2527},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2527":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2528":{"date":{"__isSmartRef__":true,"id":2529},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2529":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2530":{"date":{"__isSmartRef__":true,"id":2531},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2531":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2532":{"date":{"__isSmartRef__":true,"id":2533},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2533":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2534":{"date":{"__isSmartRef__":true,"id":2535},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2535":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2536":{"date":{"__isSmartRef__":true,"id":2537},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2537":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2538":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2539":{"style":{"__isSmartRef__":true,"id":2540},"chunkOwner":{"__isSmartRef__":true,"id":2521},"_id":"_199853","storedString":"stopped","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2540":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2541":{"morph":{"__isSmartRef__":true,"id":2521},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2542":{"submorphs":[],"scripts":[],"id":"6553D65D-D821-4102-BD21-F597B1283D3A","shape":{"__isSmartRef__":true,"id":2543},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2544},"textChunks":[{"__isSmartRef__":true,"id":2560}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2562},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2406},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"priorSelectionRange":[3,3],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(10.0,60.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(51.5,-18.2)"},"2543":{"fill":null,"_BorderWidth":0,"_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(72.2,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2544":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2545},{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2549},{"__isSmartRef__":true,"id":2551},{"__isSmartRef__":true,"id":2553},{"__isSmartRef__":true,"id":2555},{"__isSmartRef__":true,"id":2557}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2559},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2545":{"date":{"__isSmartRef__":true,"id":2546},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2546":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2547":{"date":{"__isSmartRef__":true,"id":2548},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2548":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2549":{"date":{"__isSmartRef__":true,"id":2550},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2550":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2551":{"date":{"__isSmartRef__":true,"id":2552},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2552":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2553":{"date":{"__isSmartRef__":true,"id":2554},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2554":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2555":{"date":{"__isSmartRef__":true,"id":2556},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2556":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2557":{"date":{"__isSmartRef__":true,"id":2558},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2558":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2559":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2560":{"style":{"__isSmartRef__":true,"id":2561},"morph":{"__isSmartRef__":true,"id":2542},"chunkOwner":{"__isSmartRef__":true,"id":2542},"storedString":"Steps:","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2561":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2562":{"morph":{"__isSmartRef__":true,"id":2542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2563":{"submorphs":[],"scripts":[],"id":"EBC3B0E5-7768-43D9-92A0-75AA9B71C8F9","shape":{"__isSmartRef__":true,"id":2564},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":2565},"textChunks":[{"__isSmartRef__":true,"id":2581}],"charsReplaced":"50","lastFindLoc":2,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2583},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","6553D65D-D821-4102-BD21-F597B1283D3A"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2406},"_Rotation":0,"_Scale":1,"isInputLine":true,"_WordBreak":"break-all","_InputAllowed":true,"_HandStyle":null,"allowInput":true,"attributeConnections":[{"__isSmartRef__":true,"id":2584}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"50","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"priorSelectionRange":[0,0],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(100.0,60.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(35.3,-14.1)"},"2564":{"fill":null,"_BorderWidth":0,"_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(28.0,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2565":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2566},{"__isSmartRef__":true,"id":2568},{"__isSmartRef__":true,"id":2570},{"__isSmartRef__":true,"id":2572},{"__isSmartRef__":true,"id":2574},{"__isSmartRef__":true,"id":2576},{"__isSmartRef__":true,"id":2578}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2580},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2566":{"date":{"__isSmartRef__":true,"id":2567},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2567":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2568":{"date":{"__isSmartRef__":true,"id":2569},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2569":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2570":{"date":{"__isSmartRef__":true,"id":2571},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2571":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2572":{"date":{"__isSmartRef__":true,"id":2573},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2573":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2574":{"date":{"__isSmartRef__":true,"id":2575},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2575":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2576":{"date":{"__isSmartRef__":true,"id":2577},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2577":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2578":{"date":{"__isSmartRef__":true,"id":2579},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2579":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2580":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2581":{"style":{"__isSmartRef__":true,"id":2582},"morph":{"__isSmartRef__":true,"id":2563},"chunkOwner":{"__isSmartRef__":true,"id":2563},"storedString":"50","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2582":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2583":{"morph":{"__isSmartRef__":true,"id":2563},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2584":{"sourceObj":{"__isSmartRef__":true,"id":2563},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"simStepsAtOnce","varMapping":{"__isSmartRef__":true,"id":2585},"converterString":"function converter(value) {\n return Number(value)\n}","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2585":{"source":{"__isSmartRef__":true,"id":2563},"target":{"__isSmartRef__":true,"id":1}},"2586":{"submorphs":[],"scripts":[],"id":"58A0F8ED-8A21-46C8-BE4F-3D83815957F1","shape":{"__isSmartRef__":true,"id":2587},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":2588},"textChunks":[{"__isSmartRef__":true,"id":2604}],"charsReplaced":"Steps","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2606},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","6553D65D-D821-4102-BD21-F597B1283D3A"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[1,1],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2406},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(150.0,60.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(49.5,-15.1)"},"2587":{"fill":null,"_BorderWidth":0,"_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(72.2,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2588":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2591},{"__isSmartRef__":true,"id":2593},{"__isSmartRef__":true,"id":2595},{"__isSmartRef__":true,"id":2597},{"__isSmartRef__":true,"id":2599},{"__isSmartRef__":true,"id":2601}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2603},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2589":{"date":{"__isSmartRef__":true,"id":2590},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2590":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2591":{"date":{"__isSmartRef__":true,"id":2592},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2592":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2593":{"date":{"__isSmartRef__":true,"id":2594},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2594":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2595":{"date":{"__isSmartRef__":true,"id":2596},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2596":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2597":{"date":{"__isSmartRef__":true,"id":2598},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2598":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2599":{"date":{"__isSmartRef__":true,"id":2600},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2600":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2601":{"date":{"__isSmartRef__":true,"id":2602},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2602":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2603":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2604":{"style":{"__isSmartRef__":true,"id":2605},"morph":{"__isSmartRef__":true,"id":2586},"chunkOwner":{"__isSmartRef__":true,"id":2586},"storedString":"Time:","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2605":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2606":{"morph":{"__isSmartRef__":true,"id":2586},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2607":{"submorphs":[],"scripts":[],"id":"6E626760-6587-4CAD-9293-F6DC453C190B","shape":{"__isSmartRef__":true,"id":2608},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text4","partsBinMetaInfo":{"__isSmartRef__":true,"id":2609},"textChunks":[{"__isSmartRef__":true,"id":2625}],"charsReplaced":"0.2","lastFindLoc":3,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2627},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","6553D65D-D821-4102-BD21-F597B1283D3A","58A0F8ED-8A21-46C8-BE4F-3D83815957F1"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2406},"_Rotation":0,"_Scale":1,"isInputLine":true,"_WordBreak":"break-all","_InputAllowed":true,"_HandStyle":null,"allowInput":true,"attributeConnections":[{"__isSmartRef__":true,"id":2628}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"0.1","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"priorSelectionRange":[1,1],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(230.0,60.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(48.4,-14.1)"},"2608":{"fill":null,"_BorderWidth":0,"_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(76.0,28.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2609":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2610},{"__isSmartRef__":true,"id":2612},{"__isSmartRef__":true,"id":2614},{"__isSmartRef__":true,"id":2616},{"__isSmartRef__":true,"id":2618},{"__isSmartRef__":true,"id":2620},{"__isSmartRef__":true,"id":2622}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2624},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2610":{"date":{"__isSmartRef__":true,"id":2611},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2611":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2612":{"date":{"__isSmartRef__":true,"id":2613},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2613":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2614":{"date":{"__isSmartRef__":true,"id":2615},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2615":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2616":{"date":{"__isSmartRef__":true,"id":2617},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2617":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2618":{"date":{"__isSmartRef__":true,"id":2619},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2619":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2620":{"date":{"__isSmartRef__":true,"id":2621},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2621":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2622":{"date":{"__isSmartRef__":true,"id":2623},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2623":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2624":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2625":{"style":{"__isSmartRef__":true,"id":2626},"morph":{"__isSmartRef__":true,"id":2607},"chunkOwner":{"__isSmartRef__":true,"id":2607},"storedString":"0.1","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2626":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2627":{"morph":{"__isSmartRef__":true,"id":2607},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2628":{"sourceObj":{"__isSmartRef__":true,"id":2607},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"deltaTime","varMapping":{"__isSmartRef__":true,"id":2629},"converterString":"function converter(value) {\n return Number(value)\n}","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2629":{"source":{"__isSmartRef__":true,"id":2607},"target":{"__isSmartRef__":true,"id":1}},"2630":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(337.3,146.6)","_BorderColor":"Color.rgb(178,178,178)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"2631":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":2632},{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2636},{"__isSmartRef__":true,"id":2638},{"__isSmartRef__":true,"id":2640},{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2644},{"__isSmartRef__":true,"id":2646},{"__isSmartRef__":true,"id":2648},{"__isSmartRef__":true,"id":2650},{"__isSmartRef__":true,"id":2652},{"__isSmartRef__":true,"id":2654},{"__isSmartRef__":true,"id":2656},{"__isSmartRef__":true,"id":2658},{"__isSmartRef__":true,"id":2660},{"__isSmartRef__":true,"id":2662}],"lastModifiedDate":{"__isSmartRef__":true,"id":2664},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2632":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2633}},"2633":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2634":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2635}},"2635":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2636":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2637}},"2637":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2638":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2639}},"2639":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2640":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2641}},"2641":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2642":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2643}},"2643":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2644":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2645}},"2645":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2646":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2647}},"2647":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2648":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2649}},"2649":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2650":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2651}},"2651":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2652":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2653}},"2653":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2654":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2655}},"2655":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2656":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2657}},"2657":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2658":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2659}},"2659":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2660":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2661}},"2661":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2662":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2663}},"2663":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2664":{"isSerializedDate":true,"string":"Thu Aug 15 2013 21:21:30 GMT+0200 (CEST)"},"2665":{"morph":{"__isSmartRef__":true,"id":2406},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2666":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2667}},"2667":{"test01IsMorph":{"__isSmartRef__":true,"id":2668}},"2668":{"varMapping":{"__isSmartRef__":true,"id":2669},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2669":{"this":{"__isSmartRef__":true,"id":2666}},"2670":{},"2671":{"onStart":{"__isSmartRef__":true,"id":2672},"onStop":{"__isSmartRef__":true,"id":2676},"updateVelocity":{"__isSmartRef__":true,"id":2680},"countSteps":{"__isSmartRef__":true,"id":2684},"onStep":{"__isSmartRef__":true,"id":2688}},"2672":{"varMapping":{"__isSmartRef__":true,"id":2673},"source":"function onStart() {\n this.updateVelocity()\n}","funcProperties":{"__isSmartRef__":true,"id":2674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2673":{"this":{"__isSmartRef__":true,"id":2406}},"2674":{"timestamp":{"__isSmartRef__":true,"id":2675},"user":"jenslincke","tags":[]},"2675":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:54:10 GMT+0100 (CET)"},"2676":{"varMapping":{"__isSmartRef__":true,"id":2677},"source":"function onStop() {\n this.owner.stopStepping()\n this.stopStepping()\n this.get(\"Status\").textString = \"stopped\"\n this.get(\"SimulationResults\").showData()\n}","funcProperties":{"__isSmartRef__":true,"id":2678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2677":{"this":{"__isSmartRef__":true,"id":2406}},"2678":{"timestamp":{"__isSmartRef__":true,"id":2679},"user":"jenslincke","tags":[]},"2679":{"isSerializedDate":true,"string":"Fri Jan 24 2014 22:27:05 GMT+0100 (CET)"},"2680":{"varMapping":{"__isSmartRef__":true,"id":2681},"source":"function updateVelocity() {\n this.owner.stopStepping()\n this.startTime = Date.now()\n this.steps = 0\n var speed = (1 - this.get(\"SimulationVelocity\").value) * 1000\n this.owner.startStepping(speed, \"simulateStep\")\n this.startStepping(speed, \"countSteps\")\n}","funcProperties":{"__isSmartRef__":true,"id":2682},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2681":{"this":{"__isSmartRef__":true,"id":2406}},"2682":{"timestamp":{"__isSmartRef__":true,"id":2683},"user":"jenslincke","tags":[]},"2683":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:59:39 GMT+0100 (CET)"},"2684":{"varMapping":{"__isSmartRef__":true,"id":2685},"source":"function countSteps() {\n this.steps ++\n var stepsPerSec = this.steps / (Date.now() - this.startTime) * 1000\n this.get(\"Status\").textString =\"running\\n\" + this.steps + \" steps\\n\" + stepsPerSec.roundTo(0.1) + \" steps/sec\"\n \n this.get(\"SimulationResults\").showData()\n}","funcProperties":{"__isSmartRef__":true,"id":2686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2685":{"this":{"__isSmartRef__":true,"id":2406}},"2686":{"timestamp":{"__isSmartRef__":true,"id":2687},"user":"jenslincke","tags":[]},"2687":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:54:06 GMT+0100 (CET)"},"2688":{"varMapping":{"__isSmartRef__":true,"id":2689},"source":"function onStep() {\n this.owner.resetStatus()\n this.owner.simulateOneStep(this.owner.deltaTime)\n this.get(\"SimulationResults\").showData()\n \n}","funcProperties":{"__isSmartRef__":true,"id":2690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2689":{"this":{"__isSmartRef__":true,"id":2406}},"2690":{"timestamp":{"__isSmartRef__":true,"id":2691},"user":"jenslincke","tags":[]},"2691":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:28:26 GMT+0100 (CET)"},"2692":{"submorphs":[{"__isSmartRef__":true,"id":2693},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2892},{"__isSmartRef__":true,"id":2898}],"scripts":[],"id":"BCDFBF89-EC99-457D-A530-78EE6AA50603","shape":{"__isSmartRef__":true,"id":2922},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2923},"eventHandler":{"__isSmartRef__":true,"id":2979},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22"],"partTests":{"__isSmartRef__":true,"id":2980},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":2985},{"__isSmartRef__":true,"id":2986},{"__isSmartRef__":true,"id":2987},{"__isSmartRef__":true,"id":2988},{"__isSmartRef__":true,"id":2989},{"__isSmartRef__":true,"id":2990},{"__isSmartRef__":true,"id":2991},{"__isSmartRef__":true,"id":2992}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":2993},"$":{"__isSmartRef__":true,"id":2994},"name":"HeatingSystem","owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":2995}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2997},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(367.1,-16.0)","_Position":"lively.pt(440.0,10.0)"},"2693":{"submorphs":[],"scripts":[],"id":"17C73E30-F0FE-4832-A19D-A93FAC698D7D","shape":{"__isSmartRef__":true,"id":2694},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":2695},"textChunks":[{"__isSmartRef__":true,"id":2697}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":2699},{"__isSmartRef__":true,"id":2700}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":2701},"owner":{"__isSmartRef__":true,"id":2692},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":2692},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2702},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"2694":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"2695":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":2696},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2696":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"2697":{"style":{"__isSmartRef__":true,"id":2698},"chunkOwner":{"__isSmartRef__":true,"id":2693},"_id":"_309139","storedString":"HeatingSystem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2698":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2699":{"sourceObj":{"__isSmartRef__":true,"id":2693},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2693},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2700":{"sourceObj":{"__isSmartRef__":true,"id":2693},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2693},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2701":{"morph":{"__isSmartRef__":true,"id":2693},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2702":{"updateLabel":{"__isSmartRef__":true,"id":2703},"renameOwner":{"__isSmartRef__":true,"id":2706}},"2703":{"varMapping":{"__isSmartRef__":true,"id":2704},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":2705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2704":{"this":{"__isSmartRef__":true,"id":2693}},"2705":{},"2706":{"varMapping":{"__isSmartRef__":true,"id":2707},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":2708},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2707":{"this":{"__isSmartRef__":true,"id":2693}},"2708":{},"2709":{"submorphs":[],"scripts":[],"id":"D8C320FE-7916-4301-99FC-57DF6F7818E8","shape":{"__isSmartRef__":true,"id":2710},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":2711},"textChunks":[{"__isSmartRef__":true,"id":2727},{"__isSmartRef__":true,"id":2729},{"__isSmartRef__":true,"id":2731},{"__isSmartRef__":true,"id":2733},{"__isSmartRef__":true,"id":2735},{"__isSmartRef__":true,"id":2737},{"__isSmartRef__":true,"id":2739},{"__isSmartRef__":true,"id":2741},{"__isSmartRef__":true,"id":2743},{"__isSmartRef__":true,"id":2745},{"__isSmartRef__":true,"id":2747},{"__isSmartRef__":true,"id":2749},{"__isSmartRef__":true,"id":2751},{"__isSmartRef__":true,"id":2753},{"__isSmartRef__":true,"id":2755},{"__isSmartRef__":true,"id":2757},{"__isSmartRef__":true,"id":2759},{"__isSmartRef__":true,"id":2761},{"__isSmartRef__":true,"id":2763},{"__isSmartRef__":true,"id":2765},{"__isSmartRef__":true,"id":2767},{"__isSmartRef__":true,"id":2769},{"__isSmartRef__":true,"id":2771},{"__isSmartRef__":true,"id":2773},{"__isSmartRef__":true,"id":2775},{"__isSmartRef__":true,"id":2777},{"__isSmartRef__":true,"id":2779},{"__isSmartRef__":true,"id":2781},{"__isSmartRef__":true,"id":2783},{"__isSmartRef__":true,"id":2785},{"__isSmartRef__":true,"id":2787},{"__isSmartRef__":true,"id":2789},{"__isSmartRef__":true,"id":2791},{"__isSmartRef__":true,"id":2793},{"__isSmartRef__":true,"id":2795},{"__isSmartRef__":true,"id":2797},{"__isSmartRef__":true,"id":2799},{"__isSmartRef__":true,"id":2801},{"__isSmartRef__":true,"id":2803},{"__isSmartRef__":true,"id":2805},{"__isSmartRef__":true,"id":2807},{"__isSmartRef__":true,"id":2809},{"__isSmartRef__":true,"id":2811},{"__isSmartRef__":true,"id":2813},{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2817},{"__isSmartRef__":true,"id":2819},{"__isSmartRef__":true,"id":2821},{"__isSmartRef__":true,"id":2823},{"__isSmartRef__":true,"id":2825},{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2829},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2833},{"__isSmartRef__":true,"id":2835},{"__isSmartRef__":true,"id":2837},{"__isSmartRef__":true,"id":2839},{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2843},{"__isSmartRef__":true,"id":2845},{"__isSmartRef__":true,"id":2847},{"__isSmartRef__":true,"id":2849},{"__isSmartRef__":true,"id":2851}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":2853},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":2854},{"__isSmartRef__":true,"id":2855},{"__isSmartRef__":true,"id":2856},{"__isSmartRef__":true,"id":2857},{"__isSmartRef__":true,"id":2858},{"__isSmartRef__":true,"id":2859},{"__isSmartRef__":true,"id":2860},{"__isSmartRef__":true,"id":2861}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2862},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2692},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":2863},{"__isSmartRef__":true,"id":2865}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":39,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"var full = $.Max * $.Factor\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}","previousSelection":[333,333],"priorSelectionRange":[182,182],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2867},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"2710":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(515.8,211.3)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2711":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2712},{"__isSmartRef__":true,"id":2714},{"__isSmartRef__":true,"id":2716},{"__isSmartRef__":true,"id":2718},{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2724}],"lastModifiedDate":{"__isSmartRef__":true,"id":2726},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2712":{"date":{"__isSmartRef__":true,"id":2713},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2713":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2714":{"date":{"__isSmartRef__":true,"id":2715},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2715":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2716":{"date":{"__isSmartRef__":true,"id":2717},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2717":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2718":{"date":{"__isSmartRef__":true,"id":2719},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2719":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2720":{"date":{"__isSmartRef__":true,"id":2721},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2721":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2722":{"date":{"__isSmartRef__":true,"id":2723},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2723":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2724":{"date":{"__isSmartRef__":true,"id":2725},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2725":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2726":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2727":{"style":{"__isSmartRef__":true,"id":2728},"chunkOwner":{"__isSmartRef__":true,"id":2709},"_id":"_16","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2728":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2729":{"_id":"_273","style":{"__isSmartRef__":true,"id":2730},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" full = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2730":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2731":{"_id":"_165496","style":{"__isSmartRef__":true,"id":2732},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2732":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2733":{"_id":"_165497","style":{"__isSmartRef__":true,"id":2734},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Max * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2734":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2735":{"_id":"_165498","style":{"__isSmartRef__":true,"id":2736},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2736":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2737":{"_id":"_165499","style":{"__isSmartRef__":true,"id":2738},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Factor\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2738":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2739":{"_id":"_274","style":{"__isSmartRef__":true,"id":2740},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2740":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2741":{"_id":"_275","style":{"__isSmartRef__":true,"id":2742},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2742":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2743":{"_id":"_165500","style":{"__isSmartRef__":true,"id":2744},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2744":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2745":{"_id":"_165501","style":{"__isSmartRef__":true,"id":2746},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Heat < full && #Fuel.$.Gas > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2746":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2747":{"_id":"_165502","style":{"__isSmartRef__":true,"id":2748},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2748":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2749":{"_id":"_165503","style":{"__isSmartRef__":true,"id":2750},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Max * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2750":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2751":{"_id":"_165504","style":{"__isSmartRef__":true,"id":2752},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2752":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2753":{"_id":"_165505","style":{"__isSmartRef__":true,"id":2754},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" &&","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2754":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2755":{"_id":"_276","style":{"__isSmartRef__":true,"id":2756},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2756":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"2757":{"_id":"_277","style":{"__isSmartRef__":true,"id":2758},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" #HeatStorage.$.Energy < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2758":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2759":{"_id":"_278","style":{"__isSmartRef__":true,"id":2760},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"0.3","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2760":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2761":{"_id":"_45883","style":{"__isSmartRef__":true,"id":2762},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" * #HeatStorage.$.Max) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2762":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2763":{"_id":"_280","style":{"__isSmartRef__":true,"id":2764},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2764":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2765":{"_id":"_281","style":{"__isSmartRef__":true,"id":2766},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2766":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2767":{"_id":"_282","style":{"__isSmartRef__":true,"id":2768},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2768":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2769":{"_id":"_283","style":{"__isSmartRef__":true,"id":2770},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" gas = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2770":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2771":{"_id":"_165506","style":{"__isSmartRef__":true,"id":2772},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2772":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2773":{"_id":"_165507","style":{"__isSmartRef__":true,"id":2774},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Max * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2774":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2775":{"_id":"_165508","style":{"__isSmartRef__":true,"id":2776},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2776":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2777":{"_id":"_165509","style":{"__isSmartRef__":true,"id":2778},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"\n #Fuel.$.Gas -= gas\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2778":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2779":{"_id":"_165510","style":{"__isSmartRef__":true,"id":2780},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2780":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2781":{"_id":"_165511","style":{"__isSmartRef__":true,"id":2782},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Heat += gas\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2782":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2783":{"_id":"_284","style":{"__isSmartRef__":true,"id":2784},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2784":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2785":{"_id":"_285","style":{"__isSmartRef__":true,"id":2786},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2786":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2787":{"_id":"_286","style":{"__isSmartRef__":true,"id":2788},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2788":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2789":{"_id":"_287","style":{"__isSmartRef__":true,"id":2790},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" delta = (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2790":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2791":{"_id":"_165512","style":{"__isSmartRef__":true,"id":2792},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2792":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2793":{"_id":"_165513","style":{"__isSmartRef__":true,"id":2794},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Heat / ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2794":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2795":{"_id":"_165514","style":{"__isSmartRef__":true,"id":2796},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2796":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2797":{"_id":"_165515","style":{"__isSmartRef__":true,"id":2798},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Factor) * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2798":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2799":{"_id":"_165516","style":{"__isSmartRef__":true,"id":2800},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2800":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2801":{"_id":"_165517","style":{"__isSmartRef__":true,"id":2802},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2802":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2803":{"_id":"_288","style":{"__isSmartRef__":true,"id":2804},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2804":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2805":{"_id":"_289","style":{"__isSmartRef__":true,"id":2806},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2806":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2807":{"_id":"_165518","style":{"__isSmartRef__":true,"id":2808},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2808":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2809":{"_id":"_165519","style":{"__isSmartRef__":true,"id":2810},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Heat > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2810":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2811":{"_id":"_290","style":{"__isSmartRef__":true,"id":2812},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2812":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2813":{"_id":"_291","style":{"__isSmartRef__":true,"id":2814},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2814":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2815":{"_id":"_165520","style":{"__isSmartRef__":true,"id":2816},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2816":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2817":{"_id":"_165521","style":{"__isSmartRef__":true,"id":2818},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2818":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2819":{"_id":"_292","style":{"__isSmartRef__":true,"id":2820},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2820":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2821":{"_id":"_293","style":{"__isSmartRef__":true,"id":2822},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2822":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2823":{"_id":"_165522","style":{"__isSmartRef__":true,"id":2824},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2824":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2825":{"_id":"_165523","style":{"__isSmartRef__":true,"id":2826},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Heat -= delta\n #HeatStorage.$.Energy += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2826":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2827":{"_id":"_294","style":{"__isSmartRef__":true,"id":2828},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"0.8","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2828":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2829":{"_id":"_295","style":{"__isSmartRef__":true,"id":2830},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" * delta\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2830":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2831":{"_id":"_296","style":{"__isSmartRef__":true,"id":2832},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2832":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2833":{"_id":"_297","style":{"__isSmartRef__":true,"id":2834},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2834":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2835":{"_id":"_298","style":{"__isSmartRef__":true,"id":2836},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2836":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2837":{"_id":"_299","style":{"__isSmartRef__":true,"id":2838},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2838":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2839":{"_id":"_300","style":{"__isSmartRef__":true,"id":2840},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2840":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2841":{"_id":"_301","style":{"__isSmartRef__":true,"id":2842},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2842":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2843":{"_id":"_165524","style":{"__isSmartRef__":true,"id":2844},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2844":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"2845":{"_id":"_165525","style":{"__isSmartRef__":true,"id":2846},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":".Heat -= ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2846":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2847":{"_id":"_302","style":{"__isSmartRef__":true,"id":2848},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"0.2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2848":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2849":{"_id":"_303","style":{"__isSmartRef__":true,"id":2850},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":" * delta\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2850":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2851":{"_id":"_304","style":{"__isSmartRef__":true,"id":2852},"chunkOwner":{"__isSmartRef__":true,"id":2709},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2852":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2853":{"morph":{"__isSmartRef__":true,"id":2709},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2854":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"2855":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"2856":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"2857":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"2858":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"2859":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"2860":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"2861":{"morph":{"__isSmartRef__":true,"id":2709},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"2862":{"resizeWidth":true,"resizeHeight":true},"2863":{"sourceObj":{"__isSmartRef__":true,"id":2709},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2692},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":2864},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2864":{"source":{"__isSmartRef__":true,"id":2709},"target":{"__isSmartRef__":true,"id":2692}},"2865":{"sourceObj":{"__isSmartRef__":true,"id":2709},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2709},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":2866},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2866":{"source":{"__isSmartRef__":true,"id":2709},"target":{"__isSmartRef__":true,"id":2709}},"2867":{"boundEval":{"__isSmartRef__":true,"id":2868},"getDoitContext":{"__isSmartRef__":true,"id":2876},"installLayers":{"__isSmartRef__":true,"id":2884},"onLoad":{"__isSmartRef__":true,"id":2888}},"2868":{"varMapping":{"__isSmartRef__":true,"id":2869},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2869":{"this":{"__isSmartRef__":true,"id":2709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2870}},"2870":{"$super":{"__isSmartRef__":true,"id":2871}},"2871":{"varMapping":{"__isSmartRef__":true,"id":2872},"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":2873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2872":{"obj":{"__isSmartRef__":true,"id":2709},"name":"boundEval"},"2873":{},"2874":{"timestamp":{"__isSmartRef__":true,"id":2875},"user":"jenslincke","tags":[]},"2875":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"2876":{"varMapping":{"__isSmartRef__":true,"id":2877},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":2882},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2877":{"this":{"__isSmartRef__":true,"id":2709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2878}},"2878":{"$super":{"__isSmartRef__":true,"id":2879}},"2879":{"varMapping":{"__isSmartRef__":true,"id":2880},"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":2881},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2880":{"obj":{"__isSmartRef__":true,"id":2709},"name":"getDoitContext"},"2881":{},"2882":{"timestamp":{"__isSmartRef__":true,"id":2883},"user":"jenslincke","tags":[]},"2883":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"2884":{"varMapping":{"__isSmartRef__":true,"id":2885},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":2886},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2885":{"this":{"__isSmartRef__":true,"id":2709}},"2886":{"timestamp":{"__isSmartRef__":true,"id":2887},"user":"jenslincke","tags":[]},"2887":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"2888":{"varMapping":{"__isSmartRef__":true,"id":2889},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":2890},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2889":{"this":{"__isSmartRef__":true,"id":2709}},"2890":{"timestamp":{"__isSmartRef__":true,"id":2891},"user":"jenslincke","tags":[]},"2891":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"2892":{"submorphs":[],"scripts":[],"id":"9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE","shape":{"__isSmartRef__":true,"id":2893},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":2523},"textChunks":[{"__isSmartRef__":true,"id":2894}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2896},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2692},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2897},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,296.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(0,0,0)"},"2893":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(520.9,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2894":{"style":{"__isSmartRef__":true,"id":2895},"chunkOwner":{"__isSmartRef__":true,"id":2892},"_id":"_199891","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2895":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2896":{"morph":{"__isSmartRef__":true,"id":2892},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2897":{"moveVertical":true,"resizeWidth":true},"2898":{"submorphs":[],"scripts":[],"id":"CADFFF2C-905C-49BD-9EEE-FDCCB89864CE","shape":{"__isSmartRef__":true,"id":2899},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":2900},"textChunks":[{"__isSmartRef__":true,"id":2916}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2918},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2692},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":2919}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2921},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"2899":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(520.3,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2900":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2901},{"__isSmartRef__":true,"id":2903},{"__isSmartRef__":true,"id":2905},{"__isSmartRef__":true,"id":2907},{"__isSmartRef__":true,"id":2909},{"__isSmartRef__":true,"id":2911},{"__isSmartRef__":true,"id":2913}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2915},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2901":{"date":{"__isSmartRef__":true,"id":2902},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2902":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2903":{"date":{"__isSmartRef__":true,"id":2904},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2904":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2905":{"date":{"__isSmartRef__":true,"id":2906},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2906":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2907":{"date":{"__isSmartRef__":true,"id":2908},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2908":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2909":{"date":{"__isSmartRef__":true,"id":2910},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"2910":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2911":{"date":{"__isSmartRef__":true,"id":2912},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2912":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2913":{"date":{"__isSmartRef__":true,"id":2914},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2914":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2915":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2916":{"style":{"__isSmartRef__":true,"id":2917},"chunkOwner":{"__isSmartRef__":true,"id":2898},"_id":"_199882","storedString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 4","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2917":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2918":{"morph":{"__isSmartRef__":true,"id":2898},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2919":{"sourceObj":{"__isSmartRef__":true,"id":2898},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2692},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":2920},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2920":{"source":{"__isSmartRef__":true,"id":2898},"target":{"__isSmartRef__":true,"id":2692}},"2921":{"resizeWidth":true},"2922":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(542.7,314.1)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"2923":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":2924},{"__isSmartRef__":true,"id":2926},{"__isSmartRef__":true,"id":2928},{"__isSmartRef__":true,"id":2930},{"__isSmartRef__":true,"id":2932},{"__isSmartRef__":true,"id":2934},{"__isSmartRef__":true,"id":2936},{"__isSmartRef__":true,"id":2938},{"__isSmartRef__":true,"id":2940},{"__isSmartRef__":true,"id":2942},{"__isSmartRef__":true,"id":2944},{"__isSmartRef__":true,"id":2946},{"__isSmartRef__":true,"id":2948},{"__isSmartRef__":true,"id":2950},{"__isSmartRef__":true,"id":2952},{"__isSmartRef__":true,"id":2954},{"__isSmartRef__":true,"id":2956},{"__isSmartRef__":true,"id":2958},{"__isSmartRef__":true,"id":2960},{"__isSmartRef__":true,"id":2962},{"__isSmartRef__":true,"id":2964},{"__isSmartRef__":true,"id":2966},{"__isSmartRef__":true,"id":2968},{"__isSmartRef__":true,"id":2970},{"__isSmartRef__":true,"id":2972},{"__isSmartRef__":true,"id":2974},{"__isSmartRef__":true,"id":2976}],"lastModifiedDate":{"__isSmartRef__":true,"id":2978},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2924":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2925}},"2925":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2926":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2927}},"2927":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2928":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2929}},"2929":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2930":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2931}},"2931":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2932":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2933}},"2933":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2934":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2935}},"2935":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2936":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2937}},"2937":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2938":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2939}},"2939":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2940":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2941}},"2941":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2942":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2943}},"2943":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2944":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2945}},"2945":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2946":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2947}},"2947":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2948":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2949}},"2949":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2950":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2951}},"2951":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2952":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2953}},"2953":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2954":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2955}},"2955":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2956":{"date":{"__isSmartRef__":true,"id":2957},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"2957":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"2958":{"date":{"__isSmartRef__":true,"id":2959},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"2959":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"2960":{"date":{"__isSmartRef__":true,"id":2961},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"2961":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"2962":{"date":{"__isSmartRef__":true,"id":2963},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"2963":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"2964":{"date":{"__isSmartRef__":true,"id":2965},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"2965":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"2966":{"date":{"__isSmartRef__":true,"id":2967},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"2967":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"2968":{"date":{"__isSmartRef__":true,"id":2969},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"2969":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"2970":{"date":{"__isSmartRef__":true,"id":2971},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"2971":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"2972":{"date":{"__isSmartRef__":true,"id":2973},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"2973":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"2974":{"date":{"__isSmartRef__":true,"id":2975},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"2975":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"2976":{"date":{"__isSmartRef__":true,"id":2977},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"2977":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"2978":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"2979":{"morph":{"__isSmartRef__":true,"id":2692},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2980":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2981}},"2981":{"test01IsMorph":{"__isSmartRef__":true,"id":2982}},"2982":{"varMapping":{"__isSmartRef__":true,"id":2983},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2983":{"this":{"__isSmartRef__":true,"id":2980}},"2984":{},"2985":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"2986":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"2987":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"2988":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"2989":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"2990":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"2991":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"2992":{"morph":{"__isSmartRef__":true,"id":2692},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"2993":{"adjustForNewBounds":true},"2994":{"Heat":0,"Stopped":false,"Factor":10,"Max":4},"2995":{"sourceObj":{"__isSmartRef__":true,"id":2692},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":2693},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":2996},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2996":{"source":{"__isSmartRef__":true,"id":2692},"target":{"__isSmartRef__":true,"id":2693}},"2997":{"migrateFrom":{"__isSmartRef__":true,"id":2998},"parsePropeties":{"__isSmartRef__":true,"id":3002},"printProperties":{"__isSmartRef__":true,"id":3006},"parseSimulationSource":{"__isSmartRef__":true,"id":3010},"simulateStep":{"__isSmartRef__":true,"id":3014},"showError":{"__isSmartRef__":true,"id":3017},"throwSimulationProblem":{"__isSmartRef__":true,"id":3021},"updateUI":{"__isSmartRef__":true,"id":3025}},"2998":{"varMapping":{"__isSmartRef__":true,"id":2999},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":3000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2999":{"this":{"__isSmartRef__":true,"id":2692}},"3000":{"timestamp":{"__isSmartRef__":true,"id":3001},"user":"jenslincke","tags":[]},"3001":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"3002":{"varMapping":{"__isSmartRef__":true,"id":3003},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":3004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3003":{"this":{"__isSmartRef__":true,"id":2692}},"3004":{"timestamp":{"__isSmartRef__":true,"id":3005},"user":"jenslincke","tags":[]},"3005":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"3006":{"varMapping":{"__isSmartRef__":true,"id":3007},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":3008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3007":{"this":{"__isSmartRef__":true,"id":2692}},"3008":{"timestamp":{"__isSmartRef__":true,"id":3009},"user":"jenslincke","tags":[]},"3009":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"3010":{"varMapping":{"__isSmartRef__":true,"id":3011},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":3012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3011":{"this":{"__isSmartRef__":true,"id":2692}},"3012":{"timestamp":{"__isSmartRef__":true,"id":3013},"user":"jenslincke","tags":[]},"3013":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"3014":{"varMapping":{"__isSmartRef__":true,"id":3015},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\nvar full = $.Max * $.Factor\nif ($.Heat < full && this.get('Fuel').$.Gas > $.Max * dt && \n this.get('HeatStorage').$.Energy < 0.3 * this.get('HeatStorage').$.Max) {\n var gas = $.Max * dt\n this.get('Fuel').$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && this.get('HeatStorage').$.Energy < this.get('HeatStorage').$.Max ) {\n $.Heat -= delta\n this.get('HeatStorage').$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":3016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3015":{"this":{"__isSmartRef__":true,"id":2692}},"3016":{},"3017":{"varMapping":{"__isSmartRef__":true,"id":3018},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3018":{"this":{"__isSmartRef__":true,"id":2692}},"3019":{"timestamp":{"__isSmartRef__":true,"id":3020},"user":"jenslincke","tags":[]},"3020":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"3021":{"varMapping":{"__isSmartRef__":true,"id":3022},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":3023},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3022":{"this":{"__isSmartRef__":true,"id":2692}},"3023":{"timestamp":{"__isSmartRef__":true,"id":3024},"user":"jenslincke","tags":[]},"3024":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"3025":{"varMapping":{"__isSmartRef__":true,"id":3026},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":3027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3026":{"this":{"__isSmartRef__":true,"id":2692}},"3027":{"timestamp":{"__isSmartRef__":true,"id":3028},"user":"jenslincke","tags":[]},"3028":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"3029":{"submorphs":[{"__isSmartRef__":true,"id":3030},{"__isSmartRef__":true,"id":3046},{"__isSmartRef__":true,"id":3175},{"__isSmartRef__":true,"id":3197}],"scripts":[],"id":"E923728D-0B44-4597-B9B3-A670AB339628","shape":{"__isSmartRef__":true,"id":3221},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3222},"eventHandler":{"__isSmartRef__":true,"id":3278},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","5E21C7BB-A7E2-498E-858F-032DCC55A4FC","2072AEFD-449A-4F4E-B8A5-9A6C57DEBB4B","8013D903-1809-4244-AABF-4DF28A1844DB","00F3C15D-F47A-44A0-8AD1-817E6DA58255","6A96318B-D7CD-48E2-913D-29CB6897E3B7","B2263E54-BA2B-4C60-B8A1-92637C28EA08","64C5A21D-7106-40F1-A881-4B19EEF4534D","558820C1-7325-4652-A6CF-33B25DBDDE22","BCDFBF89-EC99-457D-A530-78EE6AA50603"],"partTests":{"__isSmartRef__":true,"id":3279},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":3284},{"__isSmartRef__":true,"id":3285},{"__isSmartRef__":true,"id":3286},{"__isSmartRef__":true,"id":3287},{"__isSmartRef__":true,"id":3288},{"__isSmartRef__":true,"id":3289},{"__isSmartRef__":true,"id":3290},{"__isSmartRef__":true,"id":3291}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":3292},"$":{"__isSmartRef__":true,"id":3293},"name":"ElectricConsumer","attributeConnections":[{"__isSmartRef__":true,"id":3294}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"owner":{"__isSmartRef__":true,"id":1},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3296},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(366.3,-16.1)","_Position":"lively.pt(1290.0,350.0)"},"3030":{"submorphs":[],"scripts":[],"id":"25CD615D-4384-47D7-A8CC-D64402A192F3","shape":{"__isSmartRef__":true,"id":3031},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_OverflowMode":"visible","_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":180.8018403394826,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"NameLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":3032},"textChunks":[{"__isSmartRef__":true,"id":3034}],"charsReplaced":"ThermalStation","lastFindLoc":14,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":3036},{"__isSmartRef__":true,"id":3037}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":3038},"owner":{"__isSmartRef__":true,"id":3029},"derivationIds":[7027,"63B54D01-70F2-4A5D-8586-BE6EDD15DB66","C5E299A1-9E8A-477F-985B-DDC8528C798C","34C77E49-70E0-4238-BFC7-110384901543","21EE0BC1-029B-42D1-A2CC-381C601A5F55","17C73E30-F0FE-4832-A19D-A93FAC698D7D"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":3029},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3039},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(15.9,10.7)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(122.6,-13.8)"},"3031":{"fill":null,"_BorderWidth":0,"__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(180.8,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"3032":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":3033},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3033":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"3034":{"style":{"__isSmartRef__":true,"id":3035},"chunkOwner":{"__isSmartRef__":true,"id":3030},"_id":"_198554","storedString":"ElectricConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3035":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3036":{"sourceObj":{"__isSmartRef__":true,"id":3030},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":3030},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3037":{"sourceObj":{"__isSmartRef__":true,"id":3030},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3030},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3038":{"morph":{"__isSmartRef__":true,"id":3030},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3039":{"updateLabel":{"__isSmartRef__":true,"id":3040},"renameOwner":{"__isSmartRef__":true,"id":3043}},"3040":{"varMapping":{"__isSmartRef__":true,"id":3041},"source":"function updateLabel() {\n\t// observe name changes in owner\n\tif (this.owner !== this.oldOwner) {\n\t\tif (this.oldOwner)\n\t\t\tdisconnect(this.oldOwner, 'name', this, 'updateLabel')\n\t\tif (this.owner)\n\t\t\tconnect(this.owner, 'name', this, 'updateLabel')\n\t\tthis.oldOwner = this.owner\n\t}\n\tvar name = (this.owner ? this.owner.name : \"no owner\")\n\tif (this.textString != name)\n\tthis.setTextString(name)\n}","funcProperties":{"__isSmartRef__":true,"id":3042},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3041":{"this":{"__isSmartRef__":true,"id":3030}},"3042":{},"3043":{"varMapping":{"__isSmartRef__":true,"id":3044},"source":"function renameOwner(name) {\n\tif (this.owner && this.owner.name != name) {\n\t\talertOK(\"renamed \" + this.owner + \" to \" + name)\n\t\tthis.owner.setName(name);\n\t}\n}","funcProperties":{"__isSmartRef__":true,"id":3045},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3044":{"this":{"__isSmartRef__":true,"id":3030}},"3045":{},"3046":{"submorphs":[],"scripts":[],"id":"AE022518-80F3-4DFD-B301-2992B9310C22","shape":{"__isSmartRef__":true,"id":3047},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Monaco,monospace","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"SimulationText","partsBinMetaInfo":{"__isSmartRef__":true,"id":3048},"textChunks":[{"__isSmartRef__":true,"id":3064},{"__isSmartRef__":true,"id":3066},{"__isSmartRef__":true,"id":3068},{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3072},{"__isSmartRef__":true,"id":3074},{"__isSmartRef__":true,"id":3076},{"__isSmartRef__":true,"id":3078},{"__isSmartRef__":true,"id":3080},{"__isSmartRef__":true,"id":3082},{"__isSmartRef__":true,"id":3084},{"__isSmartRef__":true,"id":3086},{"__isSmartRef__":true,"id":3088},{"__isSmartRef__":true,"id":3090},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3094},{"__isSmartRef__":true,"id":3096},{"__isSmartRef__":true,"id":3098},{"__isSmartRef__":true,"id":3100},{"__isSmartRef__":true,"id":3102},{"__isSmartRef__":true,"id":3104},{"__isSmartRef__":true,"id":3106},{"__isSmartRef__":true,"id":3108},{"__isSmartRef__":true,"id":3110},{"__isSmartRef__":true,"id":3112},{"__isSmartRef__":true,"id":3114},{"__isSmartRef__":true,"id":3116},{"__isSmartRef__":true,"id":3118},{"__isSmartRef__":true,"id":3120},{"__isSmartRef__":true,"id":3122},{"__isSmartRef__":true,"id":3124},{"__isSmartRef__":true,"id":3126},{"__isSmartRef__":true,"id":3128},{"__isSmartRef__":true,"id":3130},{"__isSmartRef__":true,"id":3132},{"__isSmartRef__":true,"id":3134}],"charsReplaced":"Energy","lastFindLoc":312,"prevScroll":[0,1],"eventHandler":{"__isSmartRef__":true,"id":3136},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","1BC17AC6-65D2-4DD8-906E-C419087FC3F7","6809C3A5-DCFA-4E76-9397-E4C5BA4A34C7","C528D4FD-5331-4D9A-9352-1088CF72DDDA","A3CD61D5-7936-402F-8EBA-3E2456AB5E0C","39BE0850-B4DE-4E8D-9EC7-7A6A5059775A","2035C52E-14AD-4493-A166-F79162AD66FB","D0F7C47B-437F-457E-929F-EA18E7790FA7","22F56005-4177-492C-8AAF-FF810C44931A","AAC02353-3C4E-47A1-8120-60A2F258771E","9FBBDAD3-5AE3-4342-A9DE-CF7593957E51","88B5A45D-F0EA-4372-952F-E5B93250C15E","782DCC77-008C-4653-BD28-DA4E24401AF9","D8C320FE-7916-4301-99FC-57DF6F7818E8"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":3137},{"__isSmartRef__":true,"id":3138},{"__isSmartRef__":true,"id":3139},{"__isSmartRef__":true,"id":3140},{"__isSmartRef__":true,"id":3141},{"__isSmartRef__":true,"id":3142},{"__isSmartRef__":true,"id":3143},{"__isSmartRef__":true,"id":3144}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3145},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":3029},"savedTextString":"var full = $.Max * $.Factor\n\nif ($.Heat < full && #Fuel.$.Gas > $.Max * dt && \n #HeatStorage.$.Energy < 0.3 * #HeatStorage.$.Max) {\n var gas = $.Max * dt\n #Fuel.$.Gas -= gas\n $.Heat += gas\n}\nvar delta = ($.Heat / $.Factor) * dt\nif ($.Heat > 2 * $.Max && #HeatStorage.$.Energy < #HeatStorage.$.Max ) {\n $.Heat -= delta\n #HeatStorage.$.Energy += 0.8 * delta\n} else {\n $.Heat -= 0.2 * delta\n}\n\n","attributeConnections":[{"__isSmartRef__":true,"id":3146},{"__isSmartRef__":true,"id":3148}],"doNotSerialize":["$$savedTextString","$$textString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":20,"_Rotation":0,"_Scale":1,"previousSelection":[333,333],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"$.Demand += (Math.random() - 0.5) * 0.01 * dt\nvar delta = $.Demand * dt\nif (#Battery.$.Energy > delta) {\n #Battery.$.Energy -= delta\n $.Consumed += delta\n} else {\n $.Extra += delta\n problem(\"EngeryToLow\")\n}\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3150},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(342.2,-10.2)"},"3047":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(383.1,147.2)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3048":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3049},{"__isSmartRef__":true,"id":3051},{"__isSmartRef__":true,"id":3053},{"__isSmartRef__":true,"id":3055},{"__isSmartRef__":true,"id":3057},{"__isSmartRef__":true,"id":3059},{"__isSmartRef__":true,"id":3061}],"lastModifiedDate":{"__isSmartRef__":true,"id":3063},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3049":{"date":{"__isSmartRef__":true,"id":3050},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3050":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3051":{"date":{"__isSmartRef__":true,"id":3052},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3052":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3053":{"date":{"__isSmartRef__":true,"id":3054},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3054":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3055":{"date":{"__isSmartRef__":true,"id":3056},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3056":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3057":{"date":{"__isSmartRef__":true,"id":3058},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"3058":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3059":{"date":{"__isSmartRef__":true,"id":3060},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3060":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3061":{"date":{"__isSmartRef__":true,"id":3062},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3062":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3063":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3064":{"style":{"__isSmartRef__":true,"id":3065},"chunkOwner":{"__isSmartRef__":true,"id":3046},"_id":"_198552","storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3065":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3066":{"_id":"_198788","style":{"__isSmartRef__":true,"id":3067},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":".Demand += (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3067":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3068":{"_id":"_198766","style":{"__isSmartRef__":true,"id":3069},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"Math","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3069":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(255,20,147)"},"3070":{"_id":"_198767","style":{"__isSmartRef__":true,"id":3071},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":".random() - ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3071":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3072":{"_id":"_198768","style":{"__isSmartRef__":true,"id":3073},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"0.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3073":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3074":{"_id":"_198769","style":{"__isSmartRef__":true,"id":3075},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":") * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3075":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3076":{"_id":"_198770","style":{"__isSmartRef__":true,"id":3077},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"0.01","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3077":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3078":{"_id":"_198771","style":{"__isSmartRef__":true,"id":3079},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3079":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3080":{"_id":"_198789","style":{"__isSmartRef__":true,"id":3081},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3081":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3082":{"_id":"_198790","style":{"__isSmartRef__":true,"id":3083},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3083":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3084":{"_id":"_198772","style":{"__isSmartRef__":true,"id":3085},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3085":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"3086":{"_id":"_198773","style":{"__isSmartRef__":true,"id":3087},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":" delta = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3087":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3088":{"_id":"_198791","style":{"__isSmartRef__":true,"id":3089},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3089":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3090":{"_id":"_198792","style":{"__isSmartRef__":true,"id":3091},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":".Demand * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3091":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3092":{"_id":"_198793","style":{"__isSmartRef__":true,"id":3093},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"dt","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3093":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3094":{"_id":"_198794","style":{"__isSmartRef__":true,"id":3095},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3095":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3096":{"_id":"_198774","style":{"__isSmartRef__":true,"id":3097},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3097":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"3098":{"_id":"_198775","style":{"__isSmartRef__":true,"id":3099},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":" (#Battery.$.Energy > delta) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3099":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3100":{"_id":"_198776","style":{"__isSmartRef__":true,"id":3101},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3101":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3102":{"_id":"_198777","style":{"__isSmartRef__":true,"id":3103},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"\n #Battery.$.Energy -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3103":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3104":{"_id":"_198795","style":{"__isSmartRef__":true,"id":3105},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3105":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3106":{"_id":"_198796","style":{"__isSmartRef__":true,"id":3107},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":".Consumed += delta\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3107":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3108":{"_id":"_198778","style":{"__isSmartRef__":true,"id":3109},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3109":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3110":{"_id":"_198779","style":{"__isSmartRef__":true,"id":3111},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3111":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3112":{"_id":"_198780","style":{"__isSmartRef__":true,"id":3113},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3113":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"3114":{"_id":"_198781","style":{"__isSmartRef__":true,"id":3115},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3115":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3116":{"_id":"_198782","style":{"__isSmartRef__":true,"id":3117},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3117":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3118":{"_id":"_198783","style":{"__isSmartRef__":true,"id":3119},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3119":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3120":{"_id":"_198797","style":{"__isSmartRef__":true,"id":3121},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3121":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3122":{"_id":"_198798","style":{"__isSmartRef__":true,"id":3123},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":".Extra += delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3123":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3124":{"_id":"_198799","style":{"__isSmartRef__":true,"id":3125},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"problem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3125":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"3126":{"_id":"_198800","style":{"__isSmartRef__":true,"id":3127},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3127":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3128":{"_id":"_198784","style":{"__isSmartRef__":true,"id":3129},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"\"EngeryToLow\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3129":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"3130":{"_id":"_198785","style":{"__isSmartRef__":true,"id":3131},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3131":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3132":{"_id":"_198786","style":{"__isSmartRef__":true,"id":3133},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3133":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3134":{"_id":"_198787","style":{"__isSmartRef__":true,"id":3135},"chunkOwner":{"__isSmartRef__":true,"id":3046},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3135":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3136":{"morph":{"__isSmartRef__":true,"id":3046},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3137":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(703.3,404.0)"},"3138":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(802.0,404.0)"},"3139":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(900.6,404.0)"},"3140":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(900.6,444.7)"},"3141":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(900.6,485.4)"},"3142":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(802.0,485.4)"},"3143":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(703.3,485.4)"},"3144":{"morph":{"__isSmartRef__":true,"id":3046},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(703.3,444.7)"},"3145":{"resizeWidth":true,"resizeHeight":true},"3146":{"sourceObj":{"__isSmartRef__":true,"id":3046},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3029},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":3147},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3147":{"source":{"__isSmartRef__":true,"id":3046},"target":{"__isSmartRef__":true,"id":3029}},"3148":{"sourceObj":{"__isSmartRef__":true,"id":3046},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3046},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":3149},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3149":{"source":{"__isSmartRef__":true,"id":3046},"target":{"__isSmartRef__":true,"id":3046}},"3150":{"boundEval":{"__isSmartRef__":true,"id":3151},"getDoitContext":{"__isSmartRef__":true,"id":3159},"installLayers":{"__isSmartRef__":true,"id":3167},"onLoad":{"__isSmartRef__":true,"id":3171}},"3151":{"varMapping":{"__isSmartRef__":true,"id":3152},"source":"function boundEval(str) {\n // Some little (Tim calls it ugly) funny preprocessor Macros\n str = \"var $ = this.$; var dt=this.owner.deltaTime;\\n\" + str\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n // str = str.replace(/#([A-Za-z][A-Za-z0-9]*)/g, \"this.get('$1')\")\n // alertOK(\"eval \" + str)\n\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer], function() {\n return $super(str)\n })\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3157},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3152":{"this":{"__isSmartRef__":true,"id":3046},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3153}},"3153":{"$super":{"__isSmartRef__":true,"id":3154}},"3154":{"varMapping":{"__isSmartRef__":true,"id":3155},"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":3156},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3155":{"obj":{"__isSmartRef__":true,"id":3046},"name":"boundEval"},"3156":{},"3157":{"timestamp":{"__isSmartRef__":true,"id":3158},"user":"jenslincke","tags":[]},"3158":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:50:41 GMT+0100 (CET)"},"3159":{"varMapping":{"__isSmartRef__":true,"id":3160},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":3165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3160":{"this":{"__isSmartRef__":true,"id":3046},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3161}},"3161":{"$super":{"__isSmartRef__":true,"id":3162}},"3162":{"varMapping":{"__isSmartRef__":true,"id":3163},"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":3164},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3163":{"obj":{"__isSmartRef__":true,"id":3046},"name":"getDoitContext"},"3164":{},"3165":{"timestamp":{"__isSmartRef__":true,"id":3166},"user":"jenslincke","tags":[]},"3166":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"3167":{"varMapping":{"__isSmartRef__":true,"id":3168},"source":"function installLayers() {\n\n// we use accessors here, so we don't have to bother with JavaScript syntax....\n\ncop.create(\"SpecialSyntaxWorkspaceLayer\")\n.refineClass(lively.morphic.Text, {\n get value() { return this.textString },\n set value(s) { return this.textString = s}\n})\n.refineClass(lively.morphic.List, {\n get value() { return this.getList() },\n set value(list) { return this.setList(list)}\n})\n.refineClass(lively.morphic.Image, {\n get value() { return this.getImageURL() },\n set value(url) { return this.setImageURL(url)}\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":3169},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3168":{"this":{"__isSmartRef__":true,"id":3046}},"3169":{"timestamp":{"__isSmartRef__":true,"id":3170},"user":"jenslincke","tags":[]},"3170":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"3171":{"varMapping":{"__isSmartRef__":true,"id":3172},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":3173},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3172":{"this":{"__isSmartRef__":true,"id":3046}},"3173":{"timestamp":{"__isSmartRef__":true,"id":3174},"user":"jenslincke","tags":[]},"3174":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"3175":{"submorphs":[],"scripts":[],"id":"9048A1F6-901C-439A-B5C4-7C8BB82656D7","shape":{"__isSmartRef__":true,"id":3176},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":3177},"textChunks":[{"__isSmartRef__":true,"id":3193}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3195},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3029},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3196},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.3,232.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(355.3,-8.6)","_TextColor":"Color.rgb(255,255,255)"},"3176":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_Fill":null,"__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(388.2,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3177":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3178},{"__isSmartRef__":true,"id":3180},{"__isSmartRef__":true,"id":3182},{"__isSmartRef__":true,"id":3184},{"__isSmartRef__":true,"id":3186},{"__isSmartRef__":true,"id":3188},{"__isSmartRef__":true,"id":3190}],"lastModifiedDate":{"__isSmartRef__":true,"id":3192},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3178":{"date":{"__isSmartRef__":true,"id":3179},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3179":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3180":{"date":{"__isSmartRef__":true,"id":3181},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3181":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3182":{"date":{"__isSmartRef__":true,"id":3183},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3183":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3184":{"date":{"__isSmartRef__":true,"id":3185},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3185":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3186":{"date":{"__isSmartRef__":true,"id":3187},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"3187":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3188":{"date":{"__isSmartRef__":true,"id":3189},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3189":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3190":{"date":{"__isSmartRef__":true,"id":3191},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3191":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3192":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3193":{"style":{"__isSmartRef__":true,"id":3194},"chunkOwner":{"__isSmartRef__":true,"id":3175},"_id":"_199892","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3194":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3195":{"morph":{"__isSmartRef__":true,"id":3175},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3196":{"moveVertical":true,"resizeWidth":true},"3197":{"submorphs":[],"scripts":[],"id":"193553CD-BA42-4AFE-B891-75BEE505DD24","shape":{"__isSmartRef__":true,"id":3198},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":9,"name":"PropertiesText","partsBinMetaInfo":{"__isSmartRef__":true,"id":3199},"textChunks":[{"__isSmartRef__":true,"id":3215}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3217},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","CADFFF2C-905C-49BD-9EEE-FDCCB89864CE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3029},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":3218}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0\nStopped: false\nFactor: 10\nMax: 3","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3220},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(12.1,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(84.8,-12.1)"},"3198":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(387.6,59.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3199":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3200},{"__isSmartRef__":true,"id":3202},{"__isSmartRef__":true,"id":3204},{"__isSmartRef__":true,"id":3206},{"__isSmartRef__":true,"id":3208},{"__isSmartRef__":true,"id":3210},{"__isSmartRef__":true,"id":3212}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":3214},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3200":{"date":{"__isSmartRef__":true,"id":3201},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3201":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3202":{"date":{"__isSmartRef__":true,"id":3203},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3203":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3204":{"date":{"__isSmartRef__":true,"id":3205},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3205":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3206":{"date":{"__isSmartRef__":true,"id":3207},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3207":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3208":{"date":{"__isSmartRef__":true,"id":3209},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"3209":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3210":{"date":{"__isSmartRef__":true,"id":3211},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3211":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3212":{"date":{"__isSmartRef__":true,"id":3213},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3213":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3214":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3215":{"style":{"__isSmartRef__":true,"id":3216},"chunkOwner":{"__isSmartRef__":true,"id":3197},"_id":"_199883","storedString":"Consumed: 0\nDemand: 1.5\nExtra: 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3216":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3217":{"morph":{"__isSmartRef__":true,"id":3197},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3218":{"sourceObj":{"__isSmartRef__":true,"id":3197},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3029},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":3219},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3219":{"source":{"__isSmartRef__":true,"id":3197},"target":{"__isSmartRef__":true,"id":3029}},"3220":{"resizeWidth":true},"3221":{"_BorderWidth":4.284,"_ClipMode":"visible","_BorderRadius":14.180000000000001,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(410.0,250.0)","_BorderColor":"Color.rgb(187,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)","_Position":"lively.pt(1.0,1.0)"},"3222":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3225},{"__isSmartRef__":true,"id":3227},{"__isSmartRef__":true,"id":3229},{"__isSmartRef__":true,"id":3231},{"__isSmartRef__":true,"id":3233},{"__isSmartRef__":true,"id":3235},{"__isSmartRef__":true,"id":3237},{"__isSmartRef__":true,"id":3239},{"__isSmartRef__":true,"id":3241},{"__isSmartRef__":true,"id":3243},{"__isSmartRef__":true,"id":3245},{"__isSmartRef__":true,"id":3247},{"__isSmartRef__":true,"id":3249},{"__isSmartRef__":true,"id":3251},{"__isSmartRef__":true,"id":3253},{"__isSmartRef__":true,"id":3255},{"__isSmartRef__":true,"id":3257},{"__isSmartRef__":true,"id":3259},{"__isSmartRef__":true,"id":3261},{"__isSmartRef__":true,"id":3263},{"__isSmartRef__":true,"id":3265},{"__isSmartRef__":true,"id":3267},{"__isSmartRef__":true,"id":3269},{"__isSmartRef__":true,"id":3271},{"__isSmartRef__":true,"id":3273},{"__isSmartRef__":true,"id":3275}],"lastModifiedDate":{"__isSmartRef__":true,"id":3277},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3223":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":3224}},"3224":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"3225":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":3226}},"3226":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"3227":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":3228}},"3228":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"3229":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":3230}},"3230":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3231":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":3232}},"3232":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3233":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":3234}},"3234":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3235":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":3236}},"3236":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3237":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":3238}},"3238":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3239":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":3240}},"3240":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3241":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":3242}},"3242":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"3243":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":3244}},"3244":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"3245":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":3246}},"3246":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"3247":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":3248}},"3248":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"3249":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":3250}},"3250":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"3251":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":3252}},"3252":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"3253":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":3254}},"3254":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"3255":{"date":{"__isSmartRef__":true,"id":3256},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"3256":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"3257":{"date":{"__isSmartRef__":true,"id":3258},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"3258":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"3259":{"date":{"__isSmartRef__":true,"id":3260},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"3260":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"3261":{"date":{"__isSmartRef__":true,"id":3262},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"3262":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"3263":{"date":{"__isSmartRef__":true,"id":3264},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"3264":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"3265":{"date":{"__isSmartRef__":true,"id":3266},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"3266":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"3267":{"date":{"__isSmartRef__":true,"id":3268},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"3268":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"3269":{"date":{"__isSmartRef__":true,"id":3270},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"3270":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"3271":{"date":{"__isSmartRef__":true,"id":3272},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"3272":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"3273":{"date":{"__isSmartRef__":true,"id":3274},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"3274":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"3275":{"date":{"__isSmartRef__":true,"id":3276},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"3276":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"3277":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:20:31 GMT+0100 (CET)"},"3278":{"morph":{"__isSmartRef__":true,"id":3029},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3279":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3280}},"3280":{"test01IsMorph":{"__isSmartRef__":true,"id":3281}},"3281":{"varMapping":{"__isSmartRef__":true,"id":3282},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3283},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3282":{"this":{"__isSmartRef__":true,"id":3279}},"3283":{},"3284":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(693.3,367.1)"},"3285":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(801.6,367.1)"},"3286":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(909.9,367.1)"},"3287":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(909.9,431.1)"},"3288":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(909.9,495.2)"},"3289":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(801.6,495.2)"},"3290":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(693.3,495.2)"},"3291":{"morph":{"__isSmartRef__":true,"id":3029},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(693.3,431.1)"},"3292":{"adjustForNewBounds":true},"3293":{"Consumed":0,"Demand":1.5,"Extra":0},"3294":{"sourceObj":{"__isSmartRef__":true,"id":3029},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":3030},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":3295},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3295":{"source":{"__isSmartRef__":true,"id":3029},"target":{"__isSmartRef__":true,"id":3030}},"3296":{"migrateFrom":{"__isSmartRef__":true,"id":3297},"parsePropeties":{"__isSmartRef__":true,"id":3301},"printProperties":{"__isSmartRef__":true,"id":3305},"parseSimulationSource":{"__isSmartRef__":true,"id":3309},"simulateStep":{"__isSmartRef__":true,"id":3313},"showError":{"__isSmartRef__":true,"id":3316},"throwSimulationProblem":{"__isSmartRef__":true,"id":3320},"updateUI":{"__isSmartRef__":true,"id":3324}},"3297":{"varMapping":{"__isSmartRef__":true,"id":3298},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.printProperties()\n if(other.get(\"SimulationText\"))\n this.get(\"SimulationText\").textString = other.get(\"SimulationText\").textString\n this.parseSimulationSource()\n this.setExtent(other.getExtent())\n this.name = other.name\n \n}","funcProperties":{"__isSmartRef__":true,"id":3299},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3298":{"this":{"__isSmartRef__":true,"id":3029}},"3299":{"timestamp":{"__isSmartRef__":true,"id":3300},"user":"jenslincke","tags":[]},"3300":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:02:21 GMT+0100 (CET)"},"3301":{"varMapping":{"__isSmartRef__":true,"id":3302},"source":"function parsePropeties() {\n var obj = {}\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n if (m[2].match(\",\"))\n obj[m[1]] = m[2].split(/, ?/)\n obj[m[1]] = JSON.parse(m[2])\n }\n })\n this.$ = obj\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":3303},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3302":{"this":{"__isSmartRef__":true,"id":3029}},"3303":{"timestamp":{"__isSmartRef__":true,"id":3304},"user":"jenslincke","tags":[]},"3304":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:33:05 GMT+0100 (CET)"},"3305":{"varMapping":{"__isSmartRef__":true,"id":3306},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n if (Object.isArray(obj[ea]))\n return ea + \": \" +obj[ea].join(\", \")\n else\n return ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n }).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":3307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3306":{"this":{"__isSmartRef__":true,"id":3029}},"3307":{"timestamp":{"__isSmartRef__":true,"id":3308},"user":"jenslincke","tags":[]},"3308":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:37:40 GMT+0100 (CET)"},"3309":{"varMapping":{"__isSmartRef__":true,"id":3310},"source":"function parseSimulationSource() {\n var str = this.get(\"SimulationText\").textString\n\n str = str.replace(/#([A-Za-z][A-Za-z0-9]*(?:#[A-Za-z0-9]*)*)(\\$)?(?!#)/g, \n function(m, $1, $2) {\n var s = \"this\"\n $1.split(\"#\").each(function(ea) { s += \".get('\" + ea+\"')\"})\n if ($2) s += \".value\"\n return s\n })\n\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").textString = \"\"\n\n try {\n str = \"function(dt) {\\n// AUTO GENERATED \\n try {\\n\"\n +\"var problem = this.throwSimulationProblem;\\n\"\n +\"var $ = this.$;\\n\"+ str + \"\\n\" +\n \"\\n} catch(e) {this.showError(e)}\" + \"}\"\n \n this.addScript(str, \"simulateStep\")\n \n } catch(e) {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").textString = \"\" + e\n }\n\n}","funcProperties":{"__isSmartRef__":true,"id":3311},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3310":{"this":{"__isSmartRef__":true,"id":3029}},"3311":{"timestamp":{"__isSmartRef__":true,"id":3312},"user":"jenslincke","tags":[]},"3312":{"isSerializedDate":true,"string":"Sat Jan 25 2014 22:48:23 GMT+0100 (CET)"},"3313":{"varMapping":{"__isSmartRef__":true,"id":3314},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\n$.Demand += (Math.random() - 0.5) * 0.01 * dt\nvar delta = $.Demand * dt\nif (this.get('Battery').$.Energy > delta) {\n this.get('Battery').$.Energy -= delta\n $.Consumed += delta\n} else {\n $.Extra += delta\n problem(\"EngeryToLow\")\n}\n\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":3315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3314":{"this":{"__isSmartRef__":true,"id":3029}},"3315":{},"3316":{"varMapping":{"__isSmartRef__":true,"id":3317},"source":"function showError(e) {\n if (e.isSimulationProblem) {\n this.get(\"Status\").setFill(Color.blue)\n this.get(\"Status\").setTextColor(Color.white)\n this.get(\"Status\").textString = e.value\n } else {\n this.get(\"Status\").setFill(Color.red)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = e\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3318},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3317":{"this":{"__isSmartRef__":true,"id":3029}},"3318":{"timestamp":{"__isSmartRef__":true,"id":3319},"user":"jenslincke","tags":[]},"3319":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:34:40 GMT+0100 (CET)"},"3320":{"varMapping":{"__isSmartRef__":true,"id":3321},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":3322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3321":{"this":{"__isSmartRef__":true,"id":3029}},"3322":{"timestamp":{"__isSmartRef__":true,"id":3323},"user":"jenslincke","tags":[]},"3323":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"3324":{"varMapping":{"__isSmartRef__":true,"id":3325},"source":"function updateUI() {\n this.get(\"SimulationText\").align(\n this.get(\"SimulationText\").bounds().topLeft(),\n this.get(\"PropertiesText\").bounds().bottomLeft());\n \n \n}","funcProperties":{"__isSmartRef__":true,"id":3326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3325":{"this":{"__isSmartRef__":true,"id":3029}},"3326":{"timestamp":{"__isSmartRef__":true,"id":3327},"user":"jenslincke","tags":[]},"3327":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"3328":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1746.3,1912.3)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"3329":{"partsSpaceName":"PartsBin/Jens/","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulation","changes":[{"__isSmartRef__":true,"id":3330},{"__isSmartRef__":true,"id":3332},{"__isSmartRef__":true,"id":3334},{"__isSmartRef__":true,"id":3336},{"__isSmartRef__":true,"id":3338},{"__isSmartRef__":true,"id":3340},{"__isSmartRef__":true,"id":3342},{"__isSmartRef__":true,"id":3344},{"__isSmartRef__":true,"id":3346},{"__isSmartRef__":true,"id":3348},{"__isSmartRef__":true,"id":3350},{"__isSmartRef__":true,"id":3352},{"__isSmartRef__":true,"id":3354},{"__isSmartRef__":true,"id":3356},{"__isSmartRef__":true,"id":3358},{"__isSmartRef__":true,"id":3360},{"__isSmartRef__":true,"id":3362},{"__isSmartRef__":true,"id":3364}],"lastModifiedDate":{"__isSmartRef__":true,"id":3366},"revisionOnLoad":204345,"#startLetters":"addR","requiredModules":["lively.experimental.MorphAccessor"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3330":{"date":{"__isSmartRef__":true,"id":3331},"author":"jenslincke","message":"no comment","id":"33EE3DAC-F868-43CF-9597-A716E6AEED92"},"3331":{"isSerializedDate":true,"string":"Thu Jan 23 2014 14:03:44 GMT+0100 (CET)"},"3332":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":3333}},"3333":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"3334":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":3335}},"3335":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"3336":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":3337}},"3337":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"3338":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":3339}},"3339":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"3340":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":3341}},"3341":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"3342":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":3343}},"3343":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"3344":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":3345}},"3345":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"3346":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":3347}},"3347":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3348":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":3349}},"3349":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3350":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":3351}},"3351":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3352":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":3353}},"3353":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3354":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":3355}},"3355":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3356":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":3357}},"3357":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3358":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":3359}},"3359":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"3360":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":3361}},"3361":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"3362":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":3363}},"3363":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"3364":{"date":{"__isSmartRef__":true,"id":3365},"author":"jenslincke","message":"no comment","id":"D38B829D-47C7-49C3-A9A0-F84055B86575"},"3365":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:27:03 GMT+0100 (CET)"},"3366":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:21:18 GMT+0100 (CET)"},"3367":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3368":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3369}},"3369":{"test01IsMorph":{"__isSmartRef__":true,"id":3370}},"3370":{"varMapping":{"__isSmartRef__":true,"id":3371},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3371":{"this":{"__isSmartRef__":true,"id":3368}},"3372":{},"3373":{"simulateStep":{"__isSmartRef__":true,"id":3374},"log":{"__isSmartRef__":true,"id":3378},"clearLog":{"__isSmartRef__":true,"id":3382},"getSimParts":{"__isSmartRef__":true,"id":3386},"showAllProperties":{"__isSmartRef__":true,"id":3390},"initSimulation":{"__isSmartRef__":true,"id":3394},"simulateOneStep":{"__isSmartRef__":true,"id":3398},"resetStatus":{"__isSmartRef__":true,"id":3402},"reset":{"__isSmartRef__":true,"id":3406}},"3374":{"varMapping":{"__isSmartRef__":true,"id":3375},"source":"function simulateStep() {\n this.clearLog()\n this.resetStatus()\n var parts = this.getSimParts()\n for(var i=0; i< this.simStepsAtOnce; i++) {\n parts.each(function(ea) {\n try {\n if (ea.$ && ea.$.Stopped) {return }\n ea.simulateStep(this.deltaTime)\n } catch(e) {\n this.log(\"Error simulating \" + ea );\n }\n }, this)\n }\n this.showAllProperties()\n}","funcProperties":{"__isSmartRef__":true,"id":3376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3375":{"this":{"__isSmartRef__":true,"id":1}},"3376":{"timestamp":{"__isSmartRef__":true,"id":3377},"user":"jenslincke","tags":[]},"3377":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:27:32 GMT+0100 (CET)"},"3378":{"varMapping":{"__isSmartRef__":true,"id":3379},"source":"function log(s) {\n this.get(\"Log\").textString += s + \"\\n\"\n this.get(\"Log\").scrollToBottom()\n}","funcProperties":{"__isSmartRef__":true,"id":3380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3379":{"this":{"__isSmartRef__":true,"id":1}},"3380":{"timestamp":{"__isSmartRef__":true,"id":3381},"user":"jenslincke","tags":[]},"3381":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:39:54 GMT+0100 (CET)"},"3382":{"varMapping":{"__isSmartRef__":true,"id":3383},"source":"function clearLog() {\n this.get(\"Log\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":3384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3383":{"this":{"__isSmartRef__":true,"id":1}},"3384":{"timestamp":{"__isSmartRef__":true,"id":3385},"user":"jenslincke","tags":[]},"3385":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:40:14 GMT+0100 (CET)"},"3386":{"varMapping":{"__isSmartRef__":true,"id":3387},"source":"function getSimParts() {\n return this.submorphs.select(function(ea) {\n return ea.isEnergySimulationPart\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3387":{"this":{"__isSmartRef__":true,"id":1}},"3388":{"timestamp":{"__isSmartRef__":true,"id":3389},"user":"jenslincke","tags":[]},"3389":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:15:21 GMT+0100 (CET)"},"3390":{"varMapping":{"__isSmartRef__":true,"id":3391},"source":"function showAllProperties() {\n this.getSimParts().each(function(ea) {\n ea.printProperties()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3391":{"this":{"__isSmartRef__":true,"id":1}},"3392":{"timestamp":{"__isSmartRef__":true,"id":3393},"user":"jenslincke","tags":[]},"3393":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:46:27 GMT+0100 (CET)"},"3394":{"varMapping":{"__isSmartRef__":true,"id":3395},"source":"function initSimulation() {\n var simParts = this.getSimParts()\n simParts.each(function(ea) {\n ea.parsePropeties()\n })\n simParts.each(function(ea) {\n ea.parseSimulationSource()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3395":{"this":{"__isSmartRef__":true,"id":1}},"3396":{"timestamp":{"__isSmartRef__":true,"id":3397},"user":"jenslincke","tags":[]},"3397":{"isSerializedDate":true,"string":"Sat Jan 25 2014 23:11:49 GMT+0100 (CET)"},"3398":{"varMapping":{"__isSmartRef__":true,"id":3399},"source":"function simulateOneStep() {\n this.clearLog()\n this.getSimParts().each(function(ea) {\n try {\n if (ea.$ && ea.$.Stopped) {return }\n ea.simulateStep(this.deltaTime)\n } catch(e) {\n this.log(\"Error simulating \" + ea );\n }\n }, this)\n this.showAllProperties()\n}","funcProperties":{"__isSmartRef__":true,"id":3400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3399":{"this":{"__isSmartRef__":true,"id":1}},"3400":{"timestamp":{"__isSmartRef__":true,"id":3401},"user":"jenslincke","tags":[]},"3401":{"isSerializedDate":true,"string":"Sat Jan 25 2014 23:17:32 GMT+0100 (CET)"},"3402":{"varMapping":{"__isSmartRef__":true,"id":3403},"source":"function resetStatus() {\n this.getSimParts().each(function(ea) {\n ea.get(\"Status\").textString = \"\"\n ea.get(\"Status\").setFill(Color.white)\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3403":{"this":{"__isSmartRef__":true,"id":1}},"3404":{"timestamp":{"__isSmartRef__":true,"id":3405},"user":"jenslincke","tags":[]},"3405":{"isSerializedDate":true,"string":"Sun Jan 26 2014 00:26:46 GMT+0100 (CET)"},"3406":{"varMapping":{"__isSmartRef__":true,"id":3407},"source":"function reset() {\n \n \n this.partsBinMetaInfo.addRequiredModule(\"lively.experimental.MorphAccessor\")\n \n}","funcProperties":{"__isSmartRef__":true,"id":3408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3407":{"this":{"__isSmartRef__":true,"id":1}},"3408":{"timestamp":{"__isSmartRef__":true,"id":3409},"user":"jenslincke","tags":[]},"3409":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:25:43 GMT+0100 (CET)"},"3410":{"submorphs":[],"scripts":[{"__isSmartRef__":true,"id":3411}],"id":"1839112B-9172-4481-8A55-89C6D09145F0","shape":{"__isSmartRef__":true,"id":3412},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"CheapWorldLayout","partsBinMetaInfo":{"__isSmartRef__":true,"id":3413},"eventHandler":{"__isSmartRef__":true,"id":3447},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BAE1478B-CB11-41E8-A432-8728CEA1E8B9","2EF4FF97-F02E-411E-AF1A-7151C9D582FA","3BDF678D-D961-43BA-939C-471EB892052F","00EA2971-F34B-4A4A-9862-9E232C36D082","208CB01E-E1F6-4F05-9D28-FA2C18DC1347","57AFF9A8-76B6-45A0-8582-329FD27C90C5","3AB13E2C-FA1C-49FF-B9E0-105037BD7EC9","4339E88D-5CE2-4555-A739-2E2289C39984"],"partTests":{"__isSmartRef__":true,"id":3448},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isLayouting":true,"prevScroll":[0,0],"grabbingEnabled":false,"magnets":[{"__isSmartRef__":true,"id":3453},{"__isSmartRef__":true,"id":3454},{"__isSmartRef__":true,"id":3455},{"__isSmartRef__":true,"id":3456},{"__isSmartRef__":true,"id":3457},{"__isSmartRef__":true,"id":3458},{"__isSmartRef__":true,"id":3459},{"__isSmartRef__":true,"id":3460}],"isMetaTool":true,"#startLetters":"regis","draggingEnabled":true,"eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","morphsToMove":null,"_Rotation":0,"_Scale":1,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","distanceToDragEvent","prevDragPos"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3461},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(17.9,22.5)","distanceToDragEvent":"lively.pt(269.0,-13.0)","prevDragPos":"lively.pt(254.6,19.3)"},"3411":{"target":{"__isSmartRef__":true,"id":3410},"selector":"layoutWorld","args":[],"stopped":false,"tickTime":500,"suspended":false,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"3412":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.4523,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(397.0,12.0)","_BorderColor":"Color.rgb(159,159,159)","_Fill":"Color.rgb(204,204,204)","_Padding":"lively.rect(0,0,0,0)"},"3413":{"comment":"A very direct and cheap world layouting:\n\n- layouts all the morphs on the left ( < 100px) in vertical order\n","migrationLevel":4,"partName":"CheapWorldLayout","changes":[{"__isSmartRef__":true,"id":3414},{"__isSmartRef__":true,"id":3416},{"__isSmartRef__":true,"id":3418},{"__isSmartRef__":true,"id":3420},{"__isSmartRef__":true,"id":3422},{"__isSmartRef__":true,"id":3424},{"__isSmartRef__":true,"id":3426},{"__isSmartRef__":true,"id":3428},{"__isSmartRef__":true,"id":3430},{"__isSmartRef__":true,"id":3432},{"__isSmartRef__":true,"id":3434},{"__isSmartRef__":true,"id":3436},{"__isSmartRef__":true,"id":3438},{"__isSmartRef__":true,"id":3440},{"__isSmartRef__":true,"id":3442},{"__isSmartRef__":true,"id":3444}],"lastModifiedDate":{"__isSmartRef__":true,"id":3446},"revisionOnLoad":200894,"partsSpaceName":"PartsBin/Jens/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3414":{"date":{"__isSmartRef__":true,"id":3415},"author":"jenslincke","message":"fixes origin bug","id":"6D65B2EB-4222-4AC5-8244-5D3581FCE017"},"3415":{"isSerializedDate":true,"string":"Thu Mar 14 2013 23:03:58 GMT+0100 (CET)"},"3416":{"date":{"__isSmartRef__":true,"id":3417},"author":"jenslincke","message":"no comment","id":"2EDE0A52-4B4A-4971-8005-F20EBD8737F7"},"3417":{"isSerializedDate":true,"string":"Wed Dec 12 2012 11:09:39 GMT+0100 (CET)"},"3418":{"date":{"__isSmartRef__":true,"id":3419},"author":"jenslincke","message":"no comment","id":"BC03E03B-5F5A-4955-8F8E-A6CC8426C612"},"3419":{"isSerializedDate":true,"string":"Wed Dec 12 2012 11:05:45 GMT+0100 (CET)"},"3420":{"date":{"__isSmartRef__":true,"id":3421},"author":"jenslincke","message":"no comment","id":"6AD89AC6-0BAE-4B1C-8C60-664562056C10"},"3421":{"isSerializedDate":true,"string":"Thu Dec 06 2012 13:53:14 GMT+0100 (CET)"},"3422":{"date":{"__isSmartRef__":true,"id":3423},"author":"jenslincke","message":"no comment","id":"EA1B8910-1E9A-4884-A9B5-44DAE3DC4178"},"3423":{"isSerializedDate":true,"string":"Thu Dec 06 2012 13:28:30 GMT+0100 (CET)"},"3424":{"date":{"__isSmartRef__":true,"id":3425},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"3425":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3426":{"date":{"__isSmartRef__":true,"id":3427},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"3427":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3428":{"date":{"__isSmartRef__":true,"id":3429},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"3429":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3430":{"date":{"__isSmartRef__":true,"id":3431},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"3431":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3432":{"date":{"__isSmartRef__":true,"id":3433},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"3433":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3434":{"date":{"__isSmartRef__":true,"id":3435},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"3435":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3436":{"date":{"__isSmartRef__":true,"id":3437},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"3437":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"3438":{"date":{"__isSmartRef__":true,"id":3439},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"3439":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"3440":{"date":{"__isSmartRef__":true,"id":3441},"author":"jenslincke","message":"no comment","id":"BDAAAA01-CAD5-49DE-8600-140BED885FE1"},"3441":{"isSerializedDate":true,"string":"Wed Dec 05 2012 17:59:50 GMT+0100 (CET)"},"3442":{"date":{"__isSmartRef__":true,"id":3443},"author":"jenslincke","message":"no comment","id":"D84CC710-005C-4B1F-AD64-DCD4DF6B563E"},"3443":{"isSerializedDate":true,"string":"Thu Mar 14 2013 23:12:02 GMT+0100 (CET)"},"3444":{"date":{"__isSmartRef__":true,"id":3445},"author":"jenslincke","message":"no comment","id":"94090062-9157-4AA9-96F2-492EAD3602BE"},"3445":{"isSerializedDate":true,"string":"Wed Oct 02 2013 10:35:55 GMT+0200 (CEST)"},"3446":{"isSerializedDate":true,"string":"Wed Oct 02 2013 10:33:09 GMT+0200 (CEST)"},"3447":{"morph":{"__isSmartRef__":true,"id":3410},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3448":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3449}},"3449":{"test01IsMorph":{"__isSmartRef__":true,"id":3450}},"3450":{"varMapping":{"__isSmartRef__":true,"id":3451},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3452},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3451":{"this":{"__isSmartRef__":true,"id":3448}},"3452":{},"3453":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.0)","cachedGlobalPosition":"lively.pt(39.0,38.0)"},"3454":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,0.0)","cachedGlobalPosition":"lively.pt(219.0,38.0)"},"3455":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.0)","cachedGlobalPosition":"lively.pt(399.0,38.0)"},"3456":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,0.5)","cachedGlobalPosition":"lively.pt(399.0,45.0)"},"3457":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(1.0,1.0)","cachedGlobalPosition":"lively.pt(399.0,52.0)"},"3458":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.5,1.0)","cachedGlobalPosition":"lively.pt(219.0,52.0)"},"3459":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,1.0)","cachedGlobalPosition":"lively.pt(39.0,52.0)"},"3460":{"morph":{"__isSmartRef__":true,"id":3410},"connectedControlPoints":[],"__serializedExpressions__":["position","cachedGlobalPosition"],"__LivelyClassName__":"lively.morphic.RelativeMagnet","__SourceModuleName__":"Global.lively.morphic.Connectors","position":"lively.pt(0.0,0.5)","cachedGlobalPosition":"lively.pt(39.0,45.0)"},"3461":{"layoutWorld":{"__isSmartRef__":true,"id":3462},"startLayouting":{"__isSmartRef__":true,"id":3466},"stopLayouting":{"__isSmartRef__":true,"id":3470},"reset":{"__isSmartRef__":true,"id":3474},"onDragStart":{"__isSmartRef__":true,"id":3478},"onDrag":{"__isSmartRef__":true,"id":3486},"onDragEnd":{"__isSmartRef__":true,"id":3494},"findMorphsToLayout":{"__isSmartRef__":true,"id":3502},"toggleLayouting":{"__isSmartRef__":true,"id":3506},"onDoubleClick":{"__isSmartRef__":true,"id":3510}},"3462":{"varMapping":{"__isSmartRef__":true,"id":3463},"source":"function layoutWorld() {\n var space = pt(0,this.getExtent().y);\n this.findMorphsToLayout().inject(this.bounds().bottomLeft().addPt(space),\n function(lastPos, ea) {\n ea.align(ea.bounds().topLeft(), lastPos);\n return ea.bounds().bottomLeft().addPt(space)\n }, this)\n var halos = this.world().currentHaloTarget &&\n this.world().currentHaloTarget.halos;\n if (halos)\n halos.invoke('alignAtTarget')\n}","funcProperties":{"__isSmartRef__":true,"id":3464},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3463":{"this":{"__isSmartRef__":true,"id":3410}},"3464":{"timestamp":{"__isSmartRef__":true,"id":3465},"user":"jenslincke","tags":[]},"3465":{"isSerializedDate":true,"string":"Tue Mar 05 2013 18:13:04 GMT+0100 (CET)"},"3466":{"varMapping":{"__isSmartRef__":true,"id":3467},"source":"function startLayouting() {\n this.isLayouting = true;\n this.startStepping(500, \"layoutWorld\")\n}","funcProperties":{"__isSmartRef__":true,"id":3468},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3467":{"this":{"__isSmartRef__":true,"id":3410}},"3468":{"timestamp":{"__isSmartRef__":true,"id":3469},"user":"jenslincke","tags":[]},"3469":{"isSerializedDate":true,"string":"Thu Dec 06 2012 12:02:28 GMT+0100 (CET)"},"3470":{"varMapping":{"__isSmartRef__":true,"id":3471},"source":"function stopLayouting() {\n this.isLayouting = false;\n this.stopStepping()\n}","funcProperties":{"__isSmartRef__":true,"id":3472},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3471":{"this":{"__isSmartRef__":true,"id":3410}},"3472":{"timestamp":{"__isSmartRef__":true,"id":3473},"user":"jenslincke","tags":[]},"3473":{"isSerializedDate":true,"string":"Thu Dec 06 2012 12:01:10 GMT+0100 (CET)"},"3474":{"varMapping":{"__isSmartRef__":true,"id":3475},"source":"function reset() {\n this.isMetaTool = true\n this.enableDragging();\n\n\n // this.registerForMouseEvents()\n \n}","funcProperties":{"__isSmartRef__":true,"id":3476},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3475":{"this":{"__isSmartRef__":true,"id":3410}},"3476":{"timestamp":{"__isSmartRef__":true,"id":3477},"user":"jenslincke","tags":[]},"3477":{"isSerializedDate":true,"string":"Wed Dec 12 2012 10:41:59 GMT+0100 (CET)"},"3478":{"varMapping":{"__isSmartRef__":true,"id":3479},"source":"function onDragStart(evt) {\n this.prevDragPos = evt.getPosition();\n this.morphsToMove = this.findMorphsToLayout();\n}","funcProperties":{"__isSmartRef__":true,"id":3484},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3479":{"this":{"__isSmartRef__":true,"id":3410},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3480}},"3480":{"$super":{"__isSmartRef__":true,"id":3481}},"3481":{"varMapping":{"__isSmartRef__":true,"id":3482},"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":3483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3482":{"obj":{"__isSmartRef__":true,"id":3410},"name":"onDragStart"},"3483":{},"3484":{"timestamp":{"__isSmartRef__":true,"id":3485},"user":"jenslincke","tags":[]},"3485":{"isSerializedDate":true,"string":"Wed Dec 12 2012 10:44:54 GMT+0100 (CET)"},"3486":{"varMapping":{"__isSmartRef__":true,"id":3487},"source":"function onDrag(evt) {\n var delta = evt.getPosition().subPt(this.prevDragPos)\n this.moveBy(delta)\n this.prevDragPos = evt.getPosition();\n this.morphsToMove.forEach(function(ea) {\n ea.moveBy(delta)\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3492},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3487":{"this":{"__isSmartRef__":true,"id":3410},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3488}},"3488":{"$super":{"__isSmartRef__":true,"id":3489}},"3489":{"varMapping":{"__isSmartRef__":true,"id":3490},"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":3491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3490":{"obj":{"__isSmartRef__":true,"id":3410},"name":"onDrag"},"3491":{},"3492":{"timestamp":{"__isSmartRef__":true,"id":3493},"user":"jenslincke","tags":[]},"3493":{"isSerializedDate":true,"string":"Wed Dec 12 2012 10:45:21 GMT+0100 (CET)"},"3494":{"varMapping":{"__isSmartRef__":true,"id":3495},"source":"function onDragEnd() {\n this.morphsToMove = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3495":{"this":{"__isSmartRef__":true,"id":3410},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3496}},"3496":{"$super":{"__isSmartRef__":true,"id":3497}},"3497":{"varMapping":{"__isSmartRef__":true,"id":3498},"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":3499},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3498":{"obj":{"__isSmartRef__":true,"id":3410},"name":"onDragEnd"},"3499":{},"3500":{"timestamp":{"__isSmartRef__":true,"id":3501},"user":"jenslincke","tags":[]},"3501":{"isSerializedDate":true,"string":"Wed Dec 12 2012 10:44:37 GMT+0100 (CET)"},"3502":{"varMapping":{"__isSmartRef__":true,"id":3503},"source":"function findMorphsToLayout() {\n var target = this.owner;\n var halos = this.world().currentHaloTarget && this.world().currentHaloTarget.halos;\n // check if dragging etc...\n if (halos && halos.detect(function(ea) {\n return ea.infoLabel && ea.infoLabel.owner\n })){\n return [];\n }\n return target.submorphs.select(function(ea) {\n return (ea.bounds().topLeft().x <= this.bounds().right()) &&\n (this.bounds().left() - 100 <= ea.bounds().left()) &&\n (this.bounds().top() <= ea.bounds().top()) \n }, this).reject(function(ea) {\n return ea.isEpiMorph || (ea instanceof lively.morphic.HandMorph) \n || ea == this\n || ea.isMetaTool\n || ea instanceof lively.morphic.Window\n }, this).sortBy(function(ea) {\n return ea.bounds().topLeft().y\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3503":{"this":{"__isSmartRef__":true,"id":3410}},"3504":{"timestamp":{"__isSmartRef__":true,"id":3505},"user":"jenslincke","tags":[]},"3505":{"isSerializedDate":true,"string":"Thu Mar 14 2013 23:11:41 GMT+0100 (CET)"},"3506":{"varMapping":{"__isSmartRef__":true,"id":3507},"source":"function toggleLayouting() {\n if (this.isLayouting) {\n this.stopLayouting()\n this.setFill(Color.red)\n } else {\n this.startLayouting()\n this.setFill(Color.gray)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3507":{"this":{"__isSmartRef__":true,"id":3410}},"3508":{"timestamp":{"__isSmartRef__":true,"id":3509},"user":"jenslincke","tags":[]},"3509":{"isSerializedDate":true,"string":"Wed Dec 12 2012 11:04:24 GMT+0100 (CET)"},"3510":{"varMapping":{"__isSmartRef__":true,"id":3511},"source":"function onDoubleClick(evt) {\n \n if (evt.isLeftMouseButtonDown()) {\n this.toggleLayouting()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3512},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3511":{"this":{"__isSmartRef__":true,"id":3410}},"3512":{"timestamp":{"__isSmartRef__":true,"id":3513},"user":"jenslincke","tags":[]},"3513":{"isSerializedDate":true,"string":"Wed Oct 02 2013 10:35:20 GMT+0200 (CEST)"},"3514":{"submorphs":[],"scripts":[],"id":"542E1246-898F-44A8-BBAD-6A562C65028F","shape":{"__isSmartRef__":true,"id":3515},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":662.1211211211211,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":28,"name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":3516},"textChunks":[{"__isSmartRef__":true,"id":3521}],"charsReplaced":"WriteFirst 2014-01-24","lastFindLoc":21,"prevScroll":[0,0],"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":662.1211211211211,"_MinTextHeight":null,"eventHandler":{"__isSmartRef__":true,"id":3523},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[683,"F43C5DBF-97D8-4835-8CB7-2B6EAB81E196","80C3E6E0-6D02-44B9-9C91-6F24AE370E2F","B661A806-84A1-4EB2-93DC-55E6C2B60136"],"moved":true,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"isBeingDragged":false,"previousSelection":[0,10],"priorSelectionRange":[28,28],"__serializedExpressions__":["_Position","textColor","_TextColor","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(17.9,46.5)","textColor":"Color.rgb(0,0,0)","_TextColor":"Color.rgb(0,79,152)","distanceToDragEvent":"lively.pt(447.0,1.0)"},"3515":{"fill":null,"_BorderWidth":0,"_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(662.1,43.0)","_BorderColor":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"3516":{"partsSpaceName":"PartsBin/Text/","partName":"Title","comment":"A title morph template","changes":[{"__isSmartRef__":true,"id":3517},{"__isSmartRef__":true,"id":3519}],"migrationLevel":4,"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3517":{"date":{"__isSmartRef__":true,"id":3518},"author":"jenslincke","message":"","id":"1390D6B7-2215-4E06-8C86-7500ED7702F2"},"3518":{"isSerializedDate":true,"string":"Wed Nov 09 2011 17:27:07 GMT+0100 (CET)"},"3519":{"date":{"__isSmartRef__":true,"id":3520},"author":"jenslincke","message":"initial","id":"2DA7C793-6A93-4D2F-A854-29DFAAE1BCE8"},"3520":{"isSerializedDate":true,"string":"Wed Nov 09 2011 17:26:44 GMT+0100 (CET)"},"3521":{"style":{"__isSmartRef__":true,"id":3522},"chunkOwner":{"__isSmartRef__":true,"id":3514},"_id":"_19","storedString":"Energy Simulation (Scripted)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3522":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3523":{"morph":{"__isSmartRef__":true,"id":3514},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3524":{"submorphs":[{"__isSmartRef__":true,"id":3525},{"__isSmartRef__":true,"id":3559},{"__isSmartRef__":true,"id":3720},{"__isSmartRef__":true,"id":3725},{"__isSmartRef__":true,"id":3886},{"__isSmartRef__":true,"id":3905},{"__isSmartRef__":true,"id":3923}],"scripts":[],"id":"DEF77197-682C-45E2-BA5D-B8C900134F7C","shape":{"__isSmartRef__":true,"id":3928},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"PartMigrator","partsBinMetaInfo":{"__isSmartRef__":true,"id":3929},"eventHandler":{"__isSmartRef__":true,"id":3967},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","F2677A9D-5855-4DF2-B248-94545B34B762","D52188B3-7DC0-410E-96B1-50892AC00A37","16ECF252-8162-4A3F-8D4F-F043369BEA91"],"partTests":{"__isSmartRef__":true,"id":3968},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"getMorph","target":{"__isSmartRef__":true,"id":1},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3973},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1821.2,260.3)","distanceToDragEvent":"lively.pt(153.5,-14.3)"},"3525":{"submorphs":[{"__isSmartRef__":true,"id":3526}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3531},"eventHandler":{"__isSmartRef__":true,"id":3532},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D","92B4ADA9-C51B-41E6-A24A-65BEECC7E878"],"id":"C617EC04-89AB-4FA0-A477-56924F39C7D4","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":3526},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":3533},{"__isSmartRef__":true,"id":3535}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button2","partsBinMetaInfo":{"__isSmartRef__":true,"id":3537},"pinSpecs":[{"__isSmartRef__":true,"id":3553}],"owner":{"__isSmartRef__":true,"id":3524},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3554},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(12.4,8.4)","distanceToDragEvent":"lively.pt(72.9,-12.8)"},"3526":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3527},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3528}],"eventHandler":{"__isSmartRef__":true,"id":3530},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4","CBE6DD96-208B-4DF1-8A59-C8DF251D028E"],"id":"4DD6B666-CF93-41BD-9A61-56175090B414","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3525},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"3527":{"_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(100.0,20.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"3528":{"style":{"__isSmartRef__":true,"id":3529},"chunkOwner":{"__isSmartRef__":true,"id":3526},"_id":"_126235","storedString":"migrate parts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3529":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3530":{"morph":{"__isSmartRef__":true,"id":3526},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3531":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(100.0,20.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"3532":{"morph":{"__isSmartRef__":true,"id":3525},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3533":{"sourceObj":{"__isSmartRef__":true,"id":3525},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3525},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":3534},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3534":{"source":{"__isSmartRef__":true,"id":3525},"target":{"__isSmartRef__":true,"id":3525}},"3535":{"sourceObj":{"__isSmartRef__":true,"id":3525},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3524},"targetMethodName":"migrateParts","varMapping":{"__isSmartRef__":true,"id":3536},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3536":{"source":{"__isSmartRef__":true,"id":3525},"target":{"__isSmartRef__":true,"id":3524}},"3537":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":3538},{"__isSmartRef__":true,"id":3540},{"__isSmartRef__":true,"id":3542},{"__isSmartRef__":true,"id":3544},{"__isSmartRef__":true,"id":3546},{"__isSmartRef__":true,"id":3548},{"__isSmartRef__":true,"id":3550}],"migrationLevel":7,"lastModifiedDate":{"__isSmartRef__":true,"id":3552},"revisionOnLoad":203770,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3538":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","date":{"__isSmartRef__":true,"id":3539}},"3539":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"3540":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","date":{"__isSmartRef__":true,"id":3541}},"3541":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"3542":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","date":{"__isSmartRef__":true,"id":3543}},"3543":{"isSerializedDate":true,"string":"Wed May 01 2013 05:34:25 GMT+0200 (CEST)"},"3544":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","date":{"__isSmartRef__":true,"id":3545}},"3545":{"isSerializedDate":true,"string":"Wed May 01 2013 05:35:59 GMT+0200 (CEST)"},"3546":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","date":{"__isSmartRef__":true,"id":3547}},"3547":{"isSerializedDate":true,"string":"Wed May 01 2013 05:36:30 GMT+0200 (CEST)"},"3548":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","date":{"__isSmartRef__":true,"id":3549}},"3549":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:22:38 GMT+0200 (CEST)"},"3550":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","date":{"__isSmartRef__":true,"id":3551}},"3551":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:24:50 GMT+0200 (CEST)"},"3552":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"3553":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"3554":{"doAction":{"__isSmartRef__":true,"id":3555}},"3555":{"varMapping":{"__isSmartRef__":true,"id":3556},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":3557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3556":{"this":{"__isSmartRef__":true,"id":3525}},"3557":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":3558}},"3558":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"3559":{"submorphs":[{"__isSmartRef__":true,"id":3560},{"__isSmartRef__":true,"id":3567}],"scripts":[],"id":"7CD5F8AD-655F-49C5-B224-BC6E440F121E","shape":{"__isSmartRef__":true,"id":3570},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3576},"lighterFill":{"__isSmartRef__":true,"id":3581},"label":{"__isSmartRef__":true,"id":3560},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3586},"attributeConnections":[{"__isSmartRef__":true,"id":3592}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":3593},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC","81CB4C12-BCF0-4097-8B6D-D9419046367A","0767A57D-9BB2-48C6-9654-753D2B9D00A6","42871246-6725-4E41-A2C1-5A5BCF041097","BCE6E775-B5DF-4D6B-9F06-CDC02C1B1D0F","797EC165-A639-42D9-A059-669F6BEB92A7","FA498EFD-E50E-4CE0-9FA8-9AE2E8AE9580","4B68C371-CB37-45B4-910A-611E5FFC23DD","94E374B9-7ED4-4E39-96F1-6FD4E7AC3428","34D63515-7CC7-43FB-B7BB-87AFCA377D63","7E0B172C-0AF5-4C6E-B184-25A8FAE4FAB8","12239D52-D3D3-4713-BC3E-F0B95C488CB7","72559D92-4616-45A9-A0F2-72BA4147C0FB","E86C7328-AF24-4881-84AF-B7C7CEFEAE14","22D731CF-38F0-41CC-B125-74D2842ED847","B58A1A30-782E-4675-A276-2C01D35BEC70","ACEABA6D-071C-46C2-A325-BE30189AA45F","686443AE-DCDC-4998-8A39-48BC57D64FDC","8D660766-7C93-404C-9D92-B12CBF59A3CE","20DF1A18-6F2B-4D66-9110-75EB343C3C61","6295FA32-B7AA-4C61-BF03-5E69084C8FE8","72BEBA6F-7C26-47B6-AED2-253F02E48DE5","0B7FD918-BB64-49EA-A26A-45D408FBF85D","6B96BB67-EBE4-46AC-97F3-73F209469E96","7D373E3D-8EBD-4E82-99C0-2ABA4154DDD2","6716E808-9BF0-471E-8BA5-0E0E4491D002","EAFDE782-D226-4904-895E-20E9734A876C","97AE5B68-0D45-427A-A045-FE1586A23E01","652E4BFA-858C-41A6-96C1-A6A02B5B6BC2","571C5728-BEA1-475C-A2E2-319031399278"],"_ClipMode":"visible","highlightRectangle":{"__isSmartRef__":true,"id":3594},"isPressed":false,"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":3670},"moved":true,"owner":{"__isSmartRef__":true,"id":3524},"_Rotation":0,"_Scale":0.9920279440699439,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3671},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(178.7,33.4)","distanceToDragEvent":"lively.pt(51.4,-11.9)"},"3560":{"submorphs":[],"scripts":[],"id":"40D42808-692A-42BC-9FE3-CD7C316DCF62","shape":{"__isSmartRef__":true,"id":3561},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":24,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":3559},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":3562},{"__isSmartRef__":true,"id":3564}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":3566},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702","A2CC4D56-B9D8-4A48-B6FF-DDDD85ACDC2E","5AC5C4DE-00B0-43DB-B7F1-765674CE818B","750A11C6-766E-4B48-AE32-D71DE811EB4A","66A7B56E-A94E-44AE-8AED-C0C1B07554D4","CA8596D3-2D4F-453B-BE1B-DCEC8F85389B","4D7DC32F-79CB-4AF8-8B21-AB4F1809D4A8","439DE430-7651-470E-97D8-00E7F96B04DA","DAC920E6-217B-4515-AC09-2F9DCBA7375C","BD48C003-0502-451D-B6AA-7369FF3D1030","C3B8F4EA-3F44-47F4-B569-A0D5AB263BA0","BF7F0FA3-3F2A-4EEF-9687-BE2B0635DF13","3D7AEAC1-C9DD-4941-BA46-16F6783F5699","E04A78F9-3D6E-403F-BA8D-2583FCFFCE53","47E1F29B-6896-467D-8654-CA18929AE57A","509D86FF-5400-4374-BE79-90F0A7E3E90C","C7E53EE0-065A-4C59-8D13-311566722BB7","BA078BAC-7263-4B10-AFD3-3C4EA0DD8707","BCFE28D1-A115-453E-9116-EECC8FE1D50F","A354FF2E-BD85-429A-97C2-254D6033F50C","B26A73EB-9EB9-4CB0-89AF-FEE10445E3EA","ED910382-D586-4EC1-BD77-5E8DD759BDB4","05A48E42-A3E2-4C4A-8160-685CE469FD4E","732A3761-4FE1-4312-8EF7-E5ADF0D9E087","CDBDE5FF-3426-45BB-963D-51B2156D9C40","65B8E035-5DF8-4B88-B57A-99E2A738EFB4","1EF9DF4A-1629-4F03-B6E7-14756A1A5488","43372ED0-6C0B-4D2C-A07E-AA5F3D7320FE","78DB1195-6CA8-4CF6-9525-3A2EA5D8A837","9788DC31-5EDD-44E4-A2A1-BDA89C6E2416"],"_MinTextWidth":24,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"3561":{"_BorderWidth":0,"_Fill":null,"__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(47.9,24.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"3562":{"style":{"__isSmartRef__":true,"id":3563},"chunkOwner":{"__isSmartRef__":true,"id":3560},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3563":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3564":{"style":{"__isSmartRef__":true,"id":3565},"chunkOwner":{"__isSmartRef__":true,"id":3560},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3565":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3566":{"morph":{"__isSmartRef__":true,"id":3560},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3567":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3568},"derivationIds":[null,"29E543E0-AE93-493A-A694-FC1C330D0544","F0366E4C-E97F-4C77-BEE4-340A0668ADD5","347F6028-5092-4F54-9A34-3EFF3FF0B815","BF7387E7-BCD7-4A5B-B9D2-C14ECF59EFCA","85BA370B-966E-41F7-8C2F-F3A926EC2AA2","1652172B-339A-43A1-9589-70E68B35A28E","705524F7-129B-4102-834E-2A1A45985BB5","5707DF70-CD77-4D53-96ED-5A0AEB227FB7","257E62CE-C668-4317-B5B7-8D394BDC3F6C","2DD4BEA5-E85A-4CD0-953E-9EB2E0735654","BB96B696-7BD4-44C4-9D60-B1551B89D6FA","FCAABC48-FBAF-4E12-8BC9-AC4ACB5A167B","EB81C4D7-5BD8-4DAC-BD70-8675E2338AAC","1DBAE3FF-B2F6-4348-8E06-81139C138D6E","49E7D450-EF74-4E94-B33B-B888D952F3BD","F0B267C4-54BA-4E6F-BFDD-4B047F4FF41A","36B8611D-B449-4F6E-8D0F-B5FD6406D45D","779DB518-01BD-4D32-AD65-BFED801E5D06","F47D501C-3750-4F0D-A2E1-E1B9CDA8368C","5DEBC468-2070-496D-A3DA-1A5C54BBBC41","1DB6E59C-CCC0-45D1-B3DA-6B2ECCE90296","B8001536-A62C-4660-90C2-B02509302EE5","F97079BD-335C-41D9-A5D5-782FB6FE21BD","E1543B0F-A69C-40F0-91C9-129DA75A82A6","2CABA960-211A-4573-BCDE-86E23BCAA797","2045A65C-ADD8-4283-9D5D-B7705B975C2F","9E13F1F3-B61E-4C65-9EDE-DA9F6CA27BCE","4BCDA60B-0BA1-4D18-8590-B2697CF0849D","7CDE8D5C-0AD1-4D02-AF2B-49C7E1A9FF10"],"id":"9F82016D-706B-4750-BDB3-DECDB082AFDD","eventHandler":{"__isSmartRef__":true,"id":3569},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":3559},"name":"leftpointing_magnifying_glass.png","isBeingDragged":false,"showsHalos":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-3.0,0.0)","distanceToDragEvent":"lively.pt(39.9,-9.0)"},"3568":{"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAABAAAAAQBPJcTWAAAALnRFWHRUaXRsZQBMRUZULVBPSU5USU5HIE1BR05JRllJTkcgR0xBU1MgKFUrMUY1MEQpw88haQAAABV0RVh0QXV0aG9yAEFuZHJldyBNYXJjdXNl5zc3gwAAAC90RVh0U29mdHdhcmUAaW5mby5maWxlZm9ybWF0LmRhdGEuVW5pY29kZVBuZ1NlcnZsZXRoAX8wAAAAQ3RFWHREZXNjcmlwdGlvbgBodHRwOi8vd3d3LmZpbGVmb3JtYXQuaW5mby9pbmZvL3VuaWNvZGUvMWY1MGQvaW5kZXguaHRtk2hNQgAAADt0RVh0Q29weXJpZ2h0AGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzIuMC9siJKDAAAIDklEQVR42u1daWxVRRQeCi0tIqCAQCTIUtEIGlk0ilqEkEbiQhSKGAyCooIIggsiQuMWZNGwVMUFNIhKZBMobZClgK1FwAU3wIpSREDcUFZFEM/JOzf3vPHet9ze1/eYe77k+zNzl5nz3ZlzZntPKYFAcHojDXimmKH6cQbwZuBM4HLgx8A9wBPAU8BjwJ3ADcDFwMnArsCaYjr/0BB4DwlwjAwfL38DzgX2AdYWk3pDJnAM8E/NuN8BpwEHAq8DXgpsCswANgN2APak/BeBu7T7sQX1A9YQE8fuDwYAf2BG/JrEaefxmSjaeOAO9syNwBwxd2Q0o/7fMhr6h8Fx+oBIX346cATwF/aON6Qbc0ZH4G4y0lHgOGAdD8/Be/KAs4AFwKsdrqkHnAA8Tu8rAzYWCWz0Bh5hraKTT11fL+AH1FXlA8/SrsEu61fmW9qLFEqNAv5LRsEw9twEvKMzcAvwJ3LoHG2AW+n9B4HdgixGHhNjiccuKlbUp9aC7yoGnqflraa8A8C2QRTjMvIVaITyKI61BjnkqiILWEjvPAwcxvLqAj+nvAqH7s1oNAfupcpjeNskhnvQOQ/xYfxQCziHRVl3sjxsNfspvYSuNR4Ywn5ClT5CA7lYkUPRU0YVy4CivkVlOE7TKxa6AP+ivKlBEORe9nUO8XD/QhWay6oqmlK3dYoirTYs70FK/wd4ocli1KVIByu7XXmb9BsOPEmj76riSfZxbAM2oPQMmqLB9GUmC/I0M8AtHp9xCd3/rM8fCHISy+vH0ruaOi3Coyqv6ETPKPSpXEOZ4X9XoSl+y89sovTNJgoyklW8rw8+aKFP5apFo3SrbMNcWsnFpgmylkU19R3yY4mc0mk0j88Z62PZ5jHDV7DQugE5dkx/3CQxzlb2qt6aCF1HtJH6BHoGju4v97F8+Sp8zeRGlldCaZtMEmQAq+zICL5hpUvrwfXy19gzZvhcvj6aILNZ3ij2ETQzRZA3WWU7RrgOfQsu05YCnyLxcFS9h91fTlMgfqKdJsg6lteBpQ8wRZASVqmmUa7txvwEJ/qe8SoxGxYymK+wpnMsNGHpxviRbVShkzEatAb5iEHUSrqzQVuiUMkMf5IFGWnM/71giiAHqEL7U7iMf2gtkk/B7/M51E4qMlklvzwNymgxl+VvobQPTRCkMavkDpaelkJlbOkgyDUsv0LZu19Oe/A++BBLvyIB0ZJX9HIQhHdZBymt1BQfso9V1Jorag28PUXKN8tBkHqUV4elLTJFkM9YpVqzllOcAmXDiG6vJsZhlt+Kpc80RZBiF2eJK4fZSS5bd4fWUcTyc1n6Y6YIMpVVii+LTgFOTHLZNjoIMpTlT2fpXUwRpIcKn021gHuwcDN0ss525Cnn3fIt2DXfK3vPljGbHtK1gdcFmkNdkYTK4gz0Tgcxytg1fI6rUBkGvubA54Ta0lTFK9VYFhS/xKV18PEHX3MfYpogfPUND9DwuamFlP5oNZXlZRcxlmsDWutsCl/aNQYZWhfBnTlOceNsLq459E1wyyhwEeNvFb7ZusClrEbhNlbJoyp8Y3UejehxPWS08v/MBrbIlcr92BvfwZit7KMKOC3f3FRBcBC2mRlBnz0dpOzN17gvqrdP7+2p7PkoJz7Hrq2pCfeqMhzXasbI1/KHa/m4Y93reRFcU1mrIh8IXaLCJzpnsLyfKRozHrNZpbFF9NHyx2pGw2tWAZ8H3gW8UjmvvWdSlIQb3raq6Kdzp6vwBbOhWn5/FRCggy9lFcdN1521ax5Q0Y9B41o7nkn8Rv1/gSkS0T/crb0vV4Uv465UAUNjLerCkfAN2jUXKef19apwnYP4AynK4tfNU6m1ZlMtaK/stQZrLXu0Q6g6OIpTjoVfAK/Xnp1GDp1fhy0th1rwHLqmEbXYHkEQJYcGitwouG2onoPx0Ne8q+yDmtGIs8lPUFCgH/Q5R4XPQlt8nfKzKB9/ouNHLT/ddFEw7t+uGQbPko90GY+gOHgcoRc5+YeBj1DY3JPyGrq8qy6JdMhBDAyz8azhZLq2JRuP4HE3a6f8KhNH7k4Dt9UORqoE3qGqfiAUo7L7lX1kjfMd4H0UHGTTFMpLzH8VUAS3iN2znsQ1GugvprCvkvMYdSFouBYxPu98FdoKusblmZXUoiz0J1FuYgPUfCrXAof7S4MgimXIRVH8wwHq5vBLna9Cs8ULyEgVWrCg8zAJ79TtjGDXjSMx5kd4Fk7XB+a3uq5Sob1QfoW86JzxR2zcjjyj3/mKTafUpCAi2nPLVcB+QA379YdoGuWEBxEwars1hujIOpZQQS1jWhzvKXeIDAOBRhT+YgQ2kcYK71NLwgOauAKJ50jwpFW8J2jHKHvLKwYBuENmVxyibAiqKIlCOkVY1g8HZHkQ5SOXeTaBR9RW9vT7agp34xVlo4jiL7KoG0TjriCR4hVlk0r8EYrAtZQiZa+14wx1qzhF2Syi+C+K5VOWko8RUVJIlPc8irIhKCP6ZItSqeJbh8kSU/qHDCbKMuZT4hFlrpgxcaIUUcuJR5TdYsLEiFLIQuLMOESZJOZLnCjLyMhrabqkZRRR1qsArDQmW5SlZOxPVWhJ2E2UNRJlVQ/wi19CRv9WhXbJoCh8zb+IujVBNYqymIyPP55ZxsQoVvK78kkBrp28rXVThSJGcoE7YZ5RoTMlc8SBpw7kj2IEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgSAZ+A+0ucC4BysctgAAAABJRU5ErkJggg==","_NodeClass":["image"],"_NodeId":"29E543E0-AE93-493A-A694-FC1C330D0544","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(29.0,29.0)","_Padding":"lively.rect(0,0,0,0)"},"3569":{"morph":{"__isSmartRef__":true,"id":3567},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3570":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":3571},"_BorderRadius":5.2,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(47.9,24.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"3571":{"stops":[{"__isSmartRef__":true,"id":3572},{"__isSmartRef__":true,"id":3573},{"__isSmartRef__":true,"id":3574},{"__isSmartRef__":true,"id":3575}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"3572":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"3573":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"3574":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"3575":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"3576":{"stops":[{"__isSmartRef__":true,"id":3577},{"__isSmartRef__":true,"id":3578},{"__isSmartRef__":true,"id":3579},{"__isSmartRef__":true,"id":3580}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"3577":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"3578":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"3579":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"3580":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"3581":{"stops":[{"__isSmartRef__":true,"id":3582},{"__isSmartRef__":true,"id":3583},{"__isSmartRef__":true,"id":3584},{"__isSmartRef__":true,"id":3585}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"3582":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"3583":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"3584":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"3585":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"3586":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":4,"partName":"MagnifierButton","comment":"A magnifier, which calls setTarget: on the owner","changes":[{"__isSmartRef__":true,"id":3587},{"__isSmartRef__":true,"id":3589}],"revisionOnLoad":203770,"lastModifiedDate":{"__isSmartRef__":true,"id":3591},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3587":{"date":{"__isSmartRef__":true,"id":3588},"author":"jenslincke","message":"no comment","id":"F343C38F-1923-4DD3-BF9B-4A4B6A7111D6"},"3588":{"isSerializedDate":true,"string":"Fri Feb 01 2013 15:51:27 GMT+0100 (CET)"},"3589":{"date":{"__isSmartRef__":true,"id":3590},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"3590":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"3591":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"3592":{"sourceObj":{"__isSmartRef__":true,"id":3559},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3593":{"morph":{"__isSmartRef__":true,"id":3559},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3594":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":3595},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":3596},"eventHandler":{"__isSmartRef__":true,"id":3637},"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","6FECB598-D130-4242-BF1B-E18767608129","0B23F218-078F-4912-A262-31B957885F41","C56BA290-B836-4946-B4EF-DBB6FBA2368C","61176BAF-CFE6-4F2C-9F0A-971AAD6595A1","CB4127B2-0AA5-4B50-9978-F1FF39924A82","113050BB-CF0E-4193-91C6-9C25FC857EE8","EFF939E4-317B-4662-943F-77A6E6F65BD0","AA288E7F-3972-4F0D-87DD-61E4BD9C9C97","903E8C60-1158-42D5-85D2-DF134DA6CEC1","28FD6210-A549-4A11-9178-04E77FF556C0","B3312E29-D786-469F-865E-91FD69475A52","D947A1C1-DCBE-4485-A33D-DF549F6978E0","56CE0E60-45BE-43FF-9C6C-296D8AC326B6","CC61E3F8-8C8D-4F24-A591-023D3C88DEC8"],"partTests":{"__isSmartRef__":true,"id":3638},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"","eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","_Rotation":0,"_Scale":1.0060210561262526,"owner":null,"magnifierButton":{"__isSmartRef__":true,"id":3559},"attributeConnections":[{"__isSmartRef__":true,"id":3643},{"__isSmartRef__":true,"id":3645},{"__isSmartRef__":true,"id":3647}],"isToolMorph":true,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3649},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(20.7,256.5)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"3595":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.2597,"_BorderStyle":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1746.3,1912.3)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"3596":{"partsSpaceName":"PartsBin/Tools","comment":"A rectangle which highlights the object under the first hand of the world","migrationLevel":4,"partName":"HighlightRectangle","changes":[{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3599},{"__isSmartRef__":true,"id":3601},{"__isSmartRef__":true,"id":3603},{"__isSmartRef__":true,"id":3605},{"__isSmartRef__":true,"id":3607},{"__isSmartRef__":true,"id":3609},{"__isSmartRef__":true,"id":3611},{"__isSmartRef__":true,"id":3613},{"__isSmartRef__":true,"id":3615},{"__isSmartRef__":true,"id":3617},{"__isSmartRef__":true,"id":3619},{"__isSmartRef__":true,"id":3621},{"__isSmartRef__":true,"id":3623},{"__isSmartRef__":true,"id":3625},{"__isSmartRef__":true,"id":3627},{"__isSmartRef__":true,"id":3629},{"__isSmartRef__":true,"id":3631},{"__isSmartRef__":true,"id":3633},{"__isSmartRef__":true,"id":3635}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3597":{"date":{"__isSmartRef__":true,"id":3598},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"3598":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"3599":{"date":{"__isSmartRef__":true,"id":3600},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"3600":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"3601":{"date":{"__isSmartRef__":true,"id":3602},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"3602":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"3603":{"date":{"__isSmartRef__":true,"id":3604},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"3604":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"3605":{"date":{"__isSmartRef__":true,"id":3606},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"3606":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"3607":{"date":{"__isSmartRef__":true,"id":3608},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"3608":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3609":{"date":{"__isSmartRef__":true,"id":3610},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"3610":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3611":{"date":{"__isSmartRef__":true,"id":3612},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"3612":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3613":{"date":{"__isSmartRef__":true,"id":3614},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"3614":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3615":{"date":{"__isSmartRef__":true,"id":3616},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"3616":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3617":{"date":{"__isSmartRef__":true,"id":3618},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"3618":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3619":{"date":{"__isSmartRef__":true,"id":3620},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"3620":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"3621":{"date":{"__isSmartRef__":true,"id":3622},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"3622":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"3623":{"date":{"__isSmartRef__":true,"id":3624},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"3624":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"3625":{"date":{"__isSmartRef__":true,"id":3626},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"3626":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"3627":{"date":{"__isSmartRef__":true,"id":3628},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"3628":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"3629":{"date":{"__isSmartRef__":true,"id":3630},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"3630":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"3631":{"date":{"__isSmartRef__":true,"id":3632},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"3632":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"3633":{"date":{"__isSmartRef__":true,"id":3634},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"3634":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"3635":{"date":{"__isSmartRef__":true,"id":3636},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"3636":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"3637":{"morph":{"__isSmartRef__":true,"id":3594},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3638":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3639}},"3639":{"test01IsMorph":{"__isSmartRef__":true,"id":3640}},"3640":{"varMapping":{"__isSmartRef__":true,"id":3641},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3641":{"this":{"__isSmartRef__":true,"id":3638}},"3642":{},"3643":{"sourceObj":{"__isSmartRef__":true,"id":3594},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":3594},"targetMethodName":"updateOnMove","varMapping":{"__isSmartRef__":true,"id":3644},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3644":{"source":{"__isSmartRef__":true,"id":3594},"target":{"__isSmartRef__":true,"id":3594}},"3645":{"sourceObj":{"__isSmartRef__":true,"id":3594},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"removeHighlighting","varMapping":{"__isSmartRef__":true,"id":3646},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3646":{"source":{"__isSmartRef__":true,"id":3594},"target":{"__isSmartRef__":true,"id":3559}},"3647":{"sourceObj":{"__isSmartRef__":true,"id":3594},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":3559},"targetMethodName":"setTarget","varMapping":{"__isSmartRef__":true,"id":3648},"converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3648":{"source":{"__isSmartRef__":true,"id":3594},"target":{"__isSmartRef__":true,"id":3559}},"3649":{"update":{"__isSmartRef__":true,"id":3650},"updateOnMove":{"__isSmartRef__":true,"id":3654},"bringToFront":{"__isSmartRef__":true,"id":3658},"morphUnderCursor":{"__isSmartRef__":true,"id":3666}},"3650":{"varMapping":{"__isSmartRef__":true,"id":3651},"source":"function update(morphUnderCursor) {\n if (morphUnderCursor === this.magnifierButton ||\n this.magnifierButton.submorphs.include(morphUnderCursor)) {\n morphToHighlight = this.magnifierButton.currentTarget();\n } else {\n morphToHighlight = morphUnderCursor;\n }\n\n if (morphToHighlight && morphToHighlight.world()) {\n this.setPosition(morphToHighlight.getPositionInWorld());\n this.setExtent(morphToHighlight.getExtent());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3652},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3651":{"this":{"__isSmartRef__":true,"id":3594}},"3652":{"timestamp":{"__isSmartRef__":true,"id":3653},"user":"lauritz","tags":[]},"3653":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"3654":{"varMapping":{"__isSmartRef__":true,"id":3655},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":3656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3655":{"this":{"__isSmartRef__":true,"id":3594}},"3656":{"timestamp":{"__isSmartRef__":true,"id":3657},"user":"lauritz","tags":[]},"3657":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"3658":{"varMapping":{"__isSmartRef__":true,"id":3659},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":3664},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3659":{"this":{"__isSmartRef__":true,"id":3594},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3660}},"3660":{"$super":{"__isSmartRef__":true,"id":3661}},"3661":{"varMapping":{"__isSmartRef__":true,"id":3662},"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":3663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3662":{"obj":{"__isSmartRef__":true,"id":3594},"name":"bringToFront"},"3663":{},"3664":{"timestamp":{"__isSmartRef__":true,"id":3665},"user":"lauritz","tags":[]},"3665":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"3666":{"varMapping":{"__isSmartRef__":true,"id":3667},"source":"function morphUnderCursor() {\n var that = this,\n world = lively.morphic.World.current(); \n \n return world.morphsContainingPoint(world.firstHand().getPosition()).detect(\n function(ea) {\n return !ea.isPlaceholder &&\n !ea.isHalo &&\n (!ea.owner || !ea.owner.isHalo) &&\n !(ea === that);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":3668},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3667":{"this":{"__isSmartRef__":true,"id":3594}},"3668":{"timestamp":{"__isSmartRef__":true,"id":3669},"user":"lauritz","tags":[]},"3669":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"3670":{"moveHorizontal":true},"3671":{"onFire":{"__isSmartRef__":true,"id":3672},"removeHighlighting":{"__isSmartRef__":true,"id":3676},"onMouseMove":{"__isSmartRef__":true,"id":3680},"onMouseOut":{"__isSmartRef__":true,"id":3688},"reset":{"__isSmartRef__":true,"id":3696},"isTracking":{"__isSmartRef__":true,"id":3700},"isHighlighting":{"__isSmartRef__":true,"id":3704},"currentTarget":{"__isSmartRef__":true,"id":3708},"setupHighlightRectangle":{"__isSmartRef__":true,"id":3712},"setTarget":{"__isSmartRef__":true,"id":3716}},"3672":{"varMapping":{"__isSmartRef__":true,"id":3673},"source":"function onFire() {\n var hand = lively.morphic.World.current().firstHand(),\n highlight = this.highlightRectangle,\n that = this;\n\n if (this.isTracking()) {\n this.removeHighlighting();\n } else {\n this.world().addMorph(highlight);\n hand.highlightConnection = connect(hand, \"scrollFocusMorph\", highlight, \"update\");\n highlight.bringToFront();\n if (!this.currentTarget() || !this.currentTarget().world()) {\n highlight.setExtent(pt(0,0));\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3674},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3673":{"this":{"__isSmartRef__":true,"id":3559}},"3674":{"timestamp":{"__isSmartRef__":true,"id":3675},"user":"lauritz","tags":[]},"3675":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"3676":{"varMapping":{"__isSmartRef__":true,"id":3677},"source":"function removeHighlighting() {\n var hand = this.world().firstHand();\n\n if (this.highlightRectangle) {\n this.highlightRectangle.remove();\n }\n\n hand.attributeConnections.removeAt(\n hand.attributeConnections.indexOf(hand.highlightConnection));\n hand.highlightConnection = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3677":{"this":{"__isSmartRef__":true,"id":3559}},"3678":{"timestamp":{"__isSmartRef__":true,"id":3679},"user":"jenslincke","tags":[]},"3679":{"isSerializedDate":true,"string":"Tue Dec 18 2012 12:54:24 GMT+0100 (CET)"},"3680":{"varMapping":{"__isSmartRef__":true,"id":3681},"source":"function onMouseMove(evt) {\n var target = this.currentTarget();\n if (target && target.world() && !this.isHighlighting()) {\n this.highlightRectangle.update(target);\n this.world().addMorph(this.highlightRectangle);\n this.highlightRectangle.bringToFront();\n this.targetHighlight = this.highlightRectangle;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3681":{"this":{"__isSmartRef__":true,"id":3559},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3682}},"3682":{"$super":{"__isSmartRef__":true,"id":3683}},"3683":{"varMapping":{"__isSmartRef__":true,"id":3684},"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":3685},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3684":{"obj":{"__isSmartRef__":true,"id":3559},"name":"onMouseMove"},"3685":{},"3686":{"timestamp":{"__isSmartRef__":true,"id":3687},"user":"lauritz","tags":[]},"3687":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"3688":{"varMapping":{"__isSmartRef__":true,"id":3689},"source":"function onMouseOut() {\n if (this.isHighlighting()) {\n if (!this.isTracking()) {\n this.targetHighlight.remove();\n }\n delete this.targetHighlight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3689":{"this":{"__isSmartRef__":true,"id":3559},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3690}},"3690":{"$super":{"__isSmartRef__":true,"id":3691}},"3691":{"varMapping":{"__isSmartRef__":true,"id":3692},"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":3693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3692":{"obj":{"__isSmartRef__":true,"id":3559},"name":"onMouseOut"},"3693":{},"3694":{"timestamp":{"__isSmartRef__":true,"id":3695},"user":"lauritz","tags":[]},"3695":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"3696":{"varMapping":{"__isSmartRef__":true,"id":3697},"source":"function reset() {\n this.highlightRectangle.attributeConnections = [];\n \n var r = this.highlightRectangle;\n r.isToolMorph = true\n disconnectAll(r)\n connect(r, \"onMouseMove\", this.highlightRectangle, \"updateOnMove\")\n connect(r, \"onMouseUp\", this, \"removeHighlighting\")\n connect(r, \"onMouseUp\", this, \"setTarget\",\n {converter: function () {\n return this.sourceObj.morphUnderCursor();\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3698},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3697":{"this":{"__isSmartRef__":true,"id":3559}},"3698":{"timestamp":{"__isSmartRef__":true,"id":3699},"user":"jenslincke","tags":[]},"3699":{"isSerializedDate":true,"string":"Mon Dec 17 2012 17:02:31 GMT+0100 (CET)"},"3700":{"varMapping":{"__isSmartRef__":true,"id":3701},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":3702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3701":{"this":{"__isSmartRef__":true,"id":3559}},"3702":{"timestamp":{"__isSmartRef__":true,"id":3703},"user":"lauritz","tags":[]},"3703":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"3704":{"varMapping":{"__isSmartRef__":true,"id":3705},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":3706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3705":{"this":{"__isSmartRef__":true,"id":3559}},"3706":{"timestamp":{"__isSmartRef__":true,"id":3707},"user":"lauritz","tags":[]},"3707":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"3708":{"varMapping":{"__isSmartRef__":true,"id":3709},"source":"function currentTarget() {\n return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":3710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3709":{"this":{"__isSmartRef__":true,"id":3559}},"3710":{"timestamp":{"__isSmartRef__":true,"id":3711},"user":"lauritz","tags":[]},"3711":{"isSerializedDate":true,"string":"Wed Jun 06 2012 18:26:02 GMT+0200 (CEST)"},"3712":{"varMapping":{"__isSmartRef__":true,"id":3713},"source":"function setupHighlightRectangle() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":3714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3713":{"this":{"__isSmartRef__":true,"id":3559}},"3714":{"timestamp":{"__isSmartRef__":true,"id":3715},"user":"jenslincke","tags":[]},"3715":{"isSerializedDate":true,"string":"Thu Dec 13 2012 10:26:03 GMT+0100 (CET)"},"3716":{"varMapping":{"__isSmartRef__":true,"id":3717},"source":"function setTarget(obj) {\n this.owner.setTarget(obj)\n}","funcProperties":{"__isSmartRef__":true,"id":3718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3717":{"this":{"__isSmartRef__":true,"id":3559}},"3718":{"timestamp":{"__isSmartRef__":true,"id":3719},"user":"jenslincke","tags":[]},"3719":{"isSerializedDate":true,"string":"Thu Dec 13 2012 10:27:04 GMT+0100 (CET)"},"3720":{"submorphs":[],"scripts":[],"id":"C9B1F8DD-2DCC-4042-A04A-3B8BBB7BCEC8","shape":{"__isSmartRef__":true,"id":3721},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"TargetNameText","partsBinMetaInfo":{"__isSmartRef__":true,"id":2523},"textChunks":[{"__isSmartRef__":true,"id":3722}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3724},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3524},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(11.3,30.6)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(89.7,-9.1)"},"3721":{"fill":null,"_BorderWidth":0,"_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(198.3,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3722":{"style":{"__isSmartRef__":true,"id":3723},"chunkOwner":{"__isSmartRef__":true,"id":3720},"_id":"_585120","storedString":"EnergySimulation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3723":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3724":{"morph":{"__isSmartRef__":true,"id":3720},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3725":{"submorphs":[{"__isSmartRef__":true,"id":3726},{"__isSmartRef__":true,"id":3733}],"scripts":[],"id":"0CC5DD41-B530-4F7C-ABD3-C4514D9773F8","shape":{"__isSmartRef__":true,"id":3736},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3742},"lighterFill":{"__isSmartRef__":true,"id":3747},"label":{"__isSmartRef__":true,"id":3726},"name":"MagnifierButton1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3752},"attributeConnections":[{"__isSmartRef__":true,"id":3758}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":3759},"derivationIds":[2588,"22797D34-67DE-4A06-81F0-4DF0A87ADBBC","81CB4C12-BCF0-4097-8B6D-D9419046367A","0767A57D-9BB2-48C6-9654-753D2B9D00A6","42871246-6725-4E41-A2C1-5A5BCF041097","BCE6E775-B5DF-4D6B-9F06-CDC02C1B1D0F","797EC165-A639-42D9-A059-669F6BEB92A7","FA498EFD-E50E-4CE0-9FA8-9AE2E8AE9580","4B68C371-CB37-45B4-910A-611E5FFC23DD","94E374B9-7ED4-4E39-96F1-6FD4E7AC3428","34D63515-7CC7-43FB-B7BB-87AFCA377D63","7E0B172C-0AF5-4C6E-B184-25A8FAE4FAB8","12239D52-D3D3-4713-BC3E-F0B95C488CB7","72559D92-4616-45A9-A0F2-72BA4147C0FB","E86C7328-AF24-4881-84AF-B7C7CEFEAE14","22D731CF-38F0-41CC-B125-74D2842ED847","B58A1A30-782E-4675-A276-2C01D35BEC70","ACEABA6D-071C-46C2-A325-BE30189AA45F","686443AE-DCDC-4998-8A39-48BC57D64FDC","8D660766-7C93-404C-9D92-B12CBF59A3CE","20DF1A18-6F2B-4D66-9110-75EB343C3C61","6295FA32-B7AA-4C61-BF03-5E69084C8FE8","72BEBA6F-7C26-47B6-AED2-253F02E48DE5","0B7FD918-BB64-49EA-A26A-45D408FBF85D","6B96BB67-EBE4-46AC-97F3-73F209469E96","7D373E3D-8EBD-4E82-99C0-2ABA4154DDD2","6716E808-9BF0-471E-8BA5-0E0E4491D002","EAFDE782-D226-4904-895E-20E9734A876C","97AE5B68-0D45-427A-A045-FE1586A23E01","652E4BFA-858C-41A6-96C1-A6A02B5B6BC2","571C5728-BEA1-475C-A2E2-319031399278","7CD5F8AD-655F-49C5-B224-BC6E440F121E"],"_ClipMode":"visible","highlightRectangle":{"__isSmartRef__":true,"id":3760},"isPressed":false,"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":3836},"moved":true,"owner":{"__isSmartRef__":true,"id":3524},"_Rotation":0,"_Scale":0.9920279440699439,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3837},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(13.4,69.7)","distanceToDragEvent":"lively.pt(34.3,-17.0)"},"3726":{"submorphs":[],"scripts":[],"id":"8E5C5AEB-9BC1-403D-A518-864227AB962D","shape":{"__isSmartRef__":true,"id":3727},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":24,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":3725},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":3728},{"__isSmartRef__":true,"id":3730}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":3732},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"024C5ADE-C4CF-4E8E-BEC5-F93AD4839702","A2CC4D56-B9D8-4A48-B6FF-DDDD85ACDC2E","5AC5C4DE-00B0-43DB-B7F1-765674CE818B","750A11C6-766E-4B48-AE32-D71DE811EB4A","66A7B56E-A94E-44AE-8AED-C0C1B07554D4","CA8596D3-2D4F-453B-BE1B-DCEC8F85389B","4D7DC32F-79CB-4AF8-8B21-AB4F1809D4A8","439DE430-7651-470E-97D8-00E7F96B04DA","DAC920E6-217B-4515-AC09-2F9DCBA7375C","BD48C003-0502-451D-B6AA-7369FF3D1030","C3B8F4EA-3F44-47F4-B569-A0D5AB263BA0","BF7F0FA3-3F2A-4EEF-9687-BE2B0635DF13","3D7AEAC1-C9DD-4941-BA46-16F6783F5699","E04A78F9-3D6E-403F-BA8D-2583FCFFCE53","47E1F29B-6896-467D-8654-CA18929AE57A","509D86FF-5400-4374-BE79-90F0A7E3E90C","C7E53EE0-065A-4C59-8D13-311566722BB7","BA078BAC-7263-4B10-AFD3-3C4EA0DD8707","BCFE28D1-A115-453E-9116-EECC8FE1D50F","A354FF2E-BD85-429A-97C2-254D6033F50C","B26A73EB-9EB9-4CB0-89AF-FEE10445E3EA","ED910382-D586-4EC1-BD77-5E8DD759BDB4","05A48E42-A3E2-4C4A-8160-685CE469FD4E","732A3761-4FE1-4312-8EF7-E5ADF0D9E087","CDBDE5FF-3426-45BB-963D-51B2156D9C40","65B8E035-5DF8-4B88-B57A-99E2A738EFB4","1EF9DF4A-1629-4F03-B6E7-14756A1A5488","43372ED0-6C0B-4D2C-A07E-AA5F3D7320FE","78DB1195-6CA8-4CF6-9525-3A2EA5D8A837","9788DC31-5EDD-44E4-A2A1-BDA89C6E2416","40D42808-692A-42BC-9FE3-CD7C316DCF62"],"_MinTextWidth":24,"_MinTextHeight":null,"_FontSize":10,"_WordBreak":"break-all","__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"3727":{"_BorderWidth":0,"_Fill":null,"__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(50.0,26.1)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"3728":{"style":{"__isSmartRef__":true,"id":3729},"chunkOwner":{"__isSmartRef__":true,"id":3726},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3729":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3730":{"style":{"__isSmartRef__":true,"id":3731},"chunkOwner":{"__isSmartRef__":true,"id":3726},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3731":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3732":{"morph":{"__isSmartRef__":true,"id":3726},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3733":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3734},"derivationIds":[null,"29E543E0-AE93-493A-A694-FC1C330D0544","F0366E4C-E97F-4C77-BEE4-340A0668ADD5","347F6028-5092-4F54-9A34-3EFF3FF0B815","BF7387E7-BCD7-4A5B-B9D2-C14ECF59EFCA","85BA370B-966E-41F7-8C2F-F3A926EC2AA2","1652172B-339A-43A1-9589-70E68B35A28E","705524F7-129B-4102-834E-2A1A45985BB5","5707DF70-CD77-4D53-96ED-5A0AEB227FB7","257E62CE-C668-4317-B5B7-8D394BDC3F6C","2DD4BEA5-E85A-4CD0-953E-9EB2E0735654","BB96B696-7BD4-44C4-9D60-B1551B89D6FA","FCAABC48-FBAF-4E12-8BC9-AC4ACB5A167B","EB81C4D7-5BD8-4DAC-BD70-8675E2338AAC","1DBAE3FF-B2F6-4348-8E06-81139C138D6E","49E7D450-EF74-4E94-B33B-B888D952F3BD","F0B267C4-54BA-4E6F-BFDD-4B047F4FF41A","36B8611D-B449-4F6E-8D0F-B5FD6406D45D","779DB518-01BD-4D32-AD65-BFED801E5D06","F47D501C-3750-4F0D-A2E1-E1B9CDA8368C","5DEBC468-2070-496D-A3DA-1A5C54BBBC41","1DB6E59C-CCC0-45D1-B3DA-6B2ECCE90296","B8001536-A62C-4660-90C2-B02509302EE5","F97079BD-335C-41D9-A5D5-782FB6FE21BD","E1543B0F-A69C-40F0-91C9-129DA75A82A6","2CABA960-211A-4573-BCDE-86E23BCAA797","2045A65C-ADD8-4283-9D5D-B7705B975C2F","9E13F1F3-B61E-4C65-9EDE-DA9F6CA27BCE","4BCDA60B-0BA1-4D18-8590-B2697CF0849D","7CDE8D5C-0AD1-4D02-AF2B-49C7E1A9FF10","9F82016D-706B-4750-BDB3-DECDB082AFDD"],"id":"0E4A16BA-BF95-496F-9F50-EDA5E18E1F5D","eventHandler":{"__isSmartRef__":true,"id":3735},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":3725},"name":"leftpointing_magnifying_glass.png","isBeingDragged":false,"showsHalos":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(-3.0,0.0)","distanceToDragEvent":"lively.pt(39.9,-9.0)"},"3734":{"_ImageURL":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAABAAAAAQBPJcTWAAAALnRFWHRUaXRsZQBMRUZULVBPSU5USU5HIE1BR05JRllJTkcgR0xBU1MgKFUrMUY1MEQpw88haQAAABV0RVh0QXV0aG9yAEFuZHJldyBNYXJjdXNl5zc3gwAAAC90RVh0U29mdHdhcmUAaW5mby5maWxlZm9ybWF0LmRhdGEuVW5pY29kZVBuZ1NlcnZsZXRoAX8wAAAAQ3RFWHREZXNjcmlwdGlvbgBodHRwOi8vd3d3LmZpbGVmb3JtYXQuaW5mby9pbmZvL3VuaWNvZGUvMWY1MGQvaW5kZXguaHRtk2hNQgAAADt0RVh0Q29weXJpZ2h0AGh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzIuMC9siJKDAAAIDklEQVR42u1daWxVRRQeCi0tIqCAQCTIUtEIGlk0ilqEkEbiQhSKGAyCooIIggsiQuMWZNGwVMUFNIhKZBMobZClgK1FwAU3wIpSREDcUFZFEM/JOzf3vPHet9ze1/eYe77k+zNzl5nz3ZlzZntPKYFAcHojDXimmKH6cQbwZuBM4HLgx8A9wBPAU8BjwJ3ADcDFwMnArsCaYjr/0BB4DwlwjAwfL38DzgX2AdYWk3pDJnAM8E/NuN8BpwEHAq8DXgpsCswANgN2APak/BeBu7T7sQX1A9YQE8fuDwYAf2BG/JrEaefxmSjaeOAO9syNwBwxd2Q0o/7fMhr6h8Fx+oBIX346cATwF/aON6Qbc0ZH4G4y0lHgOGAdD8/Be/KAs4AFwKsdrqkHnAA8Tu8rAzYWCWz0Bh5hraKTT11fL+AH1FXlA8/SrsEu61fmW9qLFEqNAv5LRsEw9twEvKMzcAvwJ3LoHG2AW+n9B4HdgixGHhNjiccuKlbUp9aC7yoGnqflraa8A8C2QRTjMvIVaITyKI61BjnkqiILWEjvPAwcxvLqAj+nvAqH7s1oNAfupcpjeNskhnvQOQ/xYfxQCziHRVl3sjxsNfspvYSuNR4Ywn5ClT5CA7lYkUPRU0YVy4CivkVlOE7TKxa6AP+ivKlBEORe9nUO8XD/QhWay6oqmlK3dYoirTYs70FK/wd4ocli1KVIByu7XXmb9BsOPEmj76riSfZxbAM2oPQMmqLB9GUmC/I0M8AtHp9xCd3/rM8fCHISy+vH0ruaOi3Coyqv6ETPKPSpXEOZ4X9XoSl+y89sovTNJgoyklW8rw8+aKFP5apFo3SrbMNcWsnFpgmylkU19R3yY4mc0mk0j88Z62PZ5jHDV7DQugE5dkx/3CQxzlb2qt6aCF1HtJH6BHoGju4v97F8+Sp8zeRGlldCaZtMEmQAq+zICL5hpUvrwfXy19gzZvhcvj6aILNZ3ij2ETQzRZA3WWU7RrgOfQsu05YCnyLxcFS9h91fTlMgfqKdJsg6lteBpQ8wRZASVqmmUa7txvwEJ/qe8SoxGxYymK+wpnMsNGHpxviRbVShkzEatAb5iEHUSrqzQVuiUMkMf5IFGWnM/71giiAHqEL7U7iMf2gtkk/B7/M51E4qMlklvzwNymgxl+VvobQPTRCkMavkDpaelkJlbOkgyDUsv0LZu19Oe/A++BBLvyIB0ZJX9HIQhHdZBymt1BQfso9V1Jorag28PUXKN8tBkHqUV4elLTJFkM9YpVqzllOcAmXDiG6vJsZhlt+Kpc80RZBiF2eJK4fZSS5bd4fWUcTyc1n6Y6YIMpVVii+LTgFOTHLZNjoIMpTlT2fpXUwRpIcKn021gHuwcDN0ss525Cnn3fIt2DXfK3vPljGbHtK1gdcFmkNdkYTK4gz0Tgcxytg1fI6rUBkGvubA54Ta0lTFK9VYFhS/xKV18PEHX3MfYpogfPUND9DwuamFlP5oNZXlZRcxlmsDWutsCl/aNQYZWhfBnTlOceNsLq459E1wyyhwEeNvFb7ZusClrEbhNlbJoyp8Y3UejehxPWS08v/MBrbIlcr92BvfwZit7KMKOC3f3FRBcBC2mRlBnz0dpOzN17gvqrdP7+2p7PkoJz7Hrq2pCfeqMhzXasbI1/KHa/m4Y93reRFcU1mrIh8IXaLCJzpnsLyfKRozHrNZpbFF9NHyx2pGw2tWAZ8H3gW8UjmvvWdSlIQb3raq6Kdzp6vwBbOhWn5/FRCggy9lFcdN1521ax5Q0Y9B41o7nkn8Rv1/gSkS0T/crb0vV4Uv465UAUNjLerCkfAN2jUXKef19apwnYP4AynK4tfNU6m1ZlMtaK/stQZrLXu0Q6g6OIpTjoVfAK/Xnp1GDp1fhy0th1rwHLqmEbXYHkEQJYcGitwouG2onoPx0Ne8q+yDmtGIs8lPUFCgH/Q5R4XPQlt8nfKzKB9/ouNHLT/ddFEw7t+uGQbPko90GY+gOHgcoRc5+YeBj1DY3JPyGrq8qy6JdMhBDAyz8azhZLq2JRuP4HE3a6f8KhNH7k4Dt9UORqoE3qGqfiAUo7L7lX1kjfMd4H0UHGTTFMpLzH8VUAS3iN2znsQ1GugvprCvkvMYdSFouBYxPu98FdoKusblmZXUoiz0J1FuYgPUfCrXAof7S4MgimXIRVH8wwHq5vBLna9Cs8ULyEgVWrCg8zAJ79TtjGDXjSMx5kd4Fk7XB+a3uq5Sob1QfoW86JzxR2zcjjyj3/mKTafUpCAi2nPLVcB+QA379YdoGuWEBxEwars1hujIOpZQQS1jWhzvKXeIDAOBRhT+YgQ2kcYK71NLwgOauAKJ50jwpFW8J2jHKHvLKwYBuENmVxyibAiqKIlCOkVY1g8HZHkQ5SOXeTaBR9RW9vT7agp34xVlo4jiL7KoG0TjriCR4hVlk0r8EYrAtZQiZa+14wx1qzhF2Syi+C+K5VOWko8RUVJIlPc8irIhKCP6ZItSqeJbh8kSU/qHDCbKMuZT4hFlrpgxcaIUUcuJR5TdYsLEiFLIQuLMOESZJOZLnCjLyMhrabqkZRRR1qsArDQmW5SlZOxPVWhJ2E2UNRJlVQ/wi19CRv9WhXbJoCh8zb+IujVBNYqymIyPP55ZxsQoVvK78kkBrp28rXVThSJGcoE7YZ5RoTMlc8SBpw7kj2IEAoFAIBAIBAKBQCAQCAQCgUAgEAgEAoFAIBAIBAKBQCAQCAQCgSAZ+A+0ucC4BysctgAAAABJRU5ErkJggg==","_NodeClass":["image"],"_NodeId":"29E543E0-AE93-493A-A694-FC1C330D0544","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(29.0,29.0)","_Padding":"lively.rect(0,0,0,0)"},"3735":{"morph":{"__isSmartRef__":true,"id":3733},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3736":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":3737},"_BorderRadius":5.2,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__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(50.0,26.1)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"3737":{"stops":[{"__isSmartRef__":true,"id":3738},{"__isSmartRef__":true,"id":3739},{"__isSmartRef__":true,"id":3740},{"__isSmartRef__":true,"id":3741}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"3738":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"3739":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"3740":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"3741":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"3742":{"stops":[{"__isSmartRef__":true,"id":3743},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3745},{"__isSmartRef__":true,"id":3746}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"3743":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"3744":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"3745":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"3746":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"3747":{"stops":[{"__isSmartRef__":true,"id":3748},{"__isSmartRef__":true,"id":3749},{"__isSmartRef__":true,"id":3750},{"__isSmartRef__":true,"id":3751}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"3748":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"3749":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"3750":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"3751":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"3752":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":4,"partName":"MagnifierButton","comment":"A magnifier, which calls setTarget: on the owner","changes":[{"__isSmartRef__":true,"id":3753},{"__isSmartRef__":true,"id":3755}],"revisionOnLoad":203770,"lastModifiedDate":{"__isSmartRef__":true,"id":3757},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3753":{"date":{"__isSmartRef__":true,"id":3754},"author":"jenslincke","message":"no comment","id":"F343C38F-1923-4DD3-BF9B-4A4B6A7111D6"},"3754":{"isSerializedDate":true,"string":"Fri Feb 01 2013 15:51:27 GMT+0100 (CET)"},"3755":{"date":{"__isSmartRef__":true,"id":3756},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"3756":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"3757":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"3758":{"sourceObj":{"__isSmartRef__":true,"id":3725},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3725},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3759":{"morph":{"__isSmartRef__":true,"id":3725},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3760":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":3761},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":3762},"eventHandler":{"__isSmartRef__":true,"id":3803},"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","6FECB598-D130-4242-BF1B-E18767608129","0B23F218-078F-4912-A262-31B957885F41","C56BA290-B836-4946-B4EF-DBB6FBA2368C","61176BAF-CFE6-4F2C-9F0A-971AAD6595A1","CB4127B2-0AA5-4B50-9978-F1FF39924A82","113050BB-CF0E-4193-91C6-9C25FC857EE8","EFF939E4-317B-4662-943F-77A6E6F65BD0","AA288E7F-3972-4F0D-87DD-61E4BD9C9C97","903E8C60-1158-42D5-85D2-DF134DA6CEC1","28FD6210-A549-4A11-9178-04E77FF556C0","B3312E29-D786-469F-865E-91FD69475A52","D947A1C1-DCBE-4485-A33D-DF549F6978E0","56CE0E60-45BE-43FF-9C6C-296D8AC326B6","CC61E3F8-8C8D-4F24-A591-023D3C88DEC8"],"partTests":{"__isSmartRef__":true,"id":3804},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"","eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","_Rotation":0,"_Scale":1.0060210561262526,"owner":null,"magnifierButton":{"__isSmartRef__":true,"id":3725},"attributeConnections":[{"__isSmartRef__":true,"id":3809},{"__isSmartRef__":true,"id":3811},{"__isSmartRef__":true,"id":3813}],"isToolMorph":true,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3815},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(470.1,265.5)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"3761":{"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":0.2597,"_BorderStyle":"hidden","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(542.7,314.1)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"3762":{"partsSpaceName":"PartsBin/Tools","comment":"A rectangle which highlights the object under the first hand of the world","migrationLevel":4,"partName":"HighlightRectangle","changes":[{"__isSmartRef__":true,"id":3763},{"__isSmartRef__":true,"id":3765},{"__isSmartRef__":true,"id":3767},{"__isSmartRef__":true,"id":3769},{"__isSmartRef__":true,"id":3771},{"__isSmartRef__":true,"id":3773},{"__isSmartRef__":true,"id":3775},{"__isSmartRef__":true,"id":3777},{"__isSmartRef__":true,"id":3779},{"__isSmartRef__":true,"id":3781},{"__isSmartRef__":true,"id":3783},{"__isSmartRef__":true,"id":3785},{"__isSmartRef__":true,"id":3787},{"__isSmartRef__":true,"id":3789},{"__isSmartRef__":true,"id":3791},{"__isSmartRef__":true,"id":3793},{"__isSmartRef__":true,"id":3795},{"__isSmartRef__":true,"id":3797},{"__isSmartRef__":true,"id":3799},{"__isSmartRef__":true,"id":3801}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3763":{"date":{"__isSmartRef__":true,"id":3764},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"3764":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"3765":{"date":{"__isSmartRef__":true,"id":3766},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"3766":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"3767":{"date":{"__isSmartRef__":true,"id":3768},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"3768":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"3769":{"date":{"__isSmartRef__":true,"id":3770},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"3770":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"3771":{"date":{"__isSmartRef__":true,"id":3772},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"3772":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"3773":{"date":{"__isSmartRef__":true,"id":3774},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"3774":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3775":{"date":{"__isSmartRef__":true,"id":3776},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"3776":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3777":{"date":{"__isSmartRef__":true,"id":3778},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"3778":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3779":{"date":{"__isSmartRef__":true,"id":3780},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"3780":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3781":{"date":{"__isSmartRef__":true,"id":3782},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"3782":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3783":{"date":{"__isSmartRef__":true,"id":3784},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"3784":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3785":{"date":{"__isSmartRef__":true,"id":3786},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"3786":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"3787":{"date":{"__isSmartRef__":true,"id":3788},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"3788":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"3789":{"date":{"__isSmartRef__":true,"id":3790},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"3790":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"3791":{"date":{"__isSmartRef__":true,"id":3792},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"3792":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"3793":{"date":{"__isSmartRef__":true,"id":3794},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"3794":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"3795":{"date":{"__isSmartRef__":true,"id":3796},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"3796":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"3797":{"date":{"__isSmartRef__":true,"id":3798},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"3798":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"3799":{"date":{"__isSmartRef__":true,"id":3800},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"3800":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"3801":{"date":{"__isSmartRef__":true,"id":3802},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"3802":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"3803":{"morph":{"__isSmartRef__":true,"id":3760},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3804":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3805}},"3805":{"test01IsMorph":{"__isSmartRef__":true,"id":3806}},"3806":{"varMapping":{"__isSmartRef__":true,"id":3807},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3808},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3807":{"this":{"__isSmartRef__":true,"id":3804}},"3808":{},"3809":{"sourceObj":{"__isSmartRef__":true,"id":3760},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":3760},"targetMethodName":"updateOnMove","varMapping":{"__isSmartRef__":true,"id":3810},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3810":{"source":{"__isSmartRef__":true,"id":3760},"target":{"__isSmartRef__":true,"id":3760}},"3811":{"sourceObj":{"__isSmartRef__":true,"id":3760},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":3725},"targetMethodName":"removeHighlighting","varMapping":{"__isSmartRef__":true,"id":3812},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3812":{"source":{"__isSmartRef__":true,"id":3760},"target":{"__isSmartRef__":true,"id":3725}},"3813":{"sourceObj":{"__isSmartRef__":true,"id":3760},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":3725},"targetMethodName":"setTarget","varMapping":{"__isSmartRef__":true,"id":3814},"converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3814":{"source":{"__isSmartRef__":true,"id":3760},"target":{"__isSmartRef__":true,"id":3725}},"3815":{"update":{"__isSmartRef__":true,"id":3816},"updateOnMove":{"__isSmartRef__":true,"id":3820},"bringToFront":{"__isSmartRef__":true,"id":3824},"morphUnderCursor":{"__isSmartRef__":true,"id":3832}},"3816":{"varMapping":{"__isSmartRef__":true,"id":3817},"source":"function update(morphUnderCursor) {\n if (morphUnderCursor === this.magnifierButton ||\n this.magnifierButton.submorphs.include(morphUnderCursor)) {\n morphToHighlight = this.magnifierButton.currentTarget();\n } else {\n morphToHighlight = morphUnderCursor;\n }\n\n if (morphToHighlight && morphToHighlight.world()) {\n this.setPosition(morphToHighlight.getPositionInWorld());\n this.setExtent(morphToHighlight.getExtent());\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3818},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3817":{"this":{"__isSmartRef__":true,"id":3760}},"3818":{"timestamp":{"__isSmartRef__":true,"id":3819},"user":"lauritz","tags":[]},"3819":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"3820":{"varMapping":{"__isSmartRef__":true,"id":3821},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":3822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3821":{"this":{"__isSmartRef__":true,"id":3760}},"3822":{"timestamp":{"__isSmartRef__":true,"id":3823},"user":"lauritz","tags":[]},"3823":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"3824":{"varMapping":{"__isSmartRef__":true,"id":3825},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":3830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3825":{"this":{"__isSmartRef__":true,"id":3760},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3826}},"3826":{"$super":{"__isSmartRef__":true,"id":3827}},"3827":{"varMapping":{"__isSmartRef__":true,"id":3828},"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":3829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3828":{"obj":{"__isSmartRef__":true,"id":3760},"name":"bringToFront"},"3829":{},"3830":{"timestamp":{"__isSmartRef__":true,"id":3831},"user":"lauritz","tags":[]},"3831":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"3832":{"varMapping":{"__isSmartRef__":true,"id":3833},"source":"function morphUnderCursor() {\n var that = this,\n world = lively.morphic.World.current(); \n \n return world.morphsContainingPoint(world.firstHand().getPosition()).detect(\n function(ea) {\n return !ea.isPlaceholder &&\n !ea.isHalo &&\n (!ea.owner || !ea.owner.isHalo) &&\n !(ea === that);\n });\n}","funcProperties":{"__isSmartRef__":true,"id":3834},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3833":{"this":{"__isSmartRef__":true,"id":3760}},"3834":{"timestamp":{"__isSmartRef__":true,"id":3835},"user":"lauritz","tags":[]},"3835":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"3836":{"moveHorizontal":true},"3837":{"onFire":{"__isSmartRef__":true,"id":3838},"removeHighlighting":{"__isSmartRef__":true,"id":3842},"onMouseMove":{"__isSmartRef__":true,"id":3846},"onMouseOut":{"__isSmartRef__":true,"id":3854},"reset":{"__isSmartRef__":true,"id":3862},"isTracking":{"__isSmartRef__":true,"id":3866},"isHighlighting":{"__isSmartRef__":true,"id":3870},"currentTarget":{"__isSmartRef__":true,"id":3874},"setupHighlightRectangle":{"__isSmartRef__":true,"id":3878},"setTarget":{"__isSmartRef__":true,"id":3882}},"3838":{"varMapping":{"__isSmartRef__":true,"id":3839},"source":"function onFire() {\n var hand = lively.morphic.World.current().firstHand(),\n highlight = this.highlightRectangle,\n that = this;\n\n if (this.isTracking()) {\n this.removeHighlighting();\n } else {\n this.world().addMorph(highlight);\n hand.highlightConnection = connect(hand, \"scrollFocusMorph\", highlight, \"update\");\n highlight.bringToFront();\n if (!this.currentTarget() || !this.currentTarget().world()) {\n highlight.setExtent(pt(0,0));\n }\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3839":{"this":{"__isSmartRef__":true,"id":3725}},"3840":{"timestamp":{"__isSmartRef__":true,"id":3841},"user":"lauritz","tags":[]},"3841":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"3842":{"varMapping":{"__isSmartRef__":true,"id":3843},"source":"function removeHighlighting() {\n var hand = this.world().firstHand();\n\n if (this.highlightRectangle) {\n this.highlightRectangle.remove();\n }\n\n hand.attributeConnections.removeAt(\n hand.attributeConnections.indexOf(hand.highlightConnection));\n hand.highlightConnection = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3843":{"this":{"__isSmartRef__":true,"id":3725}},"3844":{"timestamp":{"__isSmartRef__":true,"id":3845},"user":"jenslincke","tags":[]},"3845":{"isSerializedDate":true,"string":"Tue Dec 18 2012 12:54:24 GMT+0100 (CET)"},"3846":{"varMapping":{"__isSmartRef__":true,"id":3847},"source":"function onMouseMove(evt) {\n var target = this.currentTarget();\n if (target && target.world() && !this.isHighlighting()) {\n this.highlightRectangle.update(target);\n this.world().addMorph(this.highlightRectangle);\n this.highlightRectangle.bringToFront();\n this.targetHighlight = this.highlightRectangle;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3852},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3847":{"this":{"__isSmartRef__":true,"id":3725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3848}},"3848":{"$super":{"__isSmartRef__":true,"id":3849}},"3849":{"varMapping":{"__isSmartRef__":true,"id":3850},"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":3851},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3850":{"obj":{"__isSmartRef__":true,"id":3725},"name":"onMouseMove"},"3851":{},"3852":{"timestamp":{"__isSmartRef__":true,"id":3853},"user":"lauritz","tags":[]},"3853":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"3854":{"varMapping":{"__isSmartRef__":true,"id":3855},"source":"function onMouseOut() {\n if (this.isHighlighting()) {\n if (!this.isTracking()) {\n this.targetHighlight.remove();\n }\n delete this.targetHighlight;\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3860},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3855":{"this":{"__isSmartRef__":true,"id":3725},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3856}},"3856":{"$super":{"__isSmartRef__":true,"id":3857}},"3857":{"varMapping":{"__isSmartRef__":true,"id":3858},"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":3859},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3858":{"obj":{"__isSmartRef__":true,"id":3725},"name":"onMouseOut"},"3859":{},"3860":{"timestamp":{"__isSmartRef__":true,"id":3861},"user":"lauritz","tags":[]},"3861":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"3862":{"varMapping":{"__isSmartRef__":true,"id":3863},"source":"function reset() {\n this.highlightRectangle.attributeConnections = [];\n \n var r = this.highlightRectangle;\n r.isToolMorph = true\n disconnectAll(r)\n connect(r, \"onMouseMove\", this.highlightRectangle, \"updateOnMove\")\n connect(r, \"onMouseUp\", this, \"removeHighlighting\")\n connect(r, \"onMouseUp\", this, \"setTarget\",\n {converter: function () {\n return this.sourceObj.morphUnderCursor();\n }\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3863":{"this":{"__isSmartRef__":true,"id":3725}},"3864":{"timestamp":{"__isSmartRef__":true,"id":3865},"user":"jenslincke","tags":[]},"3865":{"isSerializedDate":true,"string":"Mon Dec 17 2012 17:02:31 GMT+0100 (CET)"},"3866":{"varMapping":{"__isSmartRef__":true,"id":3867},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":3868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3867":{"this":{"__isSmartRef__":true,"id":3725}},"3868":{"timestamp":{"__isSmartRef__":true,"id":3869},"user":"lauritz","tags":[]},"3869":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"3870":{"varMapping":{"__isSmartRef__":true,"id":3871},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":3872},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3871":{"this":{"__isSmartRef__":true,"id":3725}},"3872":{"timestamp":{"__isSmartRef__":true,"id":3873},"user":"lauritz","tags":[]},"3873":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"3874":{"varMapping":{"__isSmartRef__":true,"id":3875},"source":"function currentTarget() {\n return this.get(\"PrototypeList\").selection;\n}","funcProperties":{"__isSmartRef__":true,"id":3876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3875":{"this":{"__isSmartRef__":true,"id":3725}},"3876":{"timestamp":{"__isSmartRef__":true,"id":3877},"user":"jenslincke","tags":[]},"3877":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:52:36 GMT+0100 (CET)"},"3878":{"varMapping":{"__isSmartRef__":true,"id":3879},"source":"function setupHighlightRectangle() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":3880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3879":{"this":{"__isSmartRef__":true,"id":3725}},"3880":{"timestamp":{"__isSmartRef__":true,"id":3881},"user":"jenslincke","tags":[]},"3881":{"isSerializedDate":true,"string":"Thu Dec 13 2012 10:26:03 GMT+0100 (CET)"},"3882":{"varMapping":{"__isSmartRef__":true,"id":3883},"source":"function setTarget(obj) {\n this.owner.addPrototype(obj)\n}","funcProperties":{"__isSmartRef__":true,"id":3884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3883":{"this":{"__isSmartRef__":true,"id":3725}},"3884":{"timestamp":{"__isSmartRef__":true,"id":3885},"user":"jenslincke","tags":[]},"3885":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:35:50 GMT+0100 (CET)"},"3886":{"submorphs":[],"scripts":[],"id":"E9402211-B017-4CC4-AD38-DF9AB1096376","shape":{"__isSmartRef__":true,"id":3887},"__layered_droppingEnabled__":true,"halosEnabled":true,"itemList":[{"__isSmartRef__":true,"id":3888}],"selection":{"__isSmartRef__":true,"id":2692},"selectedLineNo":0,"showsHalos":false,"name":"PrototypeList","partsBinMetaInfo":{"__isSmartRef__":true,"id":3889},"_ClipMode":"auto","eventHandler":{"__isSmartRef__":true,"id":3899},"derivationIds":[2860,"30186701-49A1-49AD-A42F-27F425D92029","ADD09343-51ED-44F6-85F3-257C9A52C897","0D7DB4CE-A90C-4840-B374-BE2E6C15EA9F"],"isBeingDragged":false,"changeTriggered":true,"grabbingEnabled":false,"_FontSize":10,"moved":true,"owner":{"__isSmartRef__":true,"id":3524},"#startLetters":"ge","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3900},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(72.8,70.9)"},"3887":{"_BorderWidth":0,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(151.4,97.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"3888":{"string":"EnergySimulationPart","value":{"__isSmartRef__":true,"id":2692},"isListItem":true},"3889":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"List","comment":"a list morph","changes":[{"__isSmartRef__":true,"id":3890},{"__isSmartRef__":true,"id":3892},{"__isSmartRef__":true,"id":3894},{"__isSmartRef__":true,"id":3896}],"lastModifiedDate":{"__isSmartRef__":true,"id":3898},"revisionOnLoad":203793,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3890":{"author":"robertkrahn","message":"no comment","id":"3D0531CA-D241-4692-89F0-2FCC7621B8DE","date":{"__isSmartRef__":true,"id":3891}},"3891":{"isSerializedDate":true,"string":"Wed Oct 02 2013 00:29:07 GMT+0200 (CEST)"},"3892":{"author":"robertkrahn","message":"new morphic lists","id":"ACF81045-E200-4DA6-B0C6-B9AB94590E84","date":{"__isSmartRef__":true,"id":3893}},"3893":{"isSerializedDate":true,"string":"Mon Sep 30 2013 23:32:00 GMT+0200 (CEST)"},"3894":{"author":"undefined","message":"Click on scrollbar does not grab list","id":"16AABF98-2E7D-4875-9E66-CF86EB74AF93","date":{"__isSmartRef__":true,"id":3895}},"3895":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:39:24 GMT+0200 (CEST)"},"3896":{"date":{"__isSmartRef__":true,"id":3897},"author":"jenslincke","message":"reverted back ","id":"BD398F7A-14E2-4981-A43A-366A5B2AF5CD"},"3897":{"isSerializedDate":true,"string":"Thu Jan 16 2014 19:07:45 GMT+0100 (CET)"},"3898":{"isSerializedDate":true,"string":"Thu Jan 16 2014 19:05:34 GMT+0100 (CET)"},"3899":{"morph":{"__isSmartRef__":true,"id":3886},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3900":{"removeCurrent":{"__isSmartRef__":true,"id":3901}},"3901":{"varMapping":{"__isSmartRef__":true,"id":3902},"source":"function removeCurrent() {\n this.setList(this.getList().without(this.getSelectedItem()))\n}","funcProperties":{"__isSmartRef__":true,"id":3903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3902":{"this":{"__isSmartRef__":true,"id":3886}},"3903":{"timestamp":{"__isSmartRef__":true,"id":3904},"user":"jenslincke","tags":[]},"3904":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:39:46 GMT+0100 (CET)"},"3905":{"submorphs":[{"__isSmartRef__":true,"id":3906}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3911},"eventHandler":{"__isSmartRef__":true,"id":3912},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D"],"id":"FB8A2B3A-B30B-45D1-B92A-35D79DBCDA98","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":3906},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":3913},{"__isSmartRef__":true,"id":3915}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button1","partsBinMetaInfo":{"__isSmartRef__":true,"id":2040},"pinSpecs":[{"__isSmartRef__":true,"id":3917}],"owner":{"__isSmartRef__":true,"id":3524},"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3918},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(12.3,100.2)","distanceToDragEvent":"lively.pt(40.3,-15.1)"},"3906":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3907},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3908}],"eventHandler":{"__isSmartRef__":true,"id":3910},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4"],"id":"396F1E73-B8E8-4B92-A9A6-83A7EB13A565","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3905},"isLabel":true,"_Align":"center","eventsAreIgnored":true,"_TextStylingMode":true,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"3907":{"_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(52.6,19.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"3908":{"style":{"__isSmartRef__":true,"id":3909},"chunkOwner":{"__isSmartRef__":true,"id":3906},"_id":"_194144","storedString":"remove","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3909":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3910":{"morph":{"__isSmartRef__":true,"id":3906},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3911":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(52.6,19.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"3912":{"morph":{"__isSmartRef__":true,"id":3905},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3913":{"sourceObj":{"__isSmartRef__":true,"id":3905},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3905},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":3914},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3914":{"source":{"__isSmartRef__":true,"id":3905},"target":{"__isSmartRef__":true,"id":3905}},"3915":{"sourceObj":{"__isSmartRef__":true,"id":3905},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3886},"targetMethodName":"removeCurrent","varMapping":{"__isSmartRef__":true,"id":3916},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3916":{"source":{"__isSmartRef__":true,"id":3905},"target":{"__isSmartRef__":true,"id":3886}},"3917":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"3918":{"doAction":{"__isSmartRef__":true,"id":3919}},"3919":{"varMapping":{"__isSmartRef__":true,"id":3920},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":3921},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3920":{"this":{"__isSmartRef__":true,"id":3905}},"3921":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":3922}},"3922":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"3923":{"submorphs":[],"scripts":[],"id":"F18B475B-97B1-48BF-BFE1-77338E2AF7A2","shape":{"__isSmartRef__":true,"id":3924},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":10,"name":"Text","partsBinMetaInfo":{"__isSmartRef__":true,"id":2523},"textChunks":[{"__isSmartRef__":true,"id":3925}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3927},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"previousSelection":[5,9],"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3524},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(11.3,52.8)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(93.8,-10.1)"},"3924":{"fill":null,"_BorderWidth":0,"_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(128.7,19.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3925":{"style":{"__isSmartRef__":true,"id":3926},"morph":{"__isSmartRef__":true,"id":3923},"chunkOwner":{"__isSmartRef__":true,"id":3923},"storedString":"prototypes","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3926":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3927":{"morph":{"__isSmartRef__":true,"id":3923},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3928":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(227.8,172.1)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(252,252,252)","_Padding":"lively.rect(0,0,0,0)"},"3929":{"partsSpaceName":"PartsBin/Jens","comment":"A helper tool....","migrationLevel":4,"partName":"PartMigrator","changes":[{"__isSmartRef__":true,"id":3930},{"__isSmartRef__":true,"id":3932},{"__isSmartRef__":true,"id":3934},{"__isSmartRef__":true,"id":3936},{"__isSmartRef__":true,"id":3938},{"__isSmartRef__":true,"id":3940},{"__isSmartRef__":true,"id":3942},{"__isSmartRef__":true,"id":3944},{"__isSmartRef__":true,"id":3946},{"__isSmartRef__":true,"id":3948},{"__isSmartRef__":true,"id":3950},{"__isSmartRef__":true,"id":3952},{"__isSmartRef__":true,"id":3954},{"__isSmartRef__":true,"id":3956},{"__isSmartRef__":true,"id":3958},{"__isSmartRef__":true,"id":3960},{"__isSmartRef__":true,"id":3962},{"__isSmartRef__":true,"id":3964}],"lastModifiedDate":{"__isSmartRef__":true,"id":3966},"revisionOnLoad":204349,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3930":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":3931}},"3931":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"3932":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":3933}},"3933":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"3934":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":3935}},"3935":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"3936":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":3937}},"3937":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3938":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":3939}},"3939":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3940":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":3941}},"3941":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3942":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":3943}},"3943":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3944":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":3945}},"3945":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3946":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":3947}},"3947":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3948":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":3949}},"3949":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"3950":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":3951}},"3951":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"3952":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":3953}},"3953":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"3954":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":3955}},"3955":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"3956":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":3957}},"3957":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"3958":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":3959}},"3959":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"3960":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":3961}},"3961":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"3962":{"date":{"__isSmartRef__":true,"id":3963},"author":"jenslincke","message":"no comment","id":"8DB648C0-0CE9-44EC-AD31-919E59DF4F79"},"3963":{"isSerializedDate":true,"string":"Thu Jan 23 2014 14:03:27 GMT+0100 (CET)"},"3964":{"date":{"__isSmartRef__":true,"id":3965},"author":"jenslincke","message":"no comment","id":"7C6FF70C-74BB-4079-B661-0BEEAFF0DF41"},"3965":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:27:11 GMT+0100 (CET)"},"3966":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:21:25 GMT+0100 (CET)"},"3967":{"morph":{"__isSmartRef__":true,"id":3524},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3968":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3969}},"3969":{"test01IsMorph":{"__isSmartRef__":true,"id":3970}},"3970":{"varMapping":{"__isSmartRef__":true,"id":3971},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3972},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3971":{"this":{"__isSmartRef__":true,"id":3968}},"3972":{},"3973":{"migrateAllConnectors":{"__isSmartRef__":true,"id":3974},"clearWorld":{"__isSmartRef__":true,"id":3978},"migrateParts":{"__isSmartRef__":true,"id":3982},"migratePart":{"__isSmartRef__":true,"id":3986},"log":{"__isSmartRef__":true,"id":3990},"getTarget":{"__isSmartRef__":true,"id":3994},"clearLog":{"__isSmartRef__":true,"id":3998},"replaceReferencesInTargetAndSubmorphs":{"__isSmartRef__":true,"id":4002},"setTarget":{"__isSmartRef__":true,"id":4006},"addPrototype":{"__isSmartRef__":true,"id":4010}},"3974":{"varMapping":{"__isSmartRef__":true,"id":3975},"source":"function migrateAllConnectors() {\n\n var target = this.owner;\n\n var connectors = target.submorphs.select(function(ea) {\n return ea.partsBinMetaInfo && ea.partsBinMetaInfo.partName == \"Connector\"\n });\n\n connectors.each(function(ea) {\n var p = ea.partsBinMetaInfo.getPartsSpace().getPartItemNamed(ea.partsBinMetaInfo.getName()).loadPart().part\n var owner = ea.owner\n owner.addMorphBack(p)\n try {\n if (p.migrateFrom) p.migrateFrom(ea)\n } catch(e) {\n show(p)\n this.log(\"ERROR in \" + p + \" migrateFrom:\" + e)\n }\n p.setPosition(ea.getPosition())\n p.setName(ea.name)\n ea.remove()\n }.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":3976},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3975":{"this":{"__isSmartRef__":true,"id":3524}},"3976":{"timestamp":{"__isSmartRef__":true,"id":3977},"user":"jenslincke","tags":[]},"3977":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:41:21 GMT+0100 (CET)"},"3978":{"varMapping":{"__isSmartRef__":true,"id":3979},"source":"function clearWorld() {\n $world.submorphs.select(function(ea) {\n return ea.isEpiMorph\n }).invoke(\"remove\")\n\n}","funcProperties":{"__isSmartRef__":true,"id":3980},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3979":{"this":{"__isSmartRef__":true,"id":3524}},"3980":{"timestamp":{"__isSmartRef__":true,"id":3981},"user":"jenslincke","tags":[]},"3981":{"isSerializedDate":true,"string":"Wed Jan 22 2014 16:52:31 GMT+0100 (CET)"},"3982":{"varMapping":{"__isSmartRef__":true,"id":3983},"source":"function migrateParts() {\n\n var target = this.getTarget();\n\n\n var partsToMigrate = [\"EnergySimulationPart\", \"Connector\"]\n var parts = target.submorphs.select(function(ea) {\n return ea.partsBinMetaInfo && partsToMigrate.include(ea.partsBinMetaInfo.partName)\n });\n\n parts.each(function(ea) {\n this.migratePart(ea)\n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":3984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3983":{"this":{"__isSmartRef__":true,"id":3524}},"3984":{"timestamp":{"__isSmartRef__":true,"id":3985},"user":"jenslincke","tags":[]},"3985":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:41:44 GMT+0100 (CET)"},"3986":{"varMapping":{"__isSmartRef__":true,"id":3987},"source":"function migratePart(morph) {\n // this.migratePart(this.get(\"MigrateTest\"))\n // morph = this.get(\"MigrateTest\")\n // newMorph = this.get(\"MigrateTest\")\n this.log(\"migrate \" + morph)\n var partName = morph.partsBinMetaInfo.getName();\n var protoMorph = this.get(\"PrototypeList\").getValues().detect(function(ea) {\n return ea.partsBinMetaInfo.partName == partName\n })\n\n if (protoMorph) {\n if (protoMorph === morph) return;\n var newMorph = protoMorph.duplicate()\n this.log(\"found protoype \" + protoMorph)\n } else {\n newMorph = morph.partsBinMetaInfo.getPartsSpace().getPartItemNamed(partName).loadPart(partName).part\n };\n var owner = morph.owner\n owner.addMorph(newMorph, morph)\n if (newMorph.migrateFrom) newMorph.migrateFrom(morph)\n newMorph.setPosition(morph.getPosition())\n newMorph.setName(morph.name)\n morph.remove()\n\n // TODO: deal with references to submorphs / subobjects\n // Open Problem: Mapping old objects to new objects\n // approach: a) use name, use position, use derivation id\n // This problem is shared by diffing / merging parts\n // we assume here that only the toppart gets references from the outside\n // we could call this the DEEP REFERENCE PROBLEM\n\n // instead a list this should be a mapping... TODO\n var innerMorphs = []\n morph.withAllSubmorphsDo(function(ea) {\n innerMorphs.push(ea)\n })\n\n this.replaceReferencesInTargetAndSubmorphs(morph, newMorph, innerMorphs)\n\n\n if (morph.attributeConnections) {\n var outConnections = morph.attributeConnections.reject(function(con) {\n return innerMorphs.include(con.targetObj) || con.dependedBy\n })\n morph.attributeConnections.invoke(\"disconnect\")\n outConnections.each(function(ea) {\n ea.sourceObj = newMorph\n this.log(\"migrate attribute connection \" + morph + \" to \" + ea )\n ea.connect()\n }.bind(this))\n }\n\n // TODO: deal with attribute connections in submorphs\n\n}","funcProperties":{"__isSmartRef__":true,"id":3988},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3987":{"this":{"__isSmartRef__":true,"id":3524}},"3988":{"timestamp":{"__isSmartRef__":true,"id":3989},"user":"jenslincke","tags":[]},"3989":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:01:40 GMT+0100 (CET)"},"3990":{"varMapping":{"__isSmartRef__":true,"id":3991},"source":"function log(s) {\n this.get(\"Log\").textString += s + \"\\n\"\n}","funcProperties":{"__isSmartRef__":true,"id":3992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3991":{"this":{"__isSmartRef__":true,"id":3524}},"3992":{"timestamp":{"__isSmartRef__":true,"id":3993},"user":"jenslincke","tags":[]},"3993":{"isSerializedDate":true,"string":"Wed Jan 22 2014 20:54:26 GMT+0100 (CET)"},"3994":{"varMapping":{"__isSmartRef__":true,"id":3995},"source":"function getTarget() {\n return this.target\n}","funcProperties":{"__isSmartRef__":true,"id":3996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3995":{"this":{"__isSmartRef__":true,"id":3524}},"3996":{"timestamp":{"__isSmartRef__":true,"id":3997},"user":"jenslincke","tags":[]},"3997":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:44:46 GMT+0100 (CET)"},"3998":{"varMapping":{"__isSmartRef__":true,"id":3999},"source":"function clearLog() {\n this.get(\"Log\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":4000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3999":{"this":{"__isSmartRef__":true,"id":3524}},"4000":{"timestamp":{"__isSmartRef__":true,"id":4001},"user":"jenslincke","tags":[]},"4001":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:39:12 GMT+0100 (CET)"},"4002":{"varMapping":{"__isSmartRef__":true,"id":4003},"source":"function replaceReferencesInTargetAndSubmorphs(morph, newMorph, innerMorphs) {\n this.getTarget().withAllSubmorphsDo(function(ea) {\n Properties.own(ea)\n .reject(function(ea) { return [\"owner\"].include(ea)})\n .each(function(prop) {\n if (ea[prop] === morph) {\n try {\n this.log(\"update \" + prop + \" from \" + ea[prop]+\" to \" + newMorph)\n ea[prop] = newMorph\n } catch(e) {\n this.log(\"ERROR update \" + prop + \" to \" + newMorph)\n }\n }\n }.bind(this))\n if (ea.attributeConnections) {\n var inConnections = ea.attributeConnections.select(function(con) {\n return innerMorphs.include(con.targetObj) && !con.dependedBy\n })\n inConnections.each(function(ea) {\n this.log(\"migrate attribute connection target \" + ea.targetObj + \" to \" + ea )\n ea.targetObj = newMorph\n ea.connect()\n }.bind(this))\n }\n }.bind(this))\n\n}","funcProperties":{"__isSmartRef__":true,"id":4004},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4003":{"this":{"__isSmartRef__":true,"id":3524}},"4004":{"timestamp":{"__isSmartRef__":true,"id":4005},"user":"jenslincke","tags":[]},"4005":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:11:19 GMT+0100 (CET)"},"4006":{"varMapping":{"__isSmartRef__":true,"id":4007},"source":"function setTarget(target) {\n this.target = target\n this.get(\"TargetNameText\").textString = target.name\n}","funcProperties":{"__isSmartRef__":true,"id":4008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4007":{"this":{"__isSmartRef__":true,"id":3524}},"4008":{"timestamp":{"__isSmartRef__":true,"id":4009},"user":"jenslincke","tags":[]},"4009":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:29:49 GMT+0100 (CET)"},"4010":{"varMapping":{"__isSmartRef__":true,"id":4011},"source":"function addPrototype(object) {\n // this.get(\"PrototypeList\").setList([])\n this.get(\"PrototypeList\").addItem({\n string: object.getPartsBinMetaInfo().partName,\n value: object,\n isListItem: true\n })\n \n}","funcProperties":{"__isSmartRef__":true,"id":4012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4011":{"this":{"__isSmartRef__":true,"id":3524}},"4012":{"timestamp":{"__isSmartRef__":true,"id":4013},"user":"jenslincke","tags":[]},"4013":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:46:00 GMT+0100 (CET)"},"4014":{"submorphs":[],"scripts":[],"id":"12CD623F-D39C-4758-A29C-E7DB426196FD","shape":{"__isSmartRef__":true,"id":4015},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":760.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":10,"name":"FormattedText","partsBinMetaInfo":{"__isSmartRef__":true,"id":4016},"textChunks":[{"__isSmartRef__":true,"id":4030},{"__isSmartRef__":true,"id":4032},{"__isSmartRef__":true,"id":4034},{"__isSmartRef__":true,"id":4036},{"__isSmartRef__":true,"id":4038},{"__isSmartRef__":true,"id":4040},{"__isSmartRef__":true,"id":4042},{"__isSmartRef__":true,"id":4044}],"charsReplaced":"","lastFindLoc":277,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4046},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","5848BD12-8F39-45F4-958F-07FC46FFCFCE","0ABC6C08-95DC-4245-8CFC-E599FD742FFA","E02EF097-B86E-4AF8-8DB0-AFC2238E7ABE","35F430A4-DBFD-42A9-BE94-EC9541B33C42","6DE6010F-07F9-4F36-8B2B-E938F5BC0708","0023C079-3F7A-4183-8230-3980112CCF39","91F5886F-4DED-4A4A-8B0A-FE9A237AF402","4ACADCBE-CD82-408E-81CA-16C6FCA3E95B","5E292C6D-8B70-4873-88AB-4C7753ECAAC2","64D920D3-5FB8-41BD-8FA0-2B3889568A3D","CD25651F-088A-44AD-8474-43C1E3195E52"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":760.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"isCopyMorphRef":true,"morphRefId":1,"splittedFrom":{"__isSmartRef__":true,"id":4047},"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"behaviorGroups":["MarkdownFormat"],"lastKeyStrokeTime":null,"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"priorSelectionRange":[162,162],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4074},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(20.0,100.5)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(496.8,-14.6)"},"4015":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_Fill":null,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"__serializedExpressions__":["_Position","_Extent","_BorderColor","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(-2.1,1.0)","_Extent":"lively.pt(749.5,143.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4016":{"migrationLevel":4,"comment":"a text morph, that asks a formatter for formatting itself","partName":"FormattedText","changes":[{"__isSmartRef__":true,"id":4017},{"__isSmartRef__":true,"id":4019},{"__isSmartRef__":true,"id":4021},{"__isSmartRef__":true,"id":4023},{"__isSmartRef__":true,"id":4025},{"__isSmartRef__":true,"id":4027}],"revisionOnLoad":196097,"partsSpaceName":"PartsBin/Jens/","lastModifiedDate":{"__isSmartRef__":true,"id":4029},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4017":{"date":{"__isSmartRef__":true,"id":4018},"author":"jenslincke","message":"no comment","id":"9E579B1A-B8C1-461B-B356-4DCA099EA532"},"4018":{"isSerializedDate":true,"string":"Fri May 24 2013 11:23:26 GMT+0200 (CEST)"},"4019":{"date":{"__isSmartRef__":true,"id":4020},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4020":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4021":{"date":{"__isSmartRef__":true,"id":4022},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4022":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4023":{"date":{"__isSmartRef__":true,"id":4024},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4024":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4025":{"date":{"__isSmartRef__":true,"id":4026},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"4026":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4027":{"date":{"__isSmartRef__":true,"id":4028},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4028":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4029":{"isSerializedDate":true,"string":"Fri May 24 2013 11:21:50 GMT+0200 (CEST)"},"4030":{"_id":"_53923","style":{"__isSmartRef__":true,"id":4031},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"# References","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4031":{"fontSize":20,"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4032":{"_id":"_337","style":{"__isSmartRef__":true,"id":4033},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"\n\n- ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4033":{"fontSize":12,"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4034":{"_id":"_338","style":{"__isSmartRef__":true,"id":4035},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"http://www.bhkw-infothek.de/bhkw-anbieter-und-hersteller/mikro-bhkw-ubersicht/kw-energie-kwe/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4035":{"fontSize":12,"__serializedExpressions__":["color"],"uri":"http://www.bhkw-infothek.de/bhkw-anbieter-und-hersteller/mikro-bhkw-ubersicht/kw-energie-kwe/","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4036":{"_id":"_339","style":{"__isSmartRef__":true,"id":4037},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"\n- ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4037":{"fontSize":12,"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4038":{"_id":"_340","style":{"__isSmartRef__":true,"id":4039},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"http://www.energieverbraucher.de/de/Bewertung-des-Stromverbrauchs__646/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4039":{"fontSize":12,"__serializedExpressions__":["color"],"uri":"http://www.energieverbraucher.de/de/Bewertung-des-Stromverbrauchs__646/","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4040":{"_id":"_341","style":{"__isSmartRef__":true,"id":4041},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"\n- ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4041":{"fontSize":12,"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4042":{"_id":"_342","style":{"__isSmartRef__":true,"id":4043},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"http://asue.de/cms/upload/broschueren/2011/bhkw-kenndaten/asue-bhkw-kenndaten-0311.pdf","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4043":{"fontSize":12,"__serializedExpressions__":["color"],"uri":"http://asue.de/cms/upload/broschueren/2011/bhkw-kenndaten/asue-bhkw-kenndaten-0311.pdf","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4044":{"_id":"_343","style":{"__isSmartRef__":true,"id":4045},"chunkOwner":{"__isSmartRef__":true,"id":4014},"storedString":"\n - Wirkungsgrad see p. 9\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4045":{"fontSize":12,"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4046":{"morph":{"__isSmartRef__":true,"id":4014},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4047":{"submorphs":[],"scripts":[],"id":"0ABC6C08-95DC-4245-8CFC-E599FD742FFA","shape":{"__isSmartRef__":true,"id":4048},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":760.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":18,"name":"Text3","partsBinMetaInfo":{"__isSmartRef__":true,"id":4049},"textChunks":[{"__isSmartRef__":true,"id":4060},{"__isSmartRef__":true,"id":4062}],"charsReplaced":"\n# IntroductionHello\n# Creating Active Content in Webwerkstatt\n\n## Scripting Objects on a Website\n\n## Parts and PartBin\n\n## Cloning and Derivation History\n\n# Developing Tools as Active Content\n\n## Active Content vs. Base System\n\n## Base System Tools\n\n## Tools as Parts\n\n## Metacircularity\n \n## Diffing and Merging Parts\n\n# Example: Development of the ScriptEditor\n\n## Bootstrapping the Script Editor\n \n## Evolving the Script Editor\n\n## Script Editor Branches \n\n# Evaluation: User Created Tools in Webwerkstatt\n\n# Related Work\n\n* [Miller2008CSA]\n\n# Conclusion\n\n\n","lastFindLoc":20,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4064},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","5848BD12-8F39-45F4-958F-07FC46FFCFCE"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":760.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4065},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(41.0,643.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(86.0,-18.0)"},"4048":{"fill":null,"_BorderWidth":0,"_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(768.7,150.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4049":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4050},{"__isSmartRef__":true,"id":4052},{"__isSmartRef__":true,"id":4054},{"__isSmartRef__":true,"id":4056},{"__isSmartRef__":true,"id":4058}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4050":{"date":{"__isSmartRef__":true,"id":4051},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4051":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4052":{"date":{"__isSmartRef__":true,"id":4053},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"4053":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4054":{"date":{"__isSmartRef__":true,"id":4055},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4055":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4056":{"date":{"__isSmartRef__":true,"id":4057},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4057":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4058":{"date":{"__isSmartRef__":true,"id":4059},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4059":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4060":{"style":{"__isSmartRef__":true,"id":4061},"chunkOwner":{"__isSmartRef__":true,"id":4047},"_id":"_27961","storedString":"11:33\n12:58\nOutline\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4061":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4062":{"_id":"_27963","style":{"__isSmartRef__":true,"id":4063},"chunkOwner":{"__isSmartRef__":true,"id":4047},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4063":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"4064":{"morph":{"__isSmartRef__":true,"id":4047},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4065":{"doSave":{"__isSmartRef__":true,"id":4066}},"4066":{"varMapping":{"__isSmartRef__":true,"id":4067},"source":"function doSave() {\n $world.saveWorld()\n}","funcProperties":{"__isSmartRef__":true,"id":4072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4067":{"this":{"__isSmartRef__":true,"id":4047},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4068}},"4068":{"$super":{"__isSmartRef__":true,"id":4069}},"4069":{"varMapping":{"__isSmartRef__":true,"id":4070},"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":4071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4070":{"obj":{"__isSmartRef__":true,"id":4047},"name":"doSave"},"4071":{},"4072":{"timestamp":{"__isSmartRef__":true,"id":4073},"user":"jenslincke","tags":[]},"4073":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4074":{"doSave":{"__isSmartRef__":true,"id":4075},"format":{"__isSmartRef__":true,"id":4083},"onKeyUp":{"__isSmartRef__":true,"id":4087},"delayedFormat":{"__isSmartRef__":true,"id":4095}},"4075":{"varMapping":{"__isSmartRef__":true,"id":4076},"source":"function doSave() {\n $world.saveWorld()\n}","funcProperties":{"__isSmartRef__":true,"id":4081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4076":{"this":{"__isSmartRef__":true,"id":4014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4077}},"4077":{"$super":{"__isSmartRef__":true,"id":4078}},"4078":{"varMapping":{"__isSmartRef__":true,"id":4079},"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":4080},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4079":{"obj":{"__isSmartRef__":true,"id":4014},"name":"doSave"},"4080":{},"4081":{"timestamp":{"__isSmartRef__":true,"id":4082},"user":"jenslincke","tags":[]},"4082":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4083":{"varMapping":{"__isSmartRef__":true,"id":4084},"source":"function format() {\n var formatter = this.get('Formatter')\n if (!formatter || !formatter.formatTextMorph )\n return;\n var r = this.getSelectionRange()\n formatter.formatTextMorph(this)\n if (r) {\n this.setSelectionRange(r[0],r[1])\n this.fit()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4085},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4084":{"this":{"__isSmartRef__":true,"id":4014}},"4085":{"timestamp":{"__isSmartRef__":true,"id":4086},"user":"jenslincke","tags":[]},"4086":{"isSerializedDate":true,"string":"Sat Mar 16 2013 16:10:58 GMT+0100 (CET)"},"4087":{"varMapping":{"__isSmartRef__":true,"id":4088},"source":"function onKeyUp(evt) {\n var r = $super(evt)\n this.lastKeyStrokeTime = Date.now()\n this.delayedFormat()\n return r\n}","funcProperties":{"__isSmartRef__":true,"id":4093},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4088":{"this":{"__isSmartRef__":true,"id":4014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4089}},"4089":{"$super":{"__isSmartRef__":true,"id":4090}},"4090":{"varMapping":{"__isSmartRef__":true,"id":4091},"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":4092},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4091":{"obj":{"__isSmartRef__":true,"id":4014},"name":"onKeyUp"},"4092":{},"4093":{"timestamp":{"__isSmartRef__":true,"id":4094},"user":"jenslincke","tags":[]},"4094":{"isSerializedDate":true,"string":"Fri May 24 2013 11:20:40 GMT+0200 (CEST)"},"4095":{"varMapping":{"__isSmartRef__":true,"id":4096},"source":"function delayedFormat() {\n if (! this.lastKeyStrokeTime) return; // it was handled already\n var delta = Date.now() - this.lastKeyStrokeTime;\n if (delta > 500) {\n this.format()\n this.lastKeyStrokeTime = null;\n } else {\n this.delayedFormat.bind(this).delay(0.1)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4096":{"this":{"__isSmartRef__":true,"id":4014}},"4097":{"timestamp":{"__isSmartRef__":true,"id":4098},"user":"jenslincke","tags":[]},"4098":{"isSerializedDate":true,"string":"Fri May 24 2013 11:19:44 GMT+0200 (CEST)"},"4099":{"submorphs":[{"__isSmartRef__":true,"id":4100},{"__isSmartRef__":true,"id":4121},{"__isSmartRef__":true,"id":4159}],"scripts":[],"id":"497DDAF0-73C4-4BBC-92AE-2E7850D194E9","shape":{"__isSmartRef__":true,"id":4201},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Formatter","partsBinMetaInfo":{"__isSmartRef__":true,"id":4202},"eventHandler":{"__isSmartRef__":true,"id":4304},"derivationIds":[127,"F0291F62-F100-480C-AEBF-0230398F7983","AE8B5ED7-E305-45BC-BE4A-1C28A49EE12B","39BA345C-17FA-45A0-BAC2-F0CF5654ACF8","FE91EA31-D8AE-461B-8A49-95DA5FBAE5B4","F38439A3-2F4E-4AC2-BF73-2633C00B1393","6748F5B5-2284-4748-A6EE-F1A261CBAD0B","BBAFB862-93AE-4F89-BCFF-9F1C67B7FE4C","7EC17E78-593A-4CC8-B7E3-859BCBBFE785","BD8BECDB-A9A1-4009-B433-C925F0AFCCFC","60EEC9BB-C633-4D94-91E3-6DA6FE53260C","61245879-6BB3-4DB2-A981-13FEFBC0690C","C2101192-5BA5-4707-9A73-E76BBEE3E728","326511FA-DA13-41EE-A295-1D9453585285","ED406134-93ED-475B-8A7C-2945C9F2CBE7","6A436784-FF02-451B-8393-B11F4D871D36","BC1C47C3-71DF-466A-B97A-83209D6584EE","BFF17E9A-328D-4697-848B-7A647E395BAC","0E2A8DC1-4D7F-404D-8852-A4C853EC5665","59DC87BB-0A7B-44A0-BCB4-BA5EBE9D0523","A1451A64-B67C-46E9-8695-846C5A15311D","8DA03179-8886-4623-9CC1-539D47E62E73","8B4BBAE9-F211-402D-B937-60C13DC8198E","643A38BD-7760-4E8D-A559-0F7F90AB302F","8D7AA1C6-943D-4A31-8CB7-F69731F5F4BB","B3F4964F-0DF3-4BD9-93A9-CA9A848A40A0","355257BD-1D2F-428B-B2C8-CAD0A6400CA1","18805E4A-C471-4EF0-AA4C-BCCCAFBF0059","2041833A-0803-4694-A462-A5FBB9CCF270","1FC304ED-9BDE-435A-B4DD-53707DAA0EEF","0A2A0424-D549-4F97-973E-C6A5D73A1A5D","01C14E3E-D50E-4E94-BC50-EF4A2952F362","F5268ADD-DCDD-432C-A940-26808CC830D7","B342A01A-FCA1-468F-AF9E-F2DF06118FAA","C17748DB-DE2A-414A-8828-2906A30DB2E7","A5B22D0C-330E-447D-89E7-22CF8D2806B5","96903CA3-FD9A-468E-A958-D7E8C84E8453"],"partTests":{"__isSmartRef__":true,"id":4305},"_ClipMode":"visible","moved":true,"#startLetters":"formatAllMorphsInM","isLockOwner":true,"isBeingDragged":false,"prevScroll":[0,0],"connections":{"__isSmartRef__":true,"id":4310},"attributeConnections":[{"__isSmartRef__":true,"id":4312}],"doNotSerialize":["$$ScriptAdded"],"doNotCopyProperties":["$$ScriptAdded"],"lastTextChunk":null,"isActive":true,"_Rotation":0,"_Scale":1,"draggingEnabled":false,"grabbingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4314},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1096.0,41.0)","distanceToDragEvent":"lively.pt(149.0,-10.0)"},"4100":{"submorphs":[],"scripts":[],"id":"5D9077CC-F2AE-482E-89E2-BEFCB5A2A952","shape":{"__isSmartRef__":true,"id":4101},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"Text2","partsBinMetaInfo":{"__isSmartRef__":true,"id":4102},"textChunks":[{"__isSmartRef__":true,"id":4118}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4120},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","F55BA3EA-22CD-48D6-B41A-B854EB9BFC64","CDD26262-32FF-4710-BEE0-4BA0C7EEABB9","3C96DEFC-98EC-4776-903C-F7665129EFE7","C9D9C11A-03C6-497D-9B50-AE83D2EF3E52","57709E31-C611-4398-BCF5-76958C49628D","EF9B4E38-09CF-4E88-A1A0-10C1E99404C0","B80B8D09-1321-4366-981C-FB57506D07BE","488CBCEC-EDAC-431B-8607-893D9B94E92D","22304054-9794-46E4-96AA-7C166329C288","936AF3B0-87CC-494B-B38E-B4EE4FFE62F6","6125A594-2D7F-4B3B-949D-BA5D290FE245","9FB9F9AA-1AAA-47CD-BF15-6F2725D031B6","B80931E7-AC5E-4FAD-B285-9DD4A085899A","86915E69-88F9-4C44-BBFA-53AC4C8AF1E3","E5743CA5-61A0-40A7-991E-410B66DF9BA6","F0F4CE6D-C62B-434F-9F9E-2E84CD2D12C9","5586722F-18A3-421E-8D16-207CFAC4E563","7D25A254-316A-4990-9961-34E6B7C8AF22","6429C36E-77E7-4EA5-BDB8-AEB56B42BB48","0B70107F-B681-49F0-BE54-2AF2751286B7","EE541B9C-20E6-4368-BA6E-65DBEB642395","67C96C86-0E46-474C-ACB5-F832713F1D66","ED235E43-74E2-44DF-A475-BAAF164760D0","01F832E9-AF58-4D13-9A2E-B03A36F82CEE","E87C4F24-8CB9-4EE8-8E15-EEC0CB915083","60E16C41-6092-4664-9C7C-D8F296DBA453","15F1F13F-E426-426B-89A7-170BD2B58DA0"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":4099},"isLockOwner":false,"_Rotation":0,"_Scale":1,"previousSelection":[7,7],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(4.6,3.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(66.4,-9.0)"},"4101":{"fill":null,"_BorderWidth":0,"_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(100.7,26.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4102":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4103},{"__isSmartRef__":true,"id":4105},{"__isSmartRef__":true,"id":4107},{"__isSmartRef__":true,"id":4109},{"__isSmartRef__":true,"id":4111},{"__isSmartRef__":true,"id":4113},{"__isSmartRef__":true,"id":4115}],"lastModifiedDate":{"__isSmartRef__":true,"id":4117},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4103":{"date":{"__isSmartRef__":true,"id":4104},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4104":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4105":{"date":{"__isSmartRef__":true,"id":4106},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4106":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4107":{"date":{"__isSmartRef__":true,"id":4108},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4108":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4109":{"date":{"__isSmartRef__":true,"id":4110},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4110":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4111":{"date":{"__isSmartRef__":true,"id":4112},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"4112":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4113":{"date":{"__isSmartRef__":true,"id":4114},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4114":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4115":{"date":{"__isSmartRef__":true,"id":4116},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4116":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4117":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4118":{"style":{"__isSmartRef__":true,"id":4119},"morph":{"__isSmartRef__":true,"id":4100},"chunkOwner":{"__isSmartRef__":true,"id":4100},"storedString":"Formatter","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4119":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(146,146,146)"},"4120":{"morph":{"__isSmartRef__":true,"id":4100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4121":{"submorphs":[],"scripts":[],"id":"05D61C21-CD53-4F22-8977-C8BC3889A87B","shape":{"__isSmartRef__":true,"id":4122},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":120.695652,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":5,"name":"VersionLabel","partsBinMetaInfo":{"__isSmartRef__":true,"id":4123},"textChunks":[{"__isSmartRef__":true,"id":4139}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4141},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","DE7C6514-2635-46F0-B977-010AF2CA158A","C1038641-97C2-4250-810D-54A1028A1C6E","B3A30A07-1B69-45B4-84E0-955858FCDA2D","9CF2E8B9-2601-4263-A1C9-6633EAE8503B","1EF1CB51-4B4D-46FD-806E-D0DBF1A56D57","F38B25E2-0F26-49B4-81BF-38E2C0B3AD93","D6193C51-207E-4E07-8F5E-DF300D39EDB5","0100F042-0D69-40B5-8152-3499D33D6F85","26DE6FC0-8B4B-4986-AC4A-93F20B7C7B28","32CF1677-0DE7-4E57-AA37-CB94AB45A737","352353A9-2B46-40D4-9BC6-07F70D1B5D8A","11BC9434-E8C9-4FCB-9DF2-5D085F7D87A0","579A5E92-2C98-472C-9061-9C16060B835B","99C0518D-25A9-44FE-BB7B-01F038ACCA7C","FEB90AB9-68A6-4141-8F82-94094BCD0048","C81ADDF2-D919-4184-A5DE-ACB8D369F3E9","2C60F55F-DB72-4E5B-9ECE-04586DBEC92C","2B63DCFE-C814-4B7A-9172-EBE6BD721650","45A5A93C-7556-4467-B123-9F354C43B8FA","7981127D-77AB-449C-AB43-1F7CAC6B1FEB","12241BBE-EC90-4C23-A62F-95DAE3B58061","6708160E-E5BD-421E-9598-6C83E6260C50","F0EE07FD-3EE9-42D2-B02F-F1A050487A0B","42833AD4-EC59-4EC8-9EDF-278BA86B5BB0"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":4099},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4142},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(5.4,26.3)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(137.6,-12.3)"},"4122":{"fill":null,"_BorderWidth":0,"_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(200.1,11.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4123":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4124},{"__isSmartRef__":true,"id":4126},{"__isSmartRef__":true,"id":4128},{"__isSmartRef__":true,"id":4130},{"__isSmartRef__":true,"id":4132},{"__isSmartRef__":true,"id":4134},{"__isSmartRef__":true,"id":4136}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":4138},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4124":{"date":{"__isSmartRef__":true,"id":4125},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4125":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4126":{"date":{"__isSmartRef__":true,"id":4127},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4127":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4128":{"date":{"__isSmartRef__":true,"id":4129},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4129":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4130":{"date":{"__isSmartRef__":true,"id":4131},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4131":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4132":{"date":{"__isSmartRef__":true,"id":4133},"author":"undefined","message":"Set the inset as: this.setPadding(Rectangle.inset(4,2)). This gives it a more pleasing appearance with a border, and also makes it easier to select near the bounds.","id":"BD5B0E4C-4830-4863-A013-35BB66D5AD6F"},"4133":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4134":{"date":{"__isSmartRef__":true,"id":4135},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4135":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4136":{"date":{"__isSmartRef__":true,"id":4137},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4137":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4138":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4139":{"style":{"__isSmartRef__":true,"id":4140},"chunkOwner":{"__isSmartRef__":true,"id":4121},"_id":"_336","storedString":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4140":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4141":{"morph":{"__isSmartRef__":true,"id":4121},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4142":{"onrestore":{"__isSmartRef__":true,"id":4143},"updateText":{"__isSmartRef__":true,"id":4151},"lastModifiedScriptOfOwner":{"__isSmartRef__":true,"id":4155}},"4143":{"varMapping":{"__isSmartRef__":true,"id":4144},"source":"function onrestore() {\n this.updateText.bind(this).delay(1)\n}","funcProperties":{"__isSmartRef__":true,"id":4149},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4144":{"this":{"__isSmartRef__":true,"id":4121},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4145}},"4145":{"$super":{"__isSmartRef__":true,"id":4146}},"4146":{"varMapping":{"__isSmartRef__":true,"id":4147},"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":4148},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4147":{"obj":{"__isSmartRef__":true,"id":4121},"name":"onrestore"},"4148":{},"4149":{"timestamp":{"__isSmartRef__":true,"id":4150},"user":"jenslincke","tags":[]},"4150":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4151":{"varMapping":{"__isSmartRef__":true,"id":4152},"source":"function updateText() {\n this.textString = this.lastModifiedScriptOfOwner()\n}","funcProperties":{"__isSmartRef__":true,"id":4153},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4152":{"this":{"__isSmartRef__":true,"id":4121}},"4153":{"timestamp":{"__isSmartRef__":true,"id":4154},"user":"jenslincke","tags":[]},"4154":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4155":{"varMapping":{"__isSmartRef__":true,"id":4156},"source":"function lastModifiedScriptOfOwner() {\n // this.lastModifiedScriptOfOwner()\n var latest;\n Functions.own(this.owner).each(function(ea) {\n var t = this.owner[ea].timestamp;\n if (!latest || t > latest)\n latest = t;\n }, this)\n return latest\n}","funcProperties":{"__isSmartRef__":true,"id":4157},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4156":{"this":{"__isSmartRef__":true,"id":4121}},"4157":{"timestamp":{"__isSmartRef__":true,"id":4158},"user":"jenslincke"},"4158":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4159":{"submorphs":[{"__isSmartRef__":true,"id":4160}],"scripts":[],"id":"CE4D9B96-EE01-4B8E-9733-16615D647713","shape":{"__isSmartRef__":true,"id":4165},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4166},"lighterFill":{"__isSmartRef__":true,"id":4171},"label":{"__isSmartRef__":true,"id":4160},"name":"ToggleButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4176},"attributeConnections":[{"__isSmartRef__":true,"id":4184},{"__isSmartRef__":true,"id":4185}],"doNotSerialize":["$$fire","$$toggle"],"doNotCopyProperties":["$$fire","$$toggle"],"eventHandler":{"__isSmartRef__":true,"id":4187},"derivationIds":[2588,"C96F474C-1F3A-4E42-844C-DD2EB76BDD7E","E36FA68D-6317-416A-99FA-0ED81E4193DA","06258075-AC5A-4CAB-A248-A66D3213816C","64801999-DFCE-4F54-974F-D68137E3178F","F7C108D2-C3FC-40BB-A7D2-C1E634F45107","096E44FC-0DC9-44C1-BFD5-17009B6482BC","00FFDED2-AB2D-4727-AC3D-2A3277BB0C11","D668A88D-7478-4356-845F-C91C0AA09852","73D645C4-502E-4CA1-BCFC-D7BF41AC2CC5","FD1ACFEB-984C-4BC5-BF01-DADB7D99571A","A1443BEE-BDD3-42D7-BBA9-ED94DAB58416","AB7854B1-85E4-43A2-97DA-DF3D89FB1F6E","C7B3A6EC-B093-44DF-83B6-CC7BD0529D7A","CAEAF7F9-DA32-4879-BB14-5B8DC852E81A","427CADA4-756A-4445-8203-454328BFF174"],"_ClipMode":"visible","isPressed":false,"isToggled":false,"connections":{"__isSmartRef__":true,"id":4188},"moved":true,"prevScroll":[0,0],"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":4099},"_Rotation":0,"_Scale":0.7,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4192},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(158.0,6.0)","distanceToDragEvent":"lively.pt(35.0,-12.0)"},"4160":{"submorphs":[],"scripts":[],"id":"533C7E94-8C93-407E-8D02-5E2903D283AA","shape":{"__isSmartRef__":true,"id":4161},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_MaxTextWidth":105,"_MaxTextHeight":null,"textStyle":null,"owner":{"__isSmartRef__":true,"id":4159},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":4162}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":4164},"_HandStyle":"default","_PointerEvents":"none","derivationIds":[2589,"44787449-DE07-40ED-B4D3-89A4A185AE29","F4BC3D0F-FF03-4EFC-B727-951442606730","277CDAEF-77E0-49F1-BD6F-1630D7ECC2E1","18C6D32F-6FC9-4BBD-9369-B33B5262D0BD","C47E37F8-5CF6-47A9-AFA1-A40A7AE84D49","263E0226-70CD-4FB4-8940-803DB41B14A4","BFDCA5F8-21BA-4D32-AB32-A2675F69B893","E05B45DC-5392-4CEE-8A8A-CDB9A6FEA02B","FC050265-3D45-4634-9BEC-325E0875CEF9","324C8FEE-5A64-42C3-8BD4-B19FDACFB256","0942A07F-7C9D-4202-A685-2680EB821A68","DA7A5615-6213-428E-BA6A-669FB082C23C","B227CE1E-6264-4FAB-85DB-C162F1003E9D","00345519-1674-4EB9-A990-0028D7D21A37","68E55BE7-7B56-42A1-A4AB-681CA9D31D99"],"_MinTextWidth":105,"_MinTextHeight":null,"_WordBreak":"break-all","_FontSize":10,"__serializedExpressions__":["_Position","padding","_Padding","_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,0.0)","padding":"lively.rect(5,5,0,0)","_Padding":"lively.rect(0,0,0,0)","_TextColor":"Color.rgb(0,0,0)"},"4161":{"_BorderWidth":0,"_Fill":null,"_ClipMode":"hidden","__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(70.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,3,0,0)"},"4162":{"style":{"__isSmartRef__":true,"id":4163},"chunkOwner":{"__isSmartRef__":true,"id":4160},"_id":"_486","storedString":"enabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4163":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4164":{"morph":{"__isSmartRef__":true,"id":4160},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4165":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":4166},"_BorderRadius":5.2,"_ClipMode":"visible","_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":true,"_BorderStylingMode":true,"__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(70.0,22.0)","_BorderColor":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"4166":{"stops":[{"__isSmartRef__":true,"id":4167},{"__isSmartRef__":true,"id":4168},{"__isSmartRef__":true,"id":4169},{"__isSmartRef__":true,"id":4170}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"4167":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"4168":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"4169":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"4170":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"4171":{"stops":[{"__isSmartRef__":true,"id":4172},{"__isSmartRef__":true,"id":4173},{"__isSmartRef__":true,"id":4174},{"__isSmartRef__":true,"id":4175}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"4172":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"4173":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"4174":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"4175":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"4176":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":4,"partName":"ToggleButton","comment":"A toggle button:\n- emits, toggle, enable, disable on pressed.\n- changes label","changes":[{"__isSmartRef__":true,"id":4177},{"__isSmartRef__":true,"id":4179},{"__isSmartRef__":true,"id":4181}],"lastModifiedDate":{"__isSmartRef__":true,"id":4183},"revisionOnLoad":200633,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4177":{"date":{"__isSmartRef__":true,"id":4178},"author":"jenslincke","message":"no comment","id":"497F3947-290E-4A97-A50D-3A5A7A186919"},"4178":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4179":{"date":{"__isSmartRef__":true,"id":4180},"author":"jenslincke","message":"no comment","id":"02AB5A6F-7748-4A48-8C36-D334F97FC321"},"4180":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4181":{"date":{"__isSmartRef__":true,"id":4182},"author":"jenslincke","message":"no comment","id":"7471CE07-F2C0-4149-9684-90E843DB8DCE"},"4182":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4183":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4184":{"sourceObj":{"__isSmartRef__":true,"id":4159},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4159},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4185":{"sourceObj":{"__isSmartRef__":true,"id":4159},"sourceAttrName":"toggle","targetObj":{"__isSmartRef__":true,"id":4099},"targetMethodName":"isActive","varMapping":{"__isSmartRef__":true,"id":4186},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4186":{"source":{"__isSmartRef__":true,"id":4159},"target":{"__isSmartRef__":true,"id":4099}},"4187":{"morph":{"__isSmartRef__":true,"id":4159},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4188":{"enable":{"__isSmartRef__":true,"id":4189},"disable":{"__isSmartRef__":true,"id":4190},"toggle":{"__isSmartRef__":true,"id":4191}},"4189":{},"4190":{},"4191":{},"4192":{"onFire":{"__isSmartRef__":true,"id":4193},"reset":{"__isSmartRef__":true,"id":4197}},"4193":{"varMapping":{"__isSmartRef__":true,"id":4194},"source":"function onFire() {\n\t\n if (this.isToggled) {\n this.setLabel(\"enabled\")\n lively.bindings.signal(this, 'enable', true)\n lively.bindings.signal(this, 'toggle', true)\n } else {\n this.setLabel(\"disabled\")\n lively.bindings.signal(this, 'disable', true)\n lively.bindings.signal(this, 'toggle', false)\n }\n this.isToggled = !this.isToggled;\n}","funcProperties":{"__isSmartRef__":true,"id":4195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4194":{"this":{"__isSmartRef__":true,"id":4159}},"4195":{"timestamp":{"__isSmartRef__":true,"id":4196},"user":"jenslincke","tags":[]},"4196":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4197":{"varMapping":{"__isSmartRef__":true,"id":4198},"source":"function reset() {\n this.connections = {\"enable\": { }, \"disable\": { }, \"toggle\": { }}\n}","funcProperties":{"__isSmartRef__":true,"id":4199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4198":{"this":{"__isSmartRef__":true,"id":4159}},"4199":{"timestamp":{"__isSmartRef__":true,"id":4200},"user":"jenslincke","tags":[]},"4200":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4201":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":false,"_StrokeOpacity":1,"__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(210.0,60.0)","_BorderColor":"Color.rgb(172,172,172)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"4202":{"comment":"A morph hierarchy visualization with bundle view simulation of attribute connections.\nExample formats:\nHeading:\n #, ##, ##,\nLists:\n -, \nURLs:\n [Evaluation/Worlds]\nDoits:\n [PartsBin/Inputs/Button] \n","migrationLevel":4,"partName":"Formatter","changes":[{"__isSmartRef__":true,"id":4203},{"__isSmartRef__":true,"id":4205},{"__isSmartRef__":true,"id":4207},{"__isSmartRef__":true,"id":4209},{"__isSmartRef__":true,"id":4211},{"__isSmartRef__":true,"id":4213},{"__isSmartRef__":true,"id":4215},{"__isSmartRef__":true,"id":4217},{"__isSmartRef__":true,"id":4219},{"__isSmartRef__":true,"id":4221},{"__isSmartRef__":true,"id":4223},{"__isSmartRef__":true,"id":4225},{"__isSmartRef__":true,"id":4227},{"__isSmartRef__":true,"id":4229},{"__isSmartRef__":true,"id":4231},{"__isSmartRef__":true,"id":4233},{"__isSmartRef__":true,"id":4235},{"__isSmartRef__":true,"id":4237},{"__isSmartRef__":true,"id":4239},{"__isSmartRef__":true,"id":4241},{"__isSmartRef__":true,"id":4243},{"__isSmartRef__":true,"id":4245},{"__isSmartRef__":true,"id":4247},{"__isSmartRef__":true,"id":4249},{"__isSmartRef__":true,"id":4251},{"__isSmartRef__":true,"id":4253},{"__isSmartRef__":true,"id":4255},{"__isSmartRef__":true,"id":4257},{"__isSmartRef__":true,"id":4259},{"__isSmartRef__":true,"id":4261},{"__isSmartRef__":true,"id":4263},{"__isSmartRef__":true,"id":4265},{"__isSmartRef__":true,"id":4267},{"__isSmartRef__":true,"id":4269},{"__isSmartRef__":true,"id":4271},{"__isSmartRef__":true,"id":4273},{"__isSmartRef__":true,"id":4275},{"__isSmartRef__":true,"id":4277},{"__isSmartRef__":true,"id":4279},{"__isSmartRef__":true,"id":4281},{"__isSmartRef__":true,"id":4283},{"__isSmartRef__":true,"id":4285},{"__isSmartRef__":true,"id":4287},{"__isSmartRef__":true,"id":4289},{"__isSmartRef__":true,"id":4291},{"__isSmartRef__":true,"id":4293},{"__isSmartRef__":true,"id":4295},{"__isSmartRef__":true,"id":4297},{"__isSmartRef__":true,"id":4299},{"__isSmartRef__":true,"id":4301}],"lastModifiedDate":{"__isSmartRef__":true,"id":4303},"revisionOnLoad":203288,"partsSpaceName":"PartsBin/Jens/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4203":{"date":{"__isSmartRef__":true,"id":4204},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"4204":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4205":{"date":{"__isSmartRef__":true,"id":4206},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"4206":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4207":{"date":{"__isSmartRef__":true,"id":4208},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"4208":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4209":{"date":{"__isSmartRef__":true,"id":4210},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"4210":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4211":{"date":{"__isSmartRef__":true,"id":4212},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"4212":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4213":{"date":{"__isSmartRef__":true,"id":4214},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"4214":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4215":{"date":{"__isSmartRef__":true,"id":4216},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"4216":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4217":{"date":{"__isSmartRef__":true,"id":4218},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"4218":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4219":{"date":{"__isSmartRef__":true,"id":4220},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"4220":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4221":{"date":{"__isSmartRef__":true,"id":4222},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"4222":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4223":{"date":{"__isSmartRef__":true,"id":4224},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"4224":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4225":{"date":{"__isSmartRef__":true,"id":4226},"author":"jenslincke","message":"no comment","id":"70CE5D81-5B84-4B1D-9159-D13B85BAE00A"},"4226":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4227":{"date":{"__isSmartRef__":true,"id":4228},"author":"jenslincke","message":"no comment","id":"B4AFCA0A-D381-4521-BA14-FA8B5B86C76A"},"4228":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4229":{"date":{"__isSmartRef__":true,"id":4230},"author":"jenslincke","message":"no comment","id":"676176DD-9D7D-4664-967C-DEAC93654136"},"4230":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4231":{"date":{"__isSmartRef__":true,"id":4232},"author":"jenslincke","message":"added hypertext recocnition for notes and excerpts","id":"F6C0EE1C-D944-4965-8DF3-38AE6BF9327E"},"4232":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4233":{"date":{"__isSmartRef__":true,"id":4234},"author":"jenslincke","message":"no comment","id":"33475713-FEB1-4822-8736-773D8C69C299"},"4234":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4235":{"date":{"__isSmartRef__":true,"id":4236},"author":"jenslincke","message":"no comment","id":"C79B033C-F702-4453-87D8-AA4393BC65D6"},"4236":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4237":{"date":{"__isSmartRef__":true,"id":4238},"author":"jenslincke","message":"some cleanup and removal of alert","id":"A60DACAC-F8A6-4086-BA0D-2C928481BA45"},"4238":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4239":{"date":{"__isSmartRef__":true,"id":4240},"author":"jenslincke","message":"formatting does not include last newline","id":"3BB94A92-CE2F-4321-8555-9EFD675DD7C3"},"4240":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4241":{"date":{"__isSmartRef__":true,"id":4242},"author":"jenslincke","message":"detect links...","id":"B23B1D23-E7B3-4D75-B45C-6DCA8A9B1082"},"4242":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4243":{"date":{"__isSmartRef__":true,"id":4244},"author":"jenslincke","message":"fixed regex for hyperlinks","id":"C185A4DE-AC2A-4ECF-A031-1D9A88D6E5E5"},"4244":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4245":{"date":{"__isSmartRef__":true,"id":4246},"author":"jenslincke","message":"also create links for https:// ...","id":"563A198B-D7FD-49C6-B3D6-16B1C08B81E7"},"4246":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4247":{"date":{"__isSmartRef__":true,"id":4248},"author":"jenslincke","message":"no comment","id":"E27B69E3-6E70-4599-9E87-2EDA8556BD02"},"4248":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4249":{"date":{"__isSmartRef__":true,"id":4250},"author":"jenslincke","message":"more url characters... should I look up what is actually allowed? No, I just update the regex every time!","id":"194E122C-7DFA-4AAE-A532-59107405FA48"},"4250":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4251":{"date":{"__isSmartRef__":true,"id":4252},"author":"jenslincke","message":"fixed hyperlink detection once and for all","id":"37234D72-3F50-4193-81EB-065791ADD196"},"4252":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4253":{"date":{"__isSmartRef__":true,"id":4254},"author":"jenslincke","message":"forgot new line","id":"3E39F5D1-9323-47D6-9D4B-A137B69CDEF9"},"4254":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4255":{"date":{"__isSmartRef__":true,"id":4256},"author":"jenslincke","message":"no comment","id":"2DF7A585-CA70-4A3F-B651-3D3FAEC83992"},"4256":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4257":{"date":{"__isSmartRef__":true,"id":4258},"author":"jenslincke","message":"adjust formatting for longer date print string under windows","id":"BCC989FA-3F5F-4958-AA2C-EC41D70E95EC"},"4258":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4259":{"date":{"__isSmartRef__":true,"id":4260},"author":"jenslincke","message":"added ","id":"F15E32CE-83AA-44EB-8648-2930AFE1BD24"},"4260":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4261":{"date":{"__isSmartRef__":true,"id":4262},"author":"jenslincke","message":"removed logging","id":"B1ECB66A-62EB-4B40-AD28-4189AF04FAC2"},"4262":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4263":{"date":{"__isSmartRef__":true,"id":4264},"author":"jenslincke","message":"added fancy preview part and drag it out behavior!","id":"5DA6D4F8-847D-44FD-A1B2-2FE1607753A3"},"4264":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4265":{"date":{"__isSmartRef__":true,"id":4266},"author":"jenslincke","message":"more hacks","id":"D627A82C-02CE-434C-BDE1-E2995108CDFB"},"4266":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4267":{"date":{"__isSmartRef__":true,"id":4268},"author":"jenslincke","message":"no comment","id":"69E07BCF-C0B2-42AF-883B-C3499482C513"},"4268":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4269":{"date":{"__isSmartRef__":true,"id":4270},"author":"jenslincke","message":"more smoother delays....","id":"7B41794F-6219-42B1-9622-7A74AAB39DE7"},"4270":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4271":{"date":{"__isSmartRef__":true,"id":4272},"author":"jenslincke","message":"no comment","id":"874C31E7-EDDA-4583-8328-023A41910997"},"4272":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4273":{"date":{"__isSmartRef__":true,"id":4274},"author":"jenslincke","message":"no comment","id":"467FD050-EC26-4BA6-8480-17DB06F89C3D"},"4274":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4275":{"date":{"__isSmartRef__":true,"id":4276},"author":"jenslincke","message":"no comment","id":"85068BB7-69E2-4265-A445-912DC98878A4"},"4276":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4277":{"date":{"__isSmartRef__":true,"id":4278},"author":"jenslincke","message":"no comment","id":"F9ED2AC4-98DC-4D7C-B9F5-01BED2619E8D"},"4278":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4279":{"date":{"__isSmartRef__":true,"id":4280},"author":"jenslincke","message":"layout","id":"34775C1C-7640-4A30-AD86-A5EB6945AA56"},"4280":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4281":{"date":{"__isSmartRef__":true,"id":4282},"author":"jenslincke","message":"no comment","id":"3120B4F3-B8A2-4F2E-9793-547541BC4094"},"4282":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4283":{"date":{"__isSmartRef__":true,"id":4284},"author":"jenslincke","message":"no comment","id":"EA270A92-A1A5-4FBA-89BB-D7BA1B6E49AD"},"4284":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4285":{"date":{"__isSmartRef__":true,"id":4286},"author":"jenslincke","message":"no comment","id":"F71349C1-A74C-4AEF-B969-B6D3C92E07BE"},"4286":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4287":{"date":{"__isSmartRef__":true,"id":4288},"author":"jenslincke","message":"no comment","id":"FBBB3489-5BB0-4D6B-8C11-92D47A4D6C99"},"4288":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4289":{"date":{"__isSmartRef__":true,"id":4290},"author":"jenslincke","message":"no comment","id":"3CD68CC9-6FD9-412B-841C-3ECAE1BD12E6"},"4290":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4291":{"date":{"__isSmartRef__":true,"id":4292},"author":"jenslincke","message":"no comment","id":"17C8A220-198C-4FC2-8CD2-2FFBFA193E3C"},"4292":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4293":{"date":{"__isSmartRef__":true,"id":4294},"author":"jenslincke","message":"added creation of links to excerpts","id":"F7938E66-25E5-425F-9EEA-BC95819F3DD7"},"4294":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4295":{"date":{"__isSmartRef__":true,"id":4296},"author":"jenslincke","message":"create page option, when following a link....","id":"003BCEA5-BE0C-4F90-A0A6-2FE8E3988057"},"4296":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4297":{"date":{"__isSmartRef__":true,"id":4298},"author":"jenslincke","message":"no comment","id":"EDCC686C-126C-4523-8DC6-53817DD09673"},"4298":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4299":{"date":{"__isSmartRef__":true,"id":4300},"author":"jenslincke","message":"no comment","id":"C07F91F1-FA58-4FAF-A7E8-DA04EB5D0F94"},"4300":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4301":{"date":{"__isSmartRef__":true,"id":4302},"author":"jenslincke","message":"no comment","id":"911CF15E-6826-410E-AB61-CAE759E411AE"},"4302":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4303":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4304":{"morph":{"__isSmartRef__":true,"id":4099},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4305":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4306}},"4306":{"test01IsMorph":{"__isSmartRef__":true,"id":4307}},"4307":{"varMapping":{"__isSmartRef__":true,"id":4308},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":4309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4308":{"this":{"__isSmartRef__":true,"id":4305}},"4309":{},"4310":{"ScriptAdded":{"__isSmartRef__":true,"id":4311}},"4311":{},"4312":{"sourceObj":{"__isSmartRef__":true,"id":4099},"sourceAttrName":"ScriptAdded","targetObj":{"__isSmartRef__":true,"id":4121},"targetMethodName":"updateText","varMapping":{"__isSmartRef__":true,"id":4313},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4313":{"source":{"__isSmartRef__":true,"id":4099},"target":{"__isSmartRef__":true,"id":4121}},"4314":{"onrestore":{"__isSmartRef__":true,"id":4315},"formatAllMorphsInMainColumn":{"__isSmartRef__":true,"id":4323},"formatTextMorph":{"__isSmartRef__":true,"id":4327},"addScript":{"__isSmartRef__":true,"id":4331},"emphasizeRegexFunc":{"__isSmartRef__":true,"id":4339},"reset":{"__isSmartRef__":true,"id":4343},"hidePart":{"__isSmartRef__":true,"id":4347},"showPart":{"__isSmartRef__":true,"id":4351},"followCitation":{"__isSmartRef__":true,"id":4355},"followURL":{"__isSmartRef__":true,"id":4359},"formatLinks":{"__isSmartRef__":true,"id":4363}},"4315":{"varMapping":{"__isSmartRef__":true,"id":4316},"source":"function onrestore() {\n this.formatAllMorphsInMainColumn.bind(this).delay(1)\n}","funcProperties":{"__isSmartRef__":true,"id":4321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4316":{"this":{"__isSmartRef__":true,"id":4099},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4317}},"4317":{"$super":{"__isSmartRef__":true,"id":4318}},"4318":{"varMapping":{"__isSmartRef__":true,"id":4319},"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":4320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4319":{"obj":{"__isSmartRef__":true,"id":4099},"name":"onrestore"},"4320":{},"4321":{"timestamp":{"__isSmartRef__":true,"id":4322},"user":"jenslincke","tags":[]},"4322":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4323":{"varMapping":{"__isSmartRef__":true,"id":4324},"source":"function formatAllMorphsInMainColumn() {\n this.get('CheapWorldLayout').findMorphsToLayout().select(function(ea) {\n return ea.textString && ea.format // want's automatic formatting\n }).each(function(ea) {\n this.formatTextMorph(ea)\n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":4325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4324":{"this":{"__isSmartRef__":true,"id":4099}},"4325":{"timestamp":{"__isSmartRef__":true,"id":4326},"user":"jenslincke","tags":[]},"4326":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4327":{"varMapping":{"__isSmartRef__":true,"id":4328},"source":"function formatTextMorph(morph) {\n\n if (!this.isActive) return\n\n morph.emphasizeAll({color: Color.darkGray, fontSize: 12, uri: undefined})\n morph.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformat) {\n ea.styleText({doit: ''})\n }\n })\n\n this.emphasizeRegexFunc(morph, /(?:^|\\n)(#.*)/g, {fontSize: 20, color: CrayonColors.ocean})\n this.emphasizeRegexFunc(morph, /(?:^|\\n)(##.*)/g, {fontSize: 16, color: CrayonColors.ocean})\n this.emphasizeRegexFunc(morph, /(?:^|\\n)([A-Z]+)\\:/g, {fontSize: 12, color: Color.black})\n this.emphasizeRegexFunc(morph, /(?:^|\\n)(\\*.*)/g, {fontSize: 12, color: Color.red.darker(1)})\n this.emphasizeRegexFunc(morph, /(?:^|\\n)(\\%.*)/g, {fontSize: 10, color: Color.green.darker(2)})\n this.emphasizeRegexFunc(morph, /(?:^|\\n)([ \\t]*☐)/g, {color: Color.black})\n this.emphasizeRegexFunc(morph, /(?:^|\\n)([ \\t]*✔)/g, {color: Color.green.darker(1)})\n this.emphasizeRegexFunc(morph, /(@done( ?\\([^)]+\\))?)/g, {fontSize: 8, color: Color.gray})\n this.emphasizeRegexFunc(morph, /(@time( ?\\([^)]+\\))?)/g, {fontSize: 8, color: CrayonColors.ocean})\n this.emphasizeRegexFunc(morph, /(@due( ?\\([^)]+\\))?)/g, {fontSize: 8, color: Color.red})\n\n this.formatLinks(morph)\n \n morph.emphasizeRegex(/(?:^|\\n)- .*/g, {color: Color.darkGray, fontSize: 12})\n morph.emphasizeRegex(/(?:^|\\n) - .*/g, {color: Color.darkGray, fontSize: 12})\n morph.emphasizeRegex(/(?:^|\\n) - .*/g, {color: Color.darkGray, fontSize: 10})\n morph.emphasizeRegex(/(?:^|\\n) - .*/g, {color: Color.darkGray, fontSize: 10})\n\n var self= this;\n morph.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformat && ea.style.doit.context && ea.style.doit.context.partName) {\n $(ea.chunkNode).mouseenter(function(data) {\n var partName = ea.style.doit.context.partName;\n var partSpace = ea.style.doit.context.partSpace\n self.lastTextChunk = ea;\n self.showPart.bind(self).curry(ea, partName, partSpace).delay(1)\n })\n $(ea.chunkNode).mouseout(function(data) {\n self.hidePartTarget = ea\n self.hidePart.bind(self).curry(ea).delay(1)\n })\n }\n })\n\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":4329},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4328":{"this":{"__isSmartRef__":true,"id":4099}},"4329":{"timestamp":{"__isSmartRef__":true,"id":4330},"user":"jenslincke","tags":[]},"4330":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4331":{"varMapping":{"__isSmartRef__":true,"id":4332},"source":"function addScript(s){\n\n var r = $super(s);\n try {\n // and now for some immediate feedback\n this.formatAllMorphsInMainColumn()\n } catch(e) {\n // ignore\n }\n lively.bindings.signal(this, 'ScriptAdded', s)\n return r\n}","funcProperties":{"__isSmartRef__":true,"id":4337},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4332":{"this":{"__isSmartRef__":true,"id":4099},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4333}},"4333":{"$super":{"__isSmartRef__":true,"id":4334}},"4334":{"varMapping":{"__isSmartRef__":true,"id":4335},"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":4336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4335":{"obj":{"__isSmartRef__":true,"id":4099},"name":"addScript"},"4336":{},"4337":{"timestamp":{"__isSmartRef__":true,"id":4338},"user":"jenslincke","tags":[]},"4338":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4339":{"varMapping":{"__isSmartRef__":true,"id":4340},"source":"function emphasizeRegexFunc(text, re, styleOrFunc, boundsArgs) {\n // special version of emphasizeRegex\n var m, counter = 0, string = text.textString;\n while ((m = re.exec(string))) {\n counter++; if (counter > 5000) throw new Error('emphasizeRegex endless loop?');\n var bounds\n if (!boundsArgs && m[1]) {\n var m1index = m[0].indexOf(m[1])\n bounds = [m1index, m[0].length - (m1index + m[1].length)]\n // alert(\"bounds \" + bounds + \" \" + m[0])\n } else {\n bounds = boundsArgs || [0,0]\n }\n var from = m.index, to = m.index + m[0].length,\n chunks = text.sliceTextChunks(from + bounds[0], to + bounds[1]);\n for (var i = 0; i < chunks.length; i++) {\n var style = Object.isFunction(styleOrFunc) ? styleOrFunc(m, chunks) : styleOrFunc;\n chunks[i].styleText(style);\n }\n }\n text.coalesceChunks();\n}","funcProperties":{"__isSmartRef__":true,"id":4341},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4340":{"this":{"__isSmartRef__":true,"id":4099}},"4341":{"timestamp":{"__isSmartRef__":true,"id":4342},"user":"jenslincke","tags":[]},"4342":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4343":{"varMapping":{"__isSmartRef__":true,"id":4344},"source":"function reset() {\n this.connections = {ScriptAdded: {}}\n}","funcProperties":{"__isSmartRef__":true,"id":4345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4344":{"this":{"__isSmartRef__":true,"id":4099}},"4345":{"timestamp":{"__isSmartRef__":true,"id":4346},"user":"jenslincke","tags":[]},"4346":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4347":{"varMapping":{"__isSmartRef__":true,"id":4348},"source":"function hidePart(textChunk) {\n\n if (this.lastTextChunk !== textChunk) return;\n this.lastTextChunk = null;\n delete this.hidePartTarget\n\n if (!this.showsPart) return;\n this.showsPart.remove()\n delete this.showsPart\n\n}","funcProperties":{"__isSmartRef__":true,"id":4349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4348":{"this":{"__isSmartRef__":true,"id":4099}},"4349":{"timestamp":{"__isSmartRef__":true,"id":4350},"user":"jenslincke","tags":[]},"4350":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4351":{"varMapping":{"__isSmartRef__":true,"id":4352},"source":"function showPart(textChunk, partName, partSpace) {\n // alert(\"show \" + partName)\n if (this.lastTextChunk !== textChunk) return;\n\n if (this.hidePartTarget === textChunk) return; // don't bother with showing, we are hiding already\n if (this.showsPart) {\n this.showsPart.remove()\n };\n var container = lively.PartsBin.getPartItem(partName, partSpace).asPartsBinItem()\n container.isEpiMorph = true;\n container.openInWorld();\n container.setPosition(textChunk.bounds().bottomLeft())\n\n this.showsPart = container\n}","funcProperties":{"__isSmartRef__":true,"id":4353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4352":{"this":{"__isSmartRef__":true,"id":4099}},"4353":{"timestamp":{"__isSmartRef__":true,"id":4354},"user":"jenslincke","tags":[]},"4354":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4355":{"varMapping":{"__isSmartRef__":true,"id":4356},"source":"function followCitation(key) {\n var template = URL.root.withFilename(\"users/jenslincke/thesis/excerpts/template.xhtml\")\n var uri = URL.root.withFilename(\"users/jenslincke/thesis/excerpts/\" + key + \".xhtml\")\n if (uri.asWebResource().exists())\n window.open(uri)\n else {\n $world.confirm(\"no excerpt found for: \" + key +\". Create one?\", function(bool) {\n if (bool) {\n var content = template.asWebResource().get().content\n uri.asWebResource().put(content)\n window.open(uri)\n }\n })\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4356":{"this":{"__isSmartRef__":true,"id":4099}},"4357":{"timestamp":{"__isSmartRef__":true,"id":4358},"user":"jenslincke","tags":[]},"4358":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4359":{"varMapping":{"__isSmartRef__":true,"id":4360},"source":"function followURL(uri) {\n uri = new URL(uri)\n var template = uri.withFilename(\"template.xhtml\")\n if (uri.asWebResource().exists())\n window.open(uri)\n else {\n $world.confirm(\"\" + uri.filename() +\" does not exist. Create world?\", function(bool) {\n if (bool) {\n var content = template.asWebResource().get().content\n uri.asWebResource().put(content)\n window.open(uri)\n }\n })\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4360":{"this":{"__isSmartRef__":true,"id":4099}},"4361":{"timestamp":{"__isSmartRef__":true,"id":4362},"user":"jenslincke","tags":[]},"4362":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4363":{"varMapping":{"__isSmartRef__":true,"id":4364},"source":"function formatLinks(morph) {\n // m.emphasizeRegex(/(?:^|\\n) [^*]*/g, {fontSize: 12, fontFamily: 'Courier'})\n this.emphasizeRegexFunc(morph, /\\[([a-zA-Z][a-zA-Z\\/.\\-0-9_]+?)\\]/g, function(m) {\n var uri;\n if (m[1].match(/^(documentation)|(projects)|(demos)|(draft)|(users)/)) {\n uri = URL.root.withFilename(\"\" + m[1] + \".xhtml\")};\n\n if (m[1].match(/^(notes)|(WriteFirst)|(Evaluation)/)) {\n uri = URL.root.withFilename(\"users/jenslincke/thesis/\" + m[1] + \".xhtml\")\n return {doit: {\n isAutoformat: true, \n code: 'this.followURL(\"'+ uri+'\")', \n context: this}}\n\n };\n\n if (m[1].match(/^[A-Z][a-z]+[0-9][0-9][0-9][0-9][A-Z]+/)) {\n return {doit: {\n isAutoformat: true, \n code: 'this.followCitation(\"'+ m[1]+'\")', \n context: this}}\n };\n // alert(\"found \" + m[1] + \" uri\" + uri)\n return { uri: uri}\n }.bind(this), [1,-1]);\n\n this.emphasizeRegexFunc(morph, /\\[(PartsBin\\/[A-Za-z]+)\\/([A-Za-z]+)\\]/g, function(m) {\n return { doit: {isAutoformat: true, \n code: \n 'm = $world.openPartItem(this.partName, this.partSpace); ' + \n '$world.hands.first().addMorph(m); m.setPosition(pt(0,0))', \n context: {partName: m[2], partSpace: m[1]}} }\n }, [1,-1]);\n\n\n this.emphasizeRegexFunc(morph, /\\[?(https?:\\/\\/[^ \\n\\]]*)\\]?/g, function(m) {\n var uri;\n return { uri: m[1]}\n }, [0,0])\n}","funcProperties":{"__isSmartRef__":true,"id":4365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4364":{"this":{"__isSmartRef__":true,"id":4099}},"4365":{"timestamp":{"__isSmartRef__":true,"id":4366},"user":"jenslincke","tags":[]},"4366":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"4367":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4368},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4369}],"eventHandler":{"__isSmartRef__":true,"id":4371},"_ClipMode":"auto","derivationIds":["C046F47F-9E24-42B1-99BF-88E96E5D7590","487EE992-C691-461A-8865-21790F55C097"],"id":"24AABBA7-4E06-404F-BB7B-5C2993F05FCD","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"draggingEnabled":false,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":true,"_HandStyle":null,"allowInput":true,"_FontFamily":"Monaco,monospace","_FontSize":6,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"layout":{"__isSmartRef__":true,"id":4372},"syntaxHighlightingWhileTyping":false,"accessibleInInactiveWindow":true,"parseErrors":null,"_lastSyntaxHighlightTime":4,"showsHalos":false,"name":"Log","lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_TextColor","_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(1825.0,455.5)","distanceToDragEvent":"lively.pt(474.9,-9.7)"},"4368":{"_BorderWidth":1,"__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(716.1,238.8)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(243,243,243)"},"4369":{"style":{"__isSmartRef__":true,"id":4370},"chunkOwner":{"__isSmartRef__":true,"id":4367},"_id":"_199813","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4370":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4371":{"morph":{"__isSmartRef__":true,"id":4367},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4372":{"resizeWidth":true,"resizeHeight":true},"4373":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":4374},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"eventHandler":{"__isSmartRef__":true,"id":4375},"_ClipMode":"visible","lastScrollTime":1390824219508,"prevScroll":[0,0],"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"doNotSerialize":["$$scrollFocusMorph"],"doNotCopyProperties":["$$scrollFocusMorph"],"highlightConnection":null,"attributeConnections":[],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.HandMorph","__SourceModuleName__":"Global.lively.morphic.Events","withLayers":["Global.NoMagnetsLayer"],"_Position":"lively.pt(1178.9,695.3)"},"4374":{"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(2.0,2.0)","_Fill":"Color.rgb(204,0,0)","_Padding":"lively.rect(0,0,0,0)"},"4375":{"morph":{"__isSmartRef__":true,"id":4373},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4376":{"_ClipMode":"visible","__serializedExpressions__":["_Position","_Extent","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(6800.0,6900.0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"4377":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"4378":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4379":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","varMapping":{"__isSmartRef__":true,"id":4380},"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) { $upd(v); }\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4380":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"4381":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/demos/EnergySimulationScripted.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"4382":{"submorphs":[{"__isSmartRef__":true,"id":4383}],"scripts":[],"id":"BAEE9BEA-D32A-42BA-B1EA-B9420121D6C6","shape":{"__isSmartRef__":true,"id":4394},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":4395},"eventHandler":{"__isSmartRef__":true,"id":4495},"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03","0C359AB4-E7FF-46F2-B050-E84944AAC865"],"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4496},"prevScroll":[0,0],"moved":true,"headRevision":146469,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4497},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(171.0,-13.0)"},"4383":{"submorphs":[{"__isSmartRef__":true,"id":4384}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4390},"id":"A7FF8485-8D93-4349-B6B9-49EA1302B7C9","eventHandler":{"__isSmartRef__":true,"id":4391},"__layered_droppingEnabled__":true,"halosEnabled":true,"name":"ProgressIndicator","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4392},"derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504","B1D109CF-D403-4B0A-988D-50F79586DAC1"],"owner":{"__isSmartRef__":true,"id":4382},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4393},"prevScroll":[0,0],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Image","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(113.5,81.0)","distanceToDragEvent":"lively.pt(39.0,-11.0)"},"4384":{"submorphs":[],"scripts":[],"id":"32DDECFD-4D93-40BF-9772-7776513A2308","shape":{"__isSmartRef__":true,"id":4385},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_MaxTextWidth":257,"_MaxTextHeight":null,"showsHalos":false,"_FontSize":14,"name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":4386},"textChunks":[{"__isSmartRef__":true,"id":4387}],"charsReplaced":"MorphName","lastFindLoc":18,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4389},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08","08EA4866-65F7-416E-810F-77F2E719663A"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":4383},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","isBeingDragged":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(-109.0,38.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(179.0,-11.0)"},"4385":{"fill":null,"_BorderWidth":0,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__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(257.0,22.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(0,0,0,0)"},"4386":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4387":{"style":{"__isSmartRef__":true,"id":4388},"chunkOwner":{"__isSmartRef__":true,"id":4384},"storedString":"loading part","_id":"_4371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4388":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4389":{"morph":{"__isSmartRef__":true,"id":4384},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4390":{"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"_ClipMode":"visible","_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Image","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(31.0,31.0)","_Padding":"lively.rect(0,0,0,0)"},"4391":{"morph":{"__isSmartRef__":true,"id":4383},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4392":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4393":{"centeredHorizontal":true,"centeredVertical":true},"4394":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__serializedExpressions__":["position","_Extent","_BorderColor","_Fill","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(266.0,223.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(214,214,214)","_Padding":"lively.rect(0,0,0,0)"},"4395":{"partsSpaceName":"PartsBin/iPadWidgets","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":4396},{"__isSmartRef__":true,"id":4398},{"__isSmartRef__":true,"id":4400},{"__isSmartRef__":true,"id":4402},{"__isSmartRef__":true,"id":4404},{"__isSmartRef__":true,"id":4406},{"__isSmartRef__":true,"id":4408},{"__isSmartRef__":true,"id":4410},{"__isSmartRef__":true,"id":4412},{"__isSmartRef__":true,"id":4414},{"__isSmartRef__":true,"id":4416},{"__isSmartRef__":true,"id":4418},{"__isSmartRef__":true,"id":4420},{"__isSmartRef__":true,"id":4422},{"__isSmartRef__":true,"id":4424},{"__isSmartRef__":true,"id":4426},{"__isSmartRef__":true,"id":4428},{"__isSmartRef__":true,"id":4430},{"__isSmartRef__":true,"id":4432},{"__isSmartRef__":true,"id":4434},{"__isSmartRef__":true,"id":4436},{"__isSmartRef__":true,"id":4438},{"__isSmartRef__":true,"id":4440},{"__isSmartRef__":true,"id":4442},{"__isSmartRef__":true,"id":4444},{"__isSmartRef__":true,"id":4446},{"__isSmartRef__":true,"id":4448},{"__isSmartRef__":true,"id":4450},{"__isSmartRef__":true,"id":4452},{"__isSmartRef__":true,"id":4454},{"__isSmartRef__":true,"id":4456},{"__isSmartRef__":true,"id":4458},{"__isSmartRef__":true,"id":4460},{"__isSmartRef__":true,"id":4462},{"__isSmartRef__":true,"id":4464},{"__isSmartRef__":true,"id":4466},{"__isSmartRef__":true,"id":4468},{"__isSmartRef__":true,"id":4470},{"__isSmartRef__":true,"id":4472},{"__isSmartRef__":true,"id":4474},{"__isSmartRef__":true,"id":4476},{"__isSmartRef__":true,"id":4478},{"__isSmartRef__":true,"id":4480},{"__isSmartRef__":true,"id":4482},{"__isSmartRef__":true,"id":4484},{"__isSmartRef__":true,"id":4486},{"__isSmartRef__":true,"id":4488},{"__isSmartRef__":true,"id":4490},{"__isSmartRef__":true,"id":4492}],"lastModifiedDate":{"__isSmartRef__":true,"id":4494},"revisionOnLoad":194364,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4396":{"date":{"__isSmartRef__":true,"id":4397},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"4397":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"4398":{"date":{"__isSmartRef__":true,"id":4399},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"4399":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"4400":{"date":{"__isSmartRef__":true,"id":4401},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"4401":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"4402":{"date":{"__isSmartRef__":true,"id":4403},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"4403":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"4404":{"date":{"__isSmartRef__":true,"id":4405},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"4405":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"4406":{"date":{"__isSmartRef__":true,"id":4407},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"4407":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"4408":{"date":{"__isSmartRef__":true,"id":4409},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"4409":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"4410":{"date":{"__isSmartRef__":true,"id":4411},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"4411":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"4412":{"date":{"__isSmartRef__":true,"id":4413},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"4413":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"4414":{"date":{"__isSmartRef__":true,"id":4415},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"4415":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"4416":{"date":{"__isSmartRef__":true,"id":4417},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"4417":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"4418":{"date":{"__isSmartRef__":true,"id":4419},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"4419":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"4420":{"date":{"__isSmartRef__":true,"id":4421},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"4421":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"4422":{"date":{"__isSmartRef__":true,"id":4423},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"4423":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"4424":{"date":{"__isSmartRef__":true,"id":4425},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"4425":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"4426":{"date":{"__isSmartRef__":true,"id":4427},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"4427":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"4428":{"date":{"__isSmartRef__":true,"id":4429},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"4429":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"4430":{"date":{"__isSmartRef__":true,"id":4431},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"4431":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"4432":{"date":{"__isSmartRef__":true,"id":4433},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"4433":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"4434":{"date":{"__isSmartRef__":true,"id":4435},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"4435":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"4436":{"date":{"__isSmartRef__":true,"id":4437},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"4437":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"4438":{"date":{"__isSmartRef__":true,"id":4439},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"4439":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"4440":{"date":{"__isSmartRef__":true,"id":4441},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"4441":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"4442":{"date":{"__isSmartRef__":true,"id":4443},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"4443":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"4444":{"date":{"__isSmartRef__":true,"id":4445},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"4445":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"4446":{"date":{"__isSmartRef__":true,"id":4447},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"4447":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"4448":{"date":{"__isSmartRef__":true,"id":4449},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"4449":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"4450":{"date":{"__isSmartRef__":true,"id":4451},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"4451":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"4452":{"date":{"__isSmartRef__":true,"id":4453},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"4453":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"4454":{"date":{"__isSmartRef__":true,"id":4455},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"4455":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"4456":{"date":{"__isSmartRef__":true,"id":4457},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"4457":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"4458":{"date":{"__isSmartRef__":true,"id":4459},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"4459":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"4460":{"date":{"__isSmartRef__":true,"id":4461},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"4461":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"4462":{"date":{"__isSmartRef__":true,"id":4463},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"4463":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"4464":{"date":{"__isSmartRef__":true,"id":4465},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"4465":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"4466":{"date":{"__isSmartRef__":true,"id":4467},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"4467":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"4468":{"date":{"__isSmartRef__":true,"id":4469},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"4469":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"4470":{"date":{"__isSmartRef__":true,"id":4471},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"4471":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"4472":{"date":{"__isSmartRef__":true,"id":4473},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"4473":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"4474":{"date":{"__isSmartRef__":true,"id":4475},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"4475":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"4476":{"date":{"__isSmartRef__":true,"id":4477},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"4477":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"4478":{"date":{"__isSmartRef__":true,"id":4479},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"4479":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"4480":{"date":{"__isSmartRef__":true,"id":4481},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"4481":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"4482":{"date":{"__isSmartRef__":true,"id":4483},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"4483":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"4484":{"date":{"__isSmartRef__":true,"id":4485},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"4485":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"4486":{"date":{"__isSmartRef__":true,"id":4487},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"4487":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"4488":{"date":{"__isSmartRef__":true,"id":4489},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"4489":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"4490":{"date":{"__isSmartRef__":true,"id":4491},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"4491":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"4492":{"date":{"__isSmartRef__":true,"id":4493},"author":"jenslincke","message":"make it a meta tool","id":"8406E1E5-C48F-4F03-AC17-81AABDE9235E"},"4493":{"isSerializedDate":true,"string":"Fri Mar 22 2013 14:56:05 GMT+0100 (CET)"},"4494":{"isSerializedDate":true,"string":"Fri Mar 22 2013 14:54:35 GMT+0100 (CET)"},"4495":{"morph":{"__isSmartRef__":true,"id":4382},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4496":{"adjustForNewBounds":true},"4497":{"loadPart":{"__isSmartRef__":true,"id":4498},"loadFinished":{"__isSmartRef__":true,"id":4502},"loadPartByName":{"__isSmartRef__":true,"id":4506}},"4498":{"varMapping":{"__isSmartRef__":true,"id":4499},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":4500},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4499":{"this":{"__isSmartRef__":true,"id":4382}},"4500":{"timestamp":{"__isSmartRef__":true,"id":4501},"user":"sstamm","tags":[]},"4501":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"4502":{"varMapping":{"__isSmartRef__":true,"id":4503},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4503":{"this":{"__isSmartRef__":true,"id":4382}},"4504":{"timestamp":{"__isSmartRef__":true,"id":4505},"user":"sstamm","tags":[]},"4505":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"4506":{"varMapping":{"__isSmartRef__":true,"id":4507},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":4508},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4507":{"this":{"__isSmartRef__":true,"id":4382}},"4508":{"timestamp":{"__isSmartRef__":true,"id":4509},"user":"sstamm","tags":[]},"4509":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"4510":{"isSerializedDate":true,"string":"Mon Jan 27 2014 13:03:47 GMT+0100 (CET)"},"4511":{"rules":[{"__isSmartRef__":true,"id":4512},{"__isSmartRef__":true,"id":4514}],"originMorph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.StyleSheet","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4512":{"declarations":[{"__isSmartRef__":true,"id":4513}],"styleSheet":{"__isSmartRef__":true,"id":4511},"selector":".Window","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4513":{"values":["none"],"rule":{"__isSmartRef__":true,"id":4512},"property":"box-shadow","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4514":{"declarations":[{"__isSmartRef__":true,"id":4515}],"styleSheet":{"__isSmartRef__":true,"id":4511},"selector":".Window.highlighted","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4515":{"values":["none"],"rule":{"__isSmartRef__":true,"id":4514},"property":"box-shadow","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4516":{"clipboardData":{"__isSmartRef__":true,"id":4517},"cancelBubble":false,"returnValue":false,"defaultPrevented":true,"timeStamp":1390820467435,"cancelable":true,"bubbles":true,"eventPhase":0,"currentTarget":null,"type":"paste","hasLivelyPatch":true,"isMouseEvent":false,"isKeyboardEvent":false,"world":{"__isSmartRef__":true,"id":0},"hand":{"__isSmartRef__":true,"id":4373},"__serializedExpressions__":["mousePoint"],"isStopped":true,"mousePoint":"lively.pt(0.0,0.0)"},"4517":{"items":{"__isSmartRef__":true,"id":4518},"files":{"__isSmartRef__":true,"id":4519},"types":null,"effectAllowed":"uninitialized","dropEffect":"none"},"4518":{"length":0},"4519":{"length":0},"isSimplifiedRegistry":true}}]]>