: value []\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"134":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"135":{"_id":"_746","style":{"__isSmartRef__":true,"id":136},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" such as ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"136":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"137":{"_id":"_747","style":{"__isSmartRef__":true,"id":138},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"Heat: 0.5 [kWs]\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"138":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"139":{"_id":"_748","style":{"__isSmartRef__":true,"id":140},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" and value can be any JSON object. \nThe unit does not play a role in the simulation script, but is only there for documentation purposes. \n\nIn this concrete simulation we use ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"140":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"141":{"_id":"_749","style":{"__isSmartRef__":true,"id":142},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"kW\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"142":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"143":{"_id":"_750","style":{"__isSmartRef__":true,"id":144},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" for power and ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"144":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"145":{"_id":"_751","style":{"__isSmartRef__":true,"id":146},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"kWs\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"146":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"147":{"_id":"_752","style":{"__isSmartRef__":true,"id":148},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" (kilo watt seconds) for energy since the format of the time step ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"148":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"149":{"_id":"_753","style":{"__isSmartRef__":true,"id":150},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"dt\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"150":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"151":{"_id":"_754","style":{"__isSmartRef__":true,"id":152},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" is in seconds. This means that for example the unit of the fuel tank's Gas is not ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"152":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"153":{"_id":"_755","style":{"__isSmartRef__":true,"id":154},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"liters\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"154":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"155":{"_id":"_756","style":{"__isSmartRef__":true,"id":156},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" (or gallons or cubic meters) but we represent it as its energy value. kilo watt hours kWh are typically used for dealing with energy, but either we base the simulation on fractions of hours or we have to convert seconds to hours (* 3600) in the whole code. \n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"156":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"157":{"_id":"_683","style":{"__isSmartRef__":true,"id":158},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"# About this Simulation Framework","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"158":{"fontSize":20,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"159":{"_id":"_684","style":{"__isSmartRef__":true,"id":160},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n\nI decided to use source code to make it easier to create new kinds of simulation parts. To make the adding and removing of new source code as easy as possible. This further allows to distinguish between the two levels of coding here. All domain / user code is represented in the UI and is separated from the [PartsBin/Jens/EnergySimulationPart]. This allows us to prototypically work on one part, and when we are satisfied to propagate the changes to the other objects by replacing them with a copy of the part under development and automatically migrating all the user's content. This requires to specify which should be copied explicitly in a ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"160":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"161":{"_id":"_757","style":{"__isSmartRef__":true,"id":162},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"migrateFrom\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"162":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"163":{"_id":"_758","style":{"__isSmartRef__":true,"id":164},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" method. This workflow is automated via the [PartsBin/Jens/PartMigrator] tool. \n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"164":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"165":{"_id":"_693","style":{"__isSmartRef__":true,"id":166},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"## Part Migration","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"166":{"fontSize":16,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"167":{"_id":"_694","style":{"__isSmartRef__":true,"id":168},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n\nA major problem for using parts in games and simulation was that due to the self containment of objects it is not easy to change the behavior of many objects at once, or work on one objects and apply your changes to other objects. One approach to this problem was using a Group Editor [","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"168":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"169":{"_id":"_783","style":{"__isSmartRef__":true,"id":170},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"Felgentreff2012LGS","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"170":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"doit":{"__isSmartRef__":true,"id":171},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"171":{"isAutoformat":true,"code":"this.followCitation(\"Felgentreff2012LGS\")","context":{"__isSmartRef__":true,"id":172}},"172":{"submorphs":[{"__isSmartRef__":true,"id":173},{"__isSmartRef__":true,"id":194},{"__isSmartRef__":true,"id":232}],"scripts":[],"id":"01D508FD-D9AD-43B5-BEA2-345CC823FB4A","shape":{"__isSmartRef__":true,"id":274},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Formatter","partsBinMetaInfo":{"__isSmartRef__":true,"id":275},"eventHandler":{"__isSmartRef__":true,"id":389},"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","EAFEF25E-5A36-4505-BA86-0B64FEA87F75","7DAF625D-E0B5-4830-B769-C198B53A78F1","D03C08C5-B123-4FBF-81D9-85D609E82966","D4999342-2616-44A2-8C2A-81035273A0FE","914BFB00-9B6A-4485-99E0-4F7008CD53D6"],"partTests":{"__isSmartRef__":true,"id":390},"_ClipMode":"visible","moved":true,"#startLetters":"formatAllMorphsInM","isLockOwner":true,"isBeingDragged":false,"prevScroll":[0,0],"connections":{"__isSmartRef__":true,"id":395},"attributeConnections":[{"__isSmartRef__":true,"id":397}],"doNotSerialize":["$$ScriptAdded"],"doNotCopyProperties":["$$ScriptAdded"],"lastTextChunk":null,"isActive":true,"draggingEnabled":false,"grabbingEnabled":false,"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"owner":{"__isSmartRef__":true,"id":0},"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":399},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1096.0,41.0)","distanceToDragEvent":"lively.pt(144.0,-7.0)"},"173":{"submorphs":[],"scripts":[],"id":"B0E3DC08-00D7-4EE8-816E-D591F992E4C0","shape":{"__isSmartRef__":true,"id":174},"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":175},"textChunks":[{"__isSmartRef__":true,"id":191}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":193},"_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","E6BC51D2-B8BC-4C3C-8261-841FD97E03FF","801FF08E-25BF-4A9C-8788-00F4B5026D42","38D955EE-AE4E-4686-81A8-A34DDCC6603D","403CD3A6-A3ED-4673-80C2-10542E030F5E","9FBB5EA7-7D70-493A-824C-61007A5E4BD2"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":172},"isLockOwner":false,"previousSelection":[7,7],"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__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)"},"174":{"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)"},"175":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__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}],"lastModifiedDate":{"__isSmartRef__":true,"id":190},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"176":{"date":{"__isSmartRef__":true,"id":177},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"177":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"178":{"date":{"__isSmartRef__":true,"id":179},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"179":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"180":{"date":{"__isSmartRef__":true,"id":181},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"181":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"182":{"date":{"__isSmartRef__":true,"id":183},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"183":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"184":{"date":{"__isSmartRef__":true,"id":185},"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"},"185":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"186":{"date":{"__isSmartRef__":true,"id":187},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"187":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"188":{"date":{"__isSmartRef__":true,"id":189},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"189":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"190":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"191":{"style":{"__isSmartRef__":true,"id":192},"morph":{"__isSmartRef__":true,"id":173},"chunkOwner":{"__isSmartRef__":true,"id":173},"storedString":"Formatter","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"192":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(146,146,146)"},"193":{"morph":{"__isSmartRef__":true,"id":173},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"194":{"submorphs":[],"scripts":[],"id":"BDA24BBE-F537-480A-8074-711096263CA0","shape":{"__isSmartRef__":true,"id":195},"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":196},"textChunks":[{"__isSmartRef__":true,"id":212}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":214},"_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","1AD3ED74-FE01-426F-BA17-F76E2EE11264","3F3F1A08-EC0D-43A2-9B5A-DC6ACB3D4962","B9039E73-AC98-4890-AA8E-A7588AAA55A8","ED709A8A-A888-45D5-900D-CA2DDD5D15DC","4326AA2F-C5E0-46D7-947B-C924BB091339"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":172},"draggingEnabled":false,"previousSelection":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":215},"__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)"},"195":{"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)"},"196":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":199},{"__isSmartRef__":true,"id":201},{"__isSmartRef__":true,"id":203},{"__isSmartRef__":true,"id":205},{"__isSmartRef__":true,"id":207},{"__isSmartRef__":true,"id":209}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"197":{"date":{"__isSmartRef__":true,"id":198},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"198":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"199":{"date":{"__isSmartRef__":true,"id":200},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"200":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"201":{"date":{"__isSmartRef__":true,"id":202},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"202":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"203":{"date":{"__isSmartRef__":true,"id":204},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"204":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"205":{"date":{"__isSmartRef__":true,"id":206},"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"},"206":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"207":{"date":{"__isSmartRef__":true,"id":208},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"208":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"209":{"date":{"__isSmartRef__":true,"id":210},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"210":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"211":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"212":{"style":{"__isSmartRef__":true,"id":213},"chunkOwner":{"__isSmartRef__":true,"id":194},"_id":"_679","storedString":"Tue Jan 28 2014 22:26:26 GMT+0100 (CET)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"213":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"214":{"morph":{"__isSmartRef__":true,"id":194},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"215":{"onrestore":{"__isSmartRef__":true,"id":216},"updateText":{"__isSmartRef__":true,"id":224},"lastModifiedScriptOfOwner":{"__isSmartRef__":true,"id":228}},"216":{"varMapping":{"__isSmartRef__":true,"id":217},"source":"function onrestore() {\n this.updateText.bind(this).delay(1)\n}","funcProperties":{"__isSmartRef__":true,"id":222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"217":{"this":{"__isSmartRef__":true,"id":194},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":218}},"218":{"$super":{"__isSmartRef__":true,"id":219}},"219":{"varMapping":{"__isSmartRef__":true,"id":220},"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":221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"220":{"obj":{"__isSmartRef__":true,"id":194},"name":"onrestore"},"221":{},"222":{"timestamp":{"__isSmartRef__":true,"id":223},"user":"jenslincke","tags":[]},"223":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"224":{"varMapping":{"__isSmartRef__":true,"id":225},"source":"function updateText() {\n this.textString = this.lastModifiedScriptOfOwner()\n}","funcProperties":{"__isSmartRef__":true,"id":226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"225":{"this":{"__isSmartRef__":true,"id":194}},"226":{"timestamp":{"__isSmartRef__":true,"id":227},"user":"jenslincke","tags":[]},"227":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"228":{"varMapping":{"__isSmartRef__":true,"id":229},"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":230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"229":{"this":{"__isSmartRef__":true,"id":194}},"230":{"timestamp":{"__isSmartRef__":true,"id":231},"user":"jenslincke"},"231":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"232":{"submorphs":[{"__isSmartRef__":true,"id":233}],"scripts":[],"id":"E89964EA-437F-442D-A9CD-B7D07FE39BC5","shape":{"__isSmartRef__":true,"id":238},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":239},"lighterFill":{"__isSmartRef__":true,"id":244},"label":{"__isSmartRef__":true,"id":233},"name":"ToggleButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":249},"attributeConnections":[{"__isSmartRef__":true,"id":257},{"__isSmartRef__":true,"id":258}],"doNotSerialize":["$$fire","$$toggle"],"doNotCopyProperties":["$$fire","$$toggle"],"eventHandler":{"__isSmartRef__":true,"id":260},"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","574C476E-4159-4297-9D08-303935E5FB76","DFC9F78E-2115-41C1-AC28-22F49623E8E0","25B278B5-069F-4376-9E5B-CC571CCDF39A","0EE2C9B7-91E5-4F83-977B-6C3AFF188ADF","7A983BB8-5129-4284-9C7F-605CB6F5DA30"],"_ClipMode":"visible","isPressed":false,"isToggled":false,"connections":{"__isSmartRef__":true,"id":261},"moved":true,"prevScroll":[0,0],"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":172},"_Rotation":0,"_Scale":0.7,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":265},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(158.0,6.0)","distanceToDragEvent":"lively.pt(35.0,-12.0)"},"233":{"submorphs":[],"scripts":[],"id":"5AD0DD3D-2B2C-44E0-8AF9-311E4AD0C5A1","shape":{"__isSmartRef__":true,"id":234},"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":232},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":235}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":237},"_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","772EEB4C-729A-4A8E-BB81-7FB200FE81A8","7653280F-CD83-4BBF-9295-C6C867FC8A5A","A1F0F516-B851-4432-BD14-C8AD6250CCA0","E873A53D-3674-4F9F-9F1F-BE66111138DF","146D6FA1-67E9-4425-B1D6-DB0030692367"],"_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)"},"234":{"_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)"},"235":{"style":{"__isSmartRef__":true,"id":236},"chunkOwner":{"__isSmartRef__":true,"id":233},"_id":"_486","storedString":"enabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"236":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"237":{"morph":{"__isSmartRef__":true,"id":233},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"238":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":239},"_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)"},"239":{"stops":[{"__isSmartRef__":true,"id":240},{"__isSmartRef__":true,"id":241},{"__isSmartRef__":true,"id":242},{"__isSmartRef__":true,"id":243}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"240":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"241":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"242":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"243":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"244":{"stops":[{"__isSmartRef__":true,"id":245},{"__isSmartRef__":true,"id":246},{"__isSmartRef__":true,"id":247},{"__isSmartRef__":true,"id":248}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"245":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"246":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"247":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"248":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"249":{"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":250},{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":254}],"lastModifiedDate":{"__isSmartRef__":true,"id":256},"revisionOnLoad":200633,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"250":{"date":{"__isSmartRef__":true,"id":251},"author":"jenslincke","message":"no comment","id":"497F3947-290E-4A97-A50D-3A5A7A186919"},"251":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"252":{"date":{"__isSmartRef__":true,"id":253},"author":"jenslincke","message":"no comment","id":"02AB5A6F-7748-4A48-8C36-D334F97FC321"},"253":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"254":{"date":{"__isSmartRef__":true,"id":255},"author":"jenslincke","message":"no comment","id":"7471CE07-F2C0-4149-9684-90E843DB8DCE"},"255":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"256":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"257":{"sourceObj":{"__isSmartRef__":true,"id":232},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":232},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"258":{"sourceObj":{"__isSmartRef__":true,"id":232},"sourceAttrName":"toggle","targetObj":{"__isSmartRef__":true,"id":172},"targetMethodName":"isActive","varMapping":{"__isSmartRef__":true,"id":259},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"259":{"source":{"__isSmartRef__":true,"id":232},"target":{"__isSmartRef__":true,"id":172}},"260":{"morph":{"__isSmartRef__":true,"id":232},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"261":{"enable":{"__isSmartRef__":true,"id":262},"disable":{"__isSmartRef__":true,"id":263},"toggle":{"__isSmartRef__":true,"id":264}},"262":{},"263":{},"264":{},"265":{"onFire":{"__isSmartRef__":true,"id":266},"reset":{"__isSmartRef__":true,"id":270}},"266":{"varMapping":{"__isSmartRef__":true,"id":267},"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":268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"267":{"this":{"__isSmartRef__":true,"id":232}},"268":{"timestamp":{"__isSmartRef__":true,"id":269},"user":"jenslincke","tags":[]},"269":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"270":{"varMapping":{"__isSmartRef__":true,"id":271},"source":"function reset() {\n this.connections = {\"enable\": { }, \"disable\": { }, \"toggle\": { }}\n}","funcProperties":{"__isSmartRef__":true,"id":272},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"271":{"this":{"__isSmartRef__":true,"id":232}},"272":{"timestamp":{"__isSmartRef__":true,"id":273},"user":"jenslincke","tags":[]},"273":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"274":{"_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(209.0,42.1)","_BorderColor":"Color.rgb(172,172,172)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"275":{"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":276},{"__isSmartRef__":true,"id":278},{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":282},{"__isSmartRef__":true,"id":284},{"__isSmartRef__":true,"id":286},{"__isSmartRef__":true,"id":288},{"__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},{"__isSmartRef__":true,"id":346},{"__isSmartRef__":true,"id":348},{"__isSmartRef__":true,"id":350},{"__isSmartRef__":true,"id":352},{"__isSmartRef__":true,"id":354},{"__isSmartRef__":true,"id":356},{"__isSmartRef__":true,"id":358},{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":362},{"__isSmartRef__":true,"id":364},{"__isSmartRef__":true,"id":366},{"__isSmartRef__":true,"id":368},{"__isSmartRef__":true,"id":370},{"__isSmartRef__":true,"id":372},{"__isSmartRef__":true,"id":374},{"__isSmartRef__":true,"id":376},{"__isSmartRef__":true,"id":378},{"__isSmartRef__":true,"id":380},{"__isSmartRef__":true,"id":382},{"__isSmartRef__":true,"id":384},{"__isSmartRef__":true,"id":386}],"lastModifiedDate":{"__isSmartRef__":true,"id":388},"revisionOnLoad":204670,"partsSpaceName":"PartsBin/Jens/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"276":{"date":{"__isSmartRef__":true,"id":277},"author":"jenslincke","message":"no comment","id":"B2833A8B-AE64-4DBD-B301-CE1088DF777A"},"277":{"isSerializedDate":true,"string":"Fri Jan 17 2014 17:12:41 GMT+0100 (CET)"},"278":{"date":{"__isSmartRef__":true,"id":279},"author":"jenslincke","message":"no comment","id":"FE4951E1-DBBD-45E1-8C8F-172CE4636B3C"},"279":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"280":{"date":{"__isSmartRef__":true,"id":281},"author":"jenslincke","message":"format citatated text in italics","id":"986705D7-3CD3-41C8-8AFF-36E9FE04A01A"},"281":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"282":{"date":{"__isSmartRef__":true,"id":283},"author":"jenslincke","message":"no comment","id":"911CF15E-6826-410E-AB61-CAE759E411AE"},"283":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"284":{"date":{"__isSmartRef__":true,"id":285},"author":"jenslincke","message":"no comment","id":"C07F91F1-FA58-4FAF-A7E8-DA04EB5D0F94"},"285":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"286":{"date":{"__isSmartRef__":true,"id":287},"author":"jenslincke","message":"no comment","id":"EDCC686C-126C-4523-8DC6-53817DD09673"},"287":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"288":{"date":{"__isSmartRef__":true,"id":289},"author":"jenslincke","message":"create page option, when following a link....","id":"003BCEA5-BE0C-4F90-A0A6-2FE8E3988057"},"289":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"290":{"date":{"__isSmartRef__":true,"id":291},"author":"jenslincke","message":"added creation of links to excerpts","id":"F7938E66-25E5-425F-9EEA-BC95819F3DD7"},"291":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"292":{"date":{"__isSmartRef__":true,"id":293},"author":"jenslincke","message":"no comment","id":"17C8A220-198C-4FC2-8CD2-2FFBFA193E3C"},"293":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"294":{"date":{"__isSmartRef__":true,"id":295},"author":"jenslincke","message":"no comment","id":"3CD68CC9-6FD9-412B-841C-3ECAE1BD12E6"},"295":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"296":{"date":{"__isSmartRef__":true,"id":297},"author":"jenslincke","message":"no comment","id":"FBBB3489-5BB0-4D6B-8C11-92D47A4D6C99"},"297":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"298":{"date":{"__isSmartRef__":true,"id":299},"author":"jenslincke","message":"no comment","id":"F71349C1-A74C-4AEF-B969-B6D3C92E07BE"},"299":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"300":{"date":{"__isSmartRef__":true,"id":301},"author":"jenslincke","message":"no comment","id":"EA270A92-A1A5-4FBA-89BB-D7BA1B6E49AD"},"301":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"302":{"date":{"__isSmartRef__":true,"id":303},"author":"jenslincke","message":"no comment","id":"3120B4F3-B8A2-4F2E-9793-547541BC4094"},"303":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"304":{"date":{"__isSmartRef__":true,"id":305},"author":"jenslincke","message":"layout","id":"34775C1C-7640-4A30-AD86-A5EB6945AA56"},"305":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"306":{"date":{"__isSmartRef__":true,"id":307},"author":"jenslincke","message":"no comment","id":"F9ED2AC4-98DC-4D7C-B9F5-01BED2619E8D"},"307":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"308":{"date":{"__isSmartRef__":true,"id":309},"author":"jenslincke","message":"no comment","id":"85068BB7-69E2-4265-A445-912DC98878A4"},"309":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"310":{"date":{"__isSmartRef__":true,"id":311},"author":"jenslincke","message":"no comment","id":"467FD050-EC26-4BA6-8480-17DB06F89C3D"},"311":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"312":{"date":{"__isSmartRef__":true,"id":313},"author":"jenslincke","message":"no comment","id":"874C31E7-EDDA-4583-8328-023A41910997"},"313":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"314":{"date":{"__isSmartRef__":true,"id":315},"author":"jenslincke","message":"more smoother delays....","id":"7B41794F-6219-42B1-9622-7A74AAB39DE7"},"315":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"316":{"date":{"__isSmartRef__":true,"id":317},"author":"jenslincke","message":"no comment","id":"69E07BCF-C0B2-42AF-883B-C3499482C513"},"317":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"318":{"date":{"__isSmartRef__":true,"id":319},"author":"jenslincke","message":"more hacks","id":"D627A82C-02CE-434C-BDE1-E2995108CDFB"},"319":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"320":{"date":{"__isSmartRef__":true,"id":321},"author":"jenslincke","message":"added fancy preview part and drag it out behavior!","id":"5DA6D4F8-847D-44FD-A1B2-2FE1607753A3"},"321":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"322":{"date":{"__isSmartRef__":true,"id":323},"author":"jenslincke","message":"removed logging","id":"B1ECB66A-62EB-4B40-AD28-4189AF04FAC2"},"323":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"324":{"date":{"__isSmartRef__":true,"id":325},"author":"jenslincke","message":"added ","id":"F15E32CE-83AA-44EB-8648-2930AFE1BD24"},"325":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"326":{"date":{"__isSmartRef__":true,"id":327},"author":"jenslincke","message":"adjust formatting for longer date print string under windows","id":"BCC989FA-3F5F-4958-AA2C-EC41D70E95EC"},"327":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"328":{"date":{"__isSmartRef__":true,"id":329},"author":"jenslincke","message":"no comment","id":"2DF7A585-CA70-4A3F-B651-3D3FAEC83992"},"329":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"330":{"date":{"__isSmartRef__":true,"id":331},"author":"jenslincke","message":"forgot new line","id":"3E39F5D1-9323-47D6-9D4B-A137B69CDEF9"},"331":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"332":{"date":{"__isSmartRef__":true,"id":333},"author":"jenslincke","message":"fixed hyperlink detection once and for all","id":"37234D72-3F50-4193-81EB-065791ADD196"},"333":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"334":{"date":{"__isSmartRef__":true,"id":335},"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"},"335":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"336":{"date":{"__isSmartRef__":true,"id":337},"author":"jenslincke","message":"no comment","id":"E27B69E3-6E70-4599-9E87-2EDA8556BD02"},"337":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"338":{"date":{"__isSmartRef__":true,"id":339},"author":"jenslincke","message":"also create links for https:// ...","id":"563A198B-D7FD-49C6-B3D6-16B1C08B81E7"},"339":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"340":{"date":{"__isSmartRef__":true,"id":341},"author":"jenslincke","message":"fixed regex for hyperlinks","id":"C185A4DE-AC2A-4ECF-A031-1D9A88D6E5E5"},"341":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"342":{"date":{"__isSmartRef__":true,"id":343},"author":"jenslincke","message":"detect links...","id":"B23B1D23-E7B3-4D75-B45C-6DCA8A9B1082"},"343":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"344":{"date":{"__isSmartRef__":true,"id":345},"author":"jenslincke","message":"formatting does not include last newline","id":"3BB94A92-CE2F-4321-8555-9EFD675DD7C3"},"345":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"346":{"date":{"__isSmartRef__":true,"id":347},"author":"jenslincke","message":"some cleanup and removal of alert","id":"A60DACAC-F8A6-4086-BA0D-2C928481BA45"},"347":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"348":{"date":{"__isSmartRef__":true,"id":349},"author":"jenslincke","message":"no comment","id":"C79B033C-F702-4453-87D8-AA4393BC65D6"},"349":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"350":{"date":{"__isSmartRef__":true,"id":351},"author":"jenslincke","message":"no comment","id":"33475713-FEB1-4822-8736-773D8C69C299"},"351":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"352":{"date":{"__isSmartRef__":true,"id":353},"author":"jenslincke","message":"added hypertext recocnition for notes and excerpts","id":"F6C0EE1C-D944-4965-8DF3-38AE6BF9327E"},"353":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"354":{"date":{"__isSmartRef__":true,"id":355},"author":"jenslincke","message":"no comment","id":"676176DD-9D7D-4664-967C-DEAC93654136"},"355":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"356":{"date":{"__isSmartRef__":true,"id":357},"author":"jenslincke","message":"no comment","id":"B4AFCA0A-D381-4521-BA14-FA8B5B86C76A"},"357":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"358":{"date":{"__isSmartRef__":true,"id":359},"author":"jenslincke","message":"no comment","id":"70CE5D81-5B84-4B1D-9159-D13B85BAE00A"},"359":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"360":{"date":{"__isSmartRef__":true,"id":361},"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8"},"361":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"362":{"date":{"__isSmartRef__":true,"id":363},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"363":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"364":{"date":{"__isSmartRef__":true,"id":365},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"365":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"366":{"date":{"__isSmartRef__":true,"id":367},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"367":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"368":{"date":{"__isSmartRef__":true,"id":369},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"369":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"370":{"date":{"__isSmartRef__":true,"id":371},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"371":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"372":{"date":{"__isSmartRef__":true,"id":373},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"373":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"374":{"date":{"__isSmartRef__":true,"id":375},"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8"},"375":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"376":{"date":{"__isSmartRef__":true,"id":377},"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205"},"377":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"378":{"date":{"__isSmartRef__":true,"id":379},"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2"},"379":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"380":{"date":{"__isSmartRef__":true,"id":381},"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20"},"381":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"382":{"date":{"__isSmartRef__":true,"id":383},"author":"jenslincke","message":"added links to modules such as:\n \n module(\"lively.experimental.MorphAccessor\")\n","id":"3FB1C502-E4FA-4058-9190-8BC27D5F92E1"},"383":{"isSerializedDate":true,"string":"Mon Jan 27 2014 14:49:52 GMT+0100 (CET)"},"384":{"date":{"__isSmartRef__":true,"id":385},"author":"jenslincke","message":"no comment","id":"9EC96A0F-CF43-4AB2-A6BB-E8D15050282A"},"385":{"isSerializedDate":true,"string":"Tue Jan 28 2014 22:14:30 GMT+0100 (CET)"},"386":{"date":{"__isSmartRef__":true,"id":387},"author":"jenslincke","message":"no comment","id":"D3F2CCA3-EFB1-4ED8-A629-1DB74CB32DB7"},"387":{"isSerializedDate":true,"string":"Tue Jan 28 2014 22:26:53 GMT+0100 (CET)"},"388":{"isSerializedDate":true,"string":"Tue Jan 28 2014 22:25:49 GMT+0100 (CET)"},"389":{"morph":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"390":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":391}},"391":{"test01IsMorph":{"__isSmartRef__":true,"id":392}},"392":{"varMapping":{"__isSmartRef__":true,"id":393},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":394},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"393":{"this":{"__isSmartRef__":true,"id":390}},"394":{},"395":{"ScriptAdded":{"__isSmartRef__":true,"id":396}},"396":{},"397":{"sourceObj":{"__isSmartRef__":true,"id":172},"sourceAttrName":"ScriptAdded","targetObj":{"__isSmartRef__":true,"id":194},"targetMethodName":"updateText","varMapping":{"__isSmartRef__":true,"id":398},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"398":{"source":{"__isSmartRef__":true,"id":172},"target":{"__isSmartRef__":true,"id":194}},"399":{"onrestore":{"__isSmartRef__":true,"id":400},"formatAllMorphsInMainColumn":{"__isSmartRef__":true,"id":408},"formatTextMorph":{"__isSmartRef__":true,"id":412},"addScript":{"__isSmartRef__":true,"id":416},"emphasizeRegexFunc":{"__isSmartRef__":true,"id":424},"reset":{"__isSmartRef__":true,"id":428},"hidePart":{"__isSmartRef__":true,"id":432},"showPart":{"__isSmartRef__":true,"id":436},"followCitation":{"__isSmartRef__":true,"id":440},"followURL":{"__isSmartRef__":true,"id":444},"formatLinks":{"__isSmartRef__":true,"id":448},"browseModule":{"__isSmartRef__":true,"id":452}},"400":{"varMapping":{"__isSmartRef__":true,"id":401},"source":"function onrestore() {\n this.formatAllMorphsInMainColumn.bind(this).delay(1)\n}","funcProperties":{"__isSmartRef__":true,"id":406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"401":{"this":{"__isSmartRef__":true,"id":172},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":402}},"402":{"$super":{"__isSmartRef__":true,"id":403}},"403":{"varMapping":{"__isSmartRef__":true,"id":404},"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":405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"404":{"obj":{"__isSmartRef__":true,"id":172},"name":"onrestore"},"405":{},"406":{"timestamp":{"__isSmartRef__":true,"id":407},"user":"jenslincke","tags":[]},"407":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"408":{"varMapping":{"__isSmartRef__":true,"id":409},"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":410},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"409":{"this":{"__isSmartRef__":true,"id":172}},"410":{"timestamp":{"__isSmartRef__":true,"id":411},"user":"jenslincke","tags":[]},"411":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"412":{"varMapping":{"__isSmartRef__":true,"id":413},"source":"function formatTextMorph(morph) {\n\n if (!this.isActive) return\n\n morph.emphasizeAll({color: Color.darkGray, fontSize: 12, uri: undefined, italics: 'normal'})\n morph.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformat) {\n ea.styleText({doit: ''})\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.emphasizeRegexFunc(morph, /(\"[^\"]*\")/g, {color: CrayonColors.tin, italics: 'italic'})\n\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":414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"413":{"this":{"__isSmartRef__":true,"id":172}},"414":{"timestamp":{"__isSmartRef__":true,"id":415},"user":"jenslincke","tags":[]},"415":{"isSerializedDate":true,"string":"Fri Jan 17 2014 17:12:30 GMT+0100 (CET)"},"416":{"varMapping":{"__isSmartRef__":true,"id":417},"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":422},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"417":{"this":{"__isSmartRef__":true,"id":172},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":418}},"418":{"$super":{"__isSmartRef__":true,"id":419}},"419":{"varMapping":{"__isSmartRef__":true,"id":420},"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":421},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"420":{"obj":{"__isSmartRef__":true,"id":172},"name":"addScript"},"421":{},"422":{"timestamp":{"__isSmartRef__":true,"id":423},"user":"jenslincke","tags":[]},"423":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"424":{"varMapping":{"__isSmartRef__":true,"id":425},"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":426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"425":{"this":{"__isSmartRef__":true,"id":172}},"426":{"timestamp":{"__isSmartRef__":true,"id":427},"user":"jenslincke","tags":[]},"427":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"428":{"varMapping":{"__isSmartRef__":true,"id":429},"source":"function reset() {\n this.connections = {ScriptAdded: {}}\n}","funcProperties":{"__isSmartRef__":true,"id":430},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"429":{"this":{"__isSmartRef__":true,"id":172}},"430":{"timestamp":{"__isSmartRef__":true,"id":431},"user":"jenslincke","tags":[]},"431":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"432":{"varMapping":{"__isSmartRef__":true,"id":433},"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":434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"433":{"this":{"__isSmartRef__":true,"id":172}},"434":{"timestamp":{"__isSmartRef__":true,"id":435},"user":"jenslincke","tags":[]},"435":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"436":{"varMapping":{"__isSmartRef__":true,"id":437},"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":438},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"437":{"this":{"__isSmartRef__":true,"id":172}},"438":{"timestamp":{"__isSmartRef__":true,"id":439},"user":"jenslincke","tags":[]},"439":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"440":{"varMapping":{"__isSmartRef__":true,"id":441},"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":442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"441":{"this":{"__isSmartRef__":true,"id":172}},"442":{"timestamp":{"__isSmartRef__":true,"id":443},"user":"jenslincke","tags":[]},"443":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"444":{"varMapping":{"__isSmartRef__":true,"id":445},"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":446},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"445":{"this":{"__isSmartRef__":true,"id":172}},"446":{"timestamp":{"__isSmartRef__":true,"id":447},"user":"jenslincke","tags":[]},"447":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"448":{"varMapping":{"__isSmartRef__":true,"id":449},"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 // format Module references\n var addModuleLink = function(m) {\n return { doit: {\n isAutoformat: true,\n code: 'this.browseModule(\"'+ m[1]+'\")',\n context: this}}\n }.bind(this)\n this.emphasizeRegexFunc(morph, /module\\(\"([^\"]+)\"\\)/g , addModuleLink,[8,-2]);\n this.emphasizeRegexFunc(morph, /module\\('([^']+)'\\)/g , addModuleLink,[8,-2]);\n\n\n\n // format Module references\n this.emphasizeRegexFunc(morph, /module\\(\"([^\"]+)\"\\)/g , function(m) {\n return { doit: {\n isAutoformat: true,\n code: 'this.browseModule(\"'+ m[1]+'\")',\n context: this}}\n }.bind(this),[8,-2]);\n\n\n // format hyperlinks\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":450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"449":{"this":{"__isSmartRef__":true,"id":172}},"450":{"timestamp":{"__isSmartRef__":true,"id":451},"user":"jenslincke","tags":[]},"451":{"isSerializedDate":true,"string":"Tue Jan 28 2014 22:26:26 GMT+0100 (CET)"},"452":{"varMapping":{"__isSmartRef__":true,"id":453},"source":"function browseModule(str) {\n // this.browseModule(\"lively.experimental.MorphAccessor\")\n var url = new URL(module(str).uri())\n var moduleNode = lively.ide.startSourceControl().addModule(url.relativePathFrom(URL.codeBase))\n moduleNode.ast().browseIt()\n}","funcProperties":{"__isSmartRef__":true,"id":454},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"453":{"this":{"__isSmartRef__":true,"id":172}},"454":{"timestamp":{"__isSmartRef__":true,"id":455},"user":"jenslincke","tags":[]},"455":{"isSerializedDate":true,"string":"Mon Jan 27 2014 14:42:59 GMT+0100 (CET)"},"456":{"_id":"_784","style":{"__isSmartRef__":true,"id":457},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"] or to work around the problems in various ways. The main approach was to use delegation and move the behavior to a shared instance (e.g. FormattedTexts + Formatter).\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"457":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"458":{"_id":"_685","style":{"__isSmartRef__":true,"id":459},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"# Using ContextJS for Scripting Friendliness","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"459":{"fontSize":20,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"460":{"_id":"_686","style":{"__isSmartRef__":true,"id":461},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n\nWe can use COP to add and change behavior of the base system for a better scripting experience.\nThis ranges from adding convenience methods such as adding ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"461":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"462":{"_id":"_759","style":{"__isSmartRef__":true,"id":463},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"width\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"463":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"464":{"_id":"_760","style":{"__isSmartRef__":true,"id":465},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":", and ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"465":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"466":{"_id":"_761","style":{"__isSmartRef__":true,"id":467},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"height\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"467":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"468":{"_id":"_762","style":{"__isSmartRef__":true,"id":469},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" property accessors where the pure API only provides ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"469":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"470":{"_id":"_763","style":{"__isSmartRef__":true,"id":471},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"setExtent\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"471":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"472":{"_id":"_764","style":{"__isSmartRef__":true,"id":473},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" and ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"473":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"474":{"_id":"_765","style":{"__isSmartRef__":true,"id":475},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"getExtent\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"475":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"476":{"_id":"_766","style":{"__isSmartRef__":true,"id":477},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" accessor methods (see [","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"477":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"478":{"_id":"_785","style":{"__isSmartRef__":true,"id":479},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"documentation/livedoc/WidthAndHeight","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"479":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"uri":{"__isSmartRef__":true,"id":480},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"480":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/!svn/bc/206797/documentation/livedoc/WidthAndHeight.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"481":{"_id":"_786","style":{"__isSmartRef__":true,"id":482},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"]).\nSuch additional API can be enabled in a scripting context, where it can prove itself to be useful and used may be became part of the core system. The addition of convenience accessors can lead to conflicts (for example when application code used theses properties themselves), but it does not change the core behavior per se. \n\nSometimes an application (such as the EnergySimulation) needs to change the behavior of some core functionality for a better scripting experience. The name lookup behavior is such a case. When scripting morphs in Lively Kernel, we use a late bound name lookup to reference other morphs and call\n\nthis.get(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"482":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"483":{"_id":"_767","style":{"__isSmartRef__":true,"id":484},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"foo\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"484":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"485":{"_id":"_768","style":{"__isSmartRef__":true,"id":486},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":")\n\nTBC\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"486":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"487":{"_id":"_687","style":{"__isSmartRef__":true,"id":488},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"# Enhanced Scripting Environment","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"488":{"fontSize":20,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"489":{"_id":"_688","style":{"__isSmartRef__":true,"id":490},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"490":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"491":{"_id":"_715","style":{"__isSmartRef__":true,"id":492},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"492":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"493":{"_id":"_716","style":{"__isSmartRef__":true,"id":494},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" automatically add hyperlinks to text that shows the morphs ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"494":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"495":{"_id":"_729","style":{"__isSmartRef__":true,"id":496},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-28 19:40)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"496":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"497":{"_id":"_730","style":{"__isSmartRef__":true,"id":498},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"498":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"499":{"_id":"_695","style":{"__isSmartRef__":true,"id":500},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"500":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"501":{"_id":"_696","style":{"__isSmartRef__":true,"id":502},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" TODO: not only show, but scroll to the morph\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"502":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"503":{"_id":"_717","style":{"__isSmartRef__":true,"id":504},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"504":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"505":{"_id":"_718","style":{"__isSmartRef__":true,"id":506},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" show all references to the morph ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"506":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"507":{"_id":"_731","style":{"__isSmartRef__":true,"id":508},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-28 19:40)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"508":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"509":{"_id":"_732","style":{"__isSmartRef__":true,"id":510},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"510":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"511":{"_id":"_697","style":{"__isSmartRef__":true,"id":512},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"512":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"513":{"_id":"_698","style":{"__isSmartRef__":true,"id":514},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" TODO: show what references are not on the display\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"514":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"515":{"_id":"_719","style":{"__isSmartRef__":true,"id":516},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"516":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"517":{"_id":"_720","style":{"__isSmartRef__":true,"id":518},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" highlight special variables such as ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"518":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"519":{"_id":"_769","style":{"__isSmartRef__":true,"id":520},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"dt\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"520":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"521":{"_id":"_770","style":{"__isSmartRef__":true,"id":522},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" and hide bad syntax artifacts such as ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"522":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"523":{"_id":"_771","style":{"__isSmartRef__":true,"id":524},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\".$.\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"524":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"525":{"_id":"_772","style":{"__isSmartRef__":true,"id":526},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" by graying them out ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"526":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"527":{"_id":"_733","style":{"__isSmartRef__":true,"id":528},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-28 19:40)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"528":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"529":{"_id":"_734","style":{"__isSmartRef__":true,"id":530},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"530":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"531":{"_id":"_721","style":{"__isSmartRef__":true,"id":532},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"532":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"533":{"_id":"_722","style":{"__isSmartRef__":true,"id":534},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" show errors locally ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"534":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"535":{"_id":"_735","style":{"__isSmartRef__":true,"id":536},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-28 19:41)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"536":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"537":{"_id":"_736","style":{"__isSmartRef__":true,"id":538},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"538":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"539":{"_id":"_699","style":{"__isSmartRef__":true,"id":540},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"540":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"541":{"_id":"_700","style":{"__isSmartRef__":true,"id":542},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" TODO: show them globally when not on screen\n \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"542":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"543":{"_id":"_723","style":{"__isSmartRef__":true,"id":544},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"544":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"545":{"_id":"_724","style":{"__isSmartRef__":true,"id":546},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" Just because we can! Tab-and-List Autocompletion rulez! ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"546":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"547":{"_id":"_737","style":{"__isSmartRef__":true,"id":548},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-29 00:08)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"548":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"549":{"_id":"_738","style":{"__isSmartRef__":true,"id":550},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n - allow morphs to customize their auto-completion by not using a global object, but by return a custom AutoCompletion instance from module(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"550":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"551":{"_id":"_773","style":{"__isSmartRef__":true,"id":552},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"552":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"553":{"_id":"_787","style":{"__isSmartRef__":true,"id":554},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"lively.experimental.Autocompletion","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"554":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"doit":{"__isSmartRef__":true,"id":555},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"555":{"isAutoformat":true,"code":"this.browseModule(\"lively.experimental.Autocompletion\")","context":{"__isSmartRef__":true,"id":172}},"556":{"_id":"_788","style":{"__isSmartRef__":true,"id":557},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"557":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"558":{"_id":"_774","style":{"__isSmartRef__":true,"id":559},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":").\n \n \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"559":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"560":{"_id":"_689","style":{"__isSmartRef__":true,"id":561},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"# Changes","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"561":{"fontSize":20,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"562":{"_id":"_690","style":{"__isSmartRef__":true,"id":563},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"563":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"564":{"_id":"_725","style":{"__isSmartRef__":true,"id":565},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"565":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"566":{"_id":"_726","style":{"__isSmartRef__":true,"id":567},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" show both highlights at once..... ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"567":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"568":{"_id":"_739","style":{"__isSmartRef__":true,"id":569},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-30 11:14)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"569":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"570":{"_id":"_740","style":{"__isSmartRef__":true,"id":571},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"571":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"572":{"_id":"_727","style":{"__isSmartRef__":true,"id":573},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ✔","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"573":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,102,0)"},"574":{"_id":"_728","style":{"__isSmartRef__":true,"id":575},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" make video for Carsten ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"575":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"576":{"_id":"_741","style":{"__isSmartRef__":true,"id":577},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"@done (14-01-30 11:14)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"577":{"fontSize":8,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"578":{"_id":"_742","style":{"__isSmartRef__":true,"id":579},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"579":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"580":{"_id":"_691","style":{"__isSmartRef__":true,"id":581},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"# Future Work","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"581":{"fontSize":20,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"582":{"_id":"_692","style":{"__isSmartRef__":true,"id":583},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"583":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"584":{"_id":"_701","style":{"__isSmartRef__":true,"id":585},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"585":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"586":{"_id":"_702","style":{"__isSmartRef__":true,"id":587},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" add fancy little images to represent a gas tank to make it more shiny ;-) \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"587":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"588":{"_id":"_703","style":{"__isSmartRef__":true,"id":589},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"589":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"590":{"_id":"_704","style":{"__isSmartRef__":true,"id":591},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" similar to Hands (and Dashboard Widgets):\n - SimulationParts\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"591":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"592":{"_id":"_705","style":{"__isSmartRef__":true,"id":593},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"593":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"594":{"_id":"_706","style":{"__isSmartRef__":true,"id":595},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" display the implicit dependencies between the individual simulation parts, e.g. show graphically that the Heating system both accesses HeatStorage and Fuel.\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"595":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"596":{"_id":"_707","style":{"__isSmartRef__":true,"id":597},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"597":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"598":{"_id":"_708","style":{"__isSmartRef__":true,"id":599},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" continue with to replace the JavaScript source code of the simulation with an more appropriate DSL...\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"599":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"600":{"_id":"_709","style":{"__isSmartRef__":true,"id":601},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"601":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"602":{"_id":"_710","style":{"__isSmartRef__":true,"id":603},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" get rid of ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"603":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"604":{"_id":"_775","style":{"__isSmartRef__":true,"id":605},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\"$.\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"605":{"fontSize":12,"italics":"italic","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(145,145,145)"},"606":{"_id":"_776","style":{"__isSmartRef__":true,"id":607},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"607":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"608":{"_id":"_711","style":{"__isSmartRef__":true,"id":609},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" ☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"609":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"610":{"_id":"_712","style":{"__isSmartRef__":true,"id":611},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" use coffee script to get rid of the curly braces?\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"611":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"612":{"_id":"_713","style":{"__isSmartRef__":true,"id":613},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":"☐","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"613":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"614":{"_id":"_714","style":{"__isSmartRef__":true,"id":615},"chunkOwner":{"__isSmartRef__":true,"id":105},"storedString":" use Babelsberg constrains to instead of imperative checks for the state of other objects, e.g. the heating system should not check if there is not enough fuel to burn, but fail if it tries to do so. Without the guard the we could consume negative energy... ;-)\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"615":{"fontSize":12,"italics":"normal","__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"616":{"morph":{"__isSmartRef__":true,"id":105},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"617":{"submorphs":[],"scripts":[],"id":"0ABC6C08-95DC-4245-8CFC-E599FD742FFA","shape":{"__isSmartRef__":true,"id":618},"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":619},"textChunks":[{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":632}],"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":634},"_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":635},"__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)"},"618":{"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)"},"619":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":620},{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":626},{"__isSmartRef__":true,"id":628}],"revisionOnLoad":160159,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"620":{"date":{"__isSmartRef__":true,"id":621},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"621":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"622":{"date":{"__isSmartRef__":true,"id":623},"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"},"623":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"624":{"date":{"__isSmartRef__":true,"id":625},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"625":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"626":{"date":{"__isSmartRef__":true,"id":627},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"627":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"628":{"date":{"__isSmartRef__":true,"id":629},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"629":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"630":{"style":{"__isSmartRef__":true,"id":631},"chunkOwner":{"__isSmartRef__":true,"id":617},"_id":"_27961","storedString":"11:33\n12:58\nOutline\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"631":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"632":{"_id":"_27963","style":{"__isSmartRef__":true,"id":633},"chunkOwner":{"__isSmartRef__":true,"id":617},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"633":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(102,102,102)"},"634":{"morph":{"__isSmartRef__":true,"id":617},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"635":{"doSave":{"__isSmartRef__":true,"id":636}},"636":{"varMapping":{"__isSmartRef__":true,"id":637},"source":"function doSave() {\n $world.saveWorld()\n}","funcProperties":{"__isSmartRef__":true,"id":642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"637":{"this":{"__isSmartRef__":true,"id":617},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":638}},"638":{"$super":{"__isSmartRef__":true,"id":639}},"639":{"varMapping":{"__isSmartRef__":true,"id":640},"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":641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"640":{"obj":{"__isSmartRef__":true,"id":617},"name":"doSave"},"641":{},"642":{"timestamp":{"__isSmartRef__":true,"id":643},"user":"jenslincke","tags":[]},"643":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"644":{"doSave":{"__isSmartRef__":true,"id":645},"format":{"__isSmartRef__":true,"id":653},"onKeyUp":{"__isSmartRef__":true,"id":657},"delayedFormat":{"__isSmartRef__":true,"id":665}},"645":{"varMapping":{"__isSmartRef__":true,"id":646},"source":"function doSave() {\n $world.saveWorld()\n}","funcProperties":{"__isSmartRef__":true,"id":651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"646":{"this":{"__isSmartRef__":true,"id":105},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":647}},"647":{"$super":{"__isSmartRef__":true,"id":648}},"648":{"varMapping":{"__isSmartRef__":true,"id":649},"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":650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"649":{"obj":{"__isSmartRef__":true,"id":105},"name":"doSave"},"650":{},"651":{"timestamp":{"__isSmartRef__":true,"id":652},"user":"jenslincke","tags":[]},"652":{"isSerializedDate":true,"string":"Thu Jan 01 1970 01:00:00 GMT+0100 (CET)"},"653":{"varMapping":{"__isSmartRef__":true,"id":654},"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":655},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"654":{"this":{"__isSmartRef__":true,"id":105}},"655":{"timestamp":{"__isSmartRef__":true,"id":656},"user":"jenslincke","tags":[]},"656":{"isSerializedDate":true,"string":"Sat Mar 16 2013 16:10:58 GMT+0100 (CET)"},"657":{"varMapping":{"__isSmartRef__":true,"id":658},"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":663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"658":{"this":{"__isSmartRef__":true,"id":105},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":659}},"659":{"$super":{"__isSmartRef__":true,"id":660}},"660":{"varMapping":{"__isSmartRef__":true,"id":661},"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":662},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"661":{"obj":{"__isSmartRef__":true,"id":105},"name":"onKeyUp"},"662":{},"663":{"timestamp":{"__isSmartRef__":true,"id":664},"user":"jenslincke","tags":[]},"664":{"isSerializedDate":true,"string":"Fri May 24 2013 11:20:40 GMT+0200 (CEST)"},"665":{"varMapping":{"__isSmartRef__":true,"id":666},"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":667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"666":{"this":{"__isSmartRef__":true,"id":105}},"667":{"timestamp":{"__isSmartRef__":true,"id":668},"user":"jenslincke","tags":[]},"668":{"isSerializedDate":true,"string":"Fri May 24 2013 11:19:44 GMT+0200 (CEST)"},"669":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":670},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":671}],"eventHandler":{"__isSmartRef__":true,"id":673},"_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":674},"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(900.0,250.0)","distanceToDragEvent":"lively.pt(475.0,-17.2)"},"670":{"_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(706.6,175.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(243,243,243)"},"671":{"style":{"__isSmartRef__":true,"id":672},"chunkOwner":{"__isSmartRef__":true,"id":669},"_id":"_11150","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"672":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"673":{"morph":{"__isSmartRef__":true,"id":669},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"674":{"resizeWidth":true,"resizeHeight":true},"675":{"submorphs":[{"__isSmartRef__":true,"id":676},{"__isSmartRef__":true,"id":710},{"__isSmartRef__":true,"id":871},{"__isSmartRef__":true,"id":892},{"__isSmartRef__":true,"id":1053},{"__isSmartRef__":true,"id":5791},{"__isSmartRef__":true,"id":5809}],"scripts":[],"id":"DEF77197-682C-45E2-BA5D-B8C900134F7C","shape":{"__isSmartRef__":true,"id":5814},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"PartMigrator","partsBinMetaInfo":{"__isSmartRef__":true,"id":5815},"eventHandler":{"__isSmartRef__":true,"id":5855},"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":5856},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"prevScroll":[0,0],"#startLetters":"getMorph","target":{"__isSmartRef__":true,"id":1516},"_Rotation":0,"_Scale":1,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5861},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1621.6,249.7)","distanceToDragEvent":"lively.pt(151.6,-12.2)"},"676":{"submorphs":[{"__isSmartRef__":true,"id":677}],"scripts":[],"shape":{"__isSmartRef__":true,"id":682},"eventHandler":{"__isSmartRef__":true,"id":683},"_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":677},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":684},{"__isSmartRef__":true,"id":686}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button2","partsBinMetaInfo":{"__isSmartRef__":true,"id":688},"pinSpecs":[{"__isSmartRef__":true,"id":704}],"owner":{"__isSmartRef__":true,"id":675},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":705},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(12.4,8.4)","distanceToDragEvent":"lively.pt(72.9,-12.8)"},"677":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":678},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":679}],"eventHandler":{"__isSmartRef__":true,"id":681},"_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":676},"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)"},"678":{"_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)"},"679":{"style":{"__isSmartRef__":true,"id":680},"chunkOwner":{"__isSmartRef__":true,"id":677},"_id":"_126235","storedString":"migrate parts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"680":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"681":{"morph":{"__isSmartRef__":true,"id":677},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"682":{"_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)"},"683":{"morph":{"__isSmartRef__":true,"id":676},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"684":{"sourceObj":{"__isSmartRef__":true,"id":676},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":676},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":685},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"685":{"source":{"__isSmartRef__":true,"id":676},"target":{"__isSmartRef__":true,"id":676}},"686":{"sourceObj":{"__isSmartRef__":true,"id":676},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":675},"targetMethodName":"migrateParts","varMapping":{"__isSmartRef__":true,"id":687},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"687":{"source":{"__isSmartRef__":true,"id":676},"target":{"__isSmartRef__":true,"id":675}},"688":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__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}],"migrationLevel":7,"lastModifiedDate":{"__isSmartRef__":true,"id":703},"revisionOnLoad":203770,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"689":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","date":{"__isSmartRef__":true,"id":690}},"690":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"691":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","date":{"__isSmartRef__":true,"id":692}},"692":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"693":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","date":{"__isSmartRef__":true,"id":694}},"694":{"isSerializedDate":true,"string":"Wed May 01 2013 05:34:25 GMT+0200 (CEST)"},"695":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","date":{"__isSmartRef__":true,"id":696}},"696":{"isSerializedDate":true,"string":"Wed May 01 2013 05:35:59 GMT+0200 (CEST)"},"697":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","date":{"__isSmartRef__":true,"id":698}},"698":{"isSerializedDate":true,"string":"Wed May 01 2013 05:36:30 GMT+0200 (CEST)"},"699":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","date":{"__isSmartRef__":true,"id":700}},"700":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:22:38 GMT+0200 (CEST)"},"701":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","date":{"__isSmartRef__":true,"id":702}},"702":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:24:50 GMT+0200 (CEST)"},"703":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"704":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"705":{"doAction":{"__isSmartRef__":true,"id":706}},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":708},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"707":{"this":{"__isSmartRef__":true,"id":676}},"708":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":709}},"709":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"710":{"submorphs":[{"__isSmartRef__":true,"id":711},{"__isSmartRef__":true,"id":718}],"scripts":[],"id":"7CD5F8AD-655F-49C5-B224-BC6E440F121E","shape":{"__isSmartRef__":true,"id":721},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":727},"lighterFill":{"__isSmartRef__":true,"id":732},"label":{"__isSmartRef__":true,"id":711},"name":"MagnifierButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":737},"attributeConnections":[{"__isSmartRef__":true,"id":743}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":744},"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":745},"isPressed":false,"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":821},"moved":true,"owner":{"__isSmartRef__":true,"id":675},"_Rotation":0,"_Scale":0.9920279440699439,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":822},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(178.7,33.4)","distanceToDragEvent":"lively.pt(51.4,-11.9)"},"711":{"submorphs":[],"scripts":[],"id":"40D42808-692A-42BC-9FE3-CD7C316DCF62","shape":{"__isSmartRef__":true,"id":712},"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":710},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":713},{"__isSmartRef__":true,"id":715}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":717},"_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)"},"712":{"_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)"},"713":{"style":{"__isSmartRef__":true,"id":714},"chunkOwner":{"__isSmartRef__":true,"id":711},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"714":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"715":{"style":{"__isSmartRef__":true,"id":716},"chunkOwner":{"__isSmartRef__":true,"id":711},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"716":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"717":{"morph":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"718":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":719},"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":720},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":710},"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)"},"719":{"_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)"},"720":{"morph":{"__isSmartRef__":true,"id":718},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"721":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":722},"_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)"},"722":{"stops":[{"__isSmartRef__":true,"id":723},{"__isSmartRef__":true,"id":724},{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":726}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"723":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"724":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"725":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"726":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"727":{"stops":[{"__isSmartRef__":true,"id":728},{"__isSmartRef__":true,"id":729},{"__isSmartRef__":true,"id":730},{"__isSmartRef__":true,"id":731}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"728":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"729":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"730":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"731":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"732":{"stops":[{"__isSmartRef__":true,"id":733},{"__isSmartRef__":true,"id":734},{"__isSmartRef__":true,"id":735},{"__isSmartRef__":true,"id":736}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"733":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"734":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"735":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"736":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"737":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":4,"partName":"MagnifierButton","comment":"A magnifier, which calls setTarget: on the owner","changes":[{"__isSmartRef__":true,"id":738},{"__isSmartRef__":true,"id":740}],"revisionOnLoad":203770,"lastModifiedDate":{"__isSmartRef__":true,"id":742},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"738":{"date":{"__isSmartRef__":true,"id":739},"author":"jenslincke","message":"no comment","id":"F343C38F-1923-4DD3-BF9B-4A4B6A7111D6"},"739":{"isSerializedDate":true,"string":"Fri Feb 01 2013 15:51:27 GMT+0100 (CET)"},"740":{"date":{"__isSmartRef__":true,"id":741},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"741":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"742":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"743":{"sourceObj":{"__isSmartRef__":true,"id":710},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":710},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"744":{"morph":{"__isSmartRef__":true,"id":710},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"745":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":746},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":747},"eventHandler":{"__isSmartRef__":true,"id":788},"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":789},"_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":710},"attributeConnections":[{"__isSmartRef__":true,"id":794},{"__isSmartRef__":true,"id":796},{"__isSmartRef__":true,"id":798}],"isToolMorph":true,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":800},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(900.8,445.9)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"746":{"_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(1831.4,1913.5)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"747":{"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":748},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":752},{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":756},{"__isSmartRef__":true,"id":758},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":764},{"__isSmartRef__":true,"id":766},{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":770},{"__isSmartRef__":true,"id":772},{"__isSmartRef__":true,"id":774},{"__isSmartRef__":true,"id":776},{"__isSmartRef__":true,"id":778},{"__isSmartRef__":true,"id":780},{"__isSmartRef__":true,"id":782},{"__isSmartRef__":true,"id":784},{"__isSmartRef__":true,"id":786}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"748":{"date":{"__isSmartRef__":true,"id":749},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"749":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"750":{"date":{"__isSmartRef__":true,"id":751},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"751":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"752":{"date":{"__isSmartRef__":true,"id":753},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"753":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"754":{"date":{"__isSmartRef__":true,"id":755},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"755":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"756":{"date":{"__isSmartRef__":true,"id":757},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"757":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"758":{"date":{"__isSmartRef__":true,"id":759},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"759":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"760":{"date":{"__isSmartRef__":true,"id":761},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"761":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"762":{"date":{"__isSmartRef__":true,"id":763},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"763":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"764":{"date":{"__isSmartRef__":true,"id":765},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"765":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"766":{"date":{"__isSmartRef__":true,"id":767},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"767":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"768":{"date":{"__isSmartRef__":true,"id":769},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"769":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"770":{"date":{"__isSmartRef__":true,"id":771},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"771":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"772":{"date":{"__isSmartRef__":true,"id":773},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"773":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"774":{"date":{"__isSmartRef__":true,"id":775},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"775":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"776":{"date":{"__isSmartRef__":true,"id":777},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"777":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"778":{"date":{"__isSmartRef__":true,"id":779},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"779":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"780":{"date":{"__isSmartRef__":true,"id":781},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"781":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"782":{"date":{"__isSmartRef__":true,"id":783},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"783":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"784":{"date":{"__isSmartRef__":true,"id":785},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"785":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"786":{"date":{"__isSmartRef__":true,"id":787},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"787":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"788":{"morph":{"__isSmartRef__":true,"id":745},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"789":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":790}},"790":{"test01IsMorph":{"__isSmartRef__":true,"id":791}},"791":{"varMapping":{"__isSmartRef__":true,"id":792},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":793},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"792":{"this":{"__isSmartRef__":true,"id":789}},"793":{},"794":{"sourceObj":{"__isSmartRef__":true,"id":745},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":745},"targetMethodName":"updateOnMove","varMapping":{"__isSmartRef__":true,"id":795},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"795":{"source":{"__isSmartRef__":true,"id":745},"target":{"__isSmartRef__":true,"id":745}},"796":{"sourceObj":{"__isSmartRef__":true,"id":745},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":710},"targetMethodName":"removeHighlighting","varMapping":{"__isSmartRef__":true,"id":797},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"797":{"source":{"__isSmartRef__":true,"id":745},"target":{"__isSmartRef__":true,"id":710}},"798":{"sourceObj":{"__isSmartRef__":true,"id":745},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":710},"targetMethodName":"setTarget","varMapping":{"__isSmartRef__":true,"id":799},"converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"799":{"source":{"__isSmartRef__":true,"id":745},"target":{"__isSmartRef__":true,"id":710}},"800":{"update":{"__isSmartRef__":true,"id":801},"updateOnMove":{"__isSmartRef__":true,"id":805},"bringToFront":{"__isSmartRef__":true,"id":809},"morphUnderCursor":{"__isSmartRef__":true,"id":817}},"801":{"varMapping":{"__isSmartRef__":true,"id":802},"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":803},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"802":{"this":{"__isSmartRef__":true,"id":745}},"803":{"timestamp":{"__isSmartRef__":true,"id":804},"user":"lauritz","tags":[]},"804":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"805":{"varMapping":{"__isSmartRef__":true,"id":806},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":807},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"806":{"this":{"__isSmartRef__":true,"id":745}},"807":{"timestamp":{"__isSmartRef__":true,"id":808},"user":"lauritz","tags":[]},"808":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"809":{"varMapping":{"__isSmartRef__":true,"id":810},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":815},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"810":{"this":{"__isSmartRef__":true,"id":745},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":811}},"811":{"$super":{"__isSmartRef__":true,"id":812}},"812":{"varMapping":{"__isSmartRef__":true,"id":813},"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":814},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"813":{"obj":{"__isSmartRef__":true,"id":745},"name":"bringToFront"},"814":{},"815":{"timestamp":{"__isSmartRef__":true,"id":816},"user":"lauritz","tags":[]},"816":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"817":{"varMapping":{"__isSmartRef__":true,"id":818},"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":819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"818":{"this":{"__isSmartRef__":true,"id":745}},"819":{"timestamp":{"__isSmartRef__":true,"id":820},"user":"lauritz","tags":[]},"820":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"821":{"moveHorizontal":true},"822":{"onFire":{"__isSmartRef__":true,"id":823},"removeHighlighting":{"__isSmartRef__":true,"id":827},"onMouseMove":{"__isSmartRef__":true,"id":831},"onMouseOut":{"__isSmartRef__":true,"id":839},"reset":{"__isSmartRef__":true,"id":847},"isTracking":{"__isSmartRef__":true,"id":851},"isHighlighting":{"__isSmartRef__":true,"id":855},"currentTarget":{"__isSmartRef__":true,"id":859},"setupHighlightRectangle":{"__isSmartRef__":true,"id":863},"setTarget":{"__isSmartRef__":true,"id":867}},"823":{"varMapping":{"__isSmartRef__":true,"id":824},"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":825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"824":{"this":{"__isSmartRef__":true,"id":710}},"825":{"timestamp":{"__isSmartRef__":true,"id":826},"user":"lauritz","tags":[]},"826":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"827":{"varMapping":{"__isSmartRef__":true,"id":828},"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":829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"828":{"this":{"__isSmartRef__":true,"id":710}},"829":{"timestamp":{"__isSmartRef__":true,"id":830},"user":"jenslincke","tags":[]},"830":{"isSerializedDate":true,"string":"Tue Dec 18 2012 12:54:24 GMT+0100 (CET)"},"831":{"varMapping":{"__isSmartRef__":true,"id":832},"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":837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"832":{"this":{"__isSmartRef__":true,"id":710},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":833}},"833":{"$super":{"__isSmartRef__":true,"id":834}},"834":{"varMapping":{"__isSmartRef__":true,"id":835},"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":836},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"835":{"obj":{"__isSmartRef__":true,"id":710},"name":"onMouseMove"},"836":{},"837":{"timestamp":{"__isSmartRef__":true,"id":838},"user":"lauritz","tags":[]},"838":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"839":{"varMapping":{"__isSmartRef__":true,"id":840},"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":845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"840":{"this":{"__isSmartRef__":true,"id":710},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":841}},"841":{"$super":{"__isSmartRef__":true,"id":842}},"842":{"varMapping":{"__isSmartRef__":true,"id":843},"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":844},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"843":{"obj":{"__isSmartRef__":true,"id":710},"name":"onMouseOut"},"844":{},"845":{"timestamp":{"__isSmartRef__":true,"id":846},"user":"lauritz","tags":[]},"846":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"847":{"varMapping":{"__isSmartRef__":true,"id":848},"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":849},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"848":{"this":{"__isSmartRef__":true,"id":710}},"849":{"timestamp":{"__isSmartRef__":true,"id":850},"user":"jenslincke","tags":[]},"850":{"isSerializedDate":true,"string":"Mon Dec 17 2012 17:02:31 GMT+0100 (CET)"},"851":{"varMapping":{"__isSmartRef__":true,"id":852},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"852":{"this":{"__isSmartRef__":true,"id":710}},"853":{"timestamp":{"__isSmartRef__":true,"id":854},"user":"lauritz","tags":[]},"854":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"855":{"varMapping":{"__isSmartRef__":true,"id":856},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"856":{"this":{"__isSmartRef__":true,"id":710}},"857":{"timestamp":{"__isSmartRef__":true,"id":858},"user":"lauritz","tags":[]},"858":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"859":{"varMapping":{"__isSmartRef__":true,"id":860},"source":"function currentTarget() {\n return this.owner.target;\n}","funcProperties":{"__isSmartRef__":true,"id":861},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"860":{"this":{"__isSmartRef__":true,"id":710}},"861":{"timestamp":{"__isSmartRef__":true,"id":862},"user":"lauritz","tags":[]},"862":{"isSerializedDate":true,"string":"Wed Jun 06 2012 18:26:02 GMT+0200 (CEST)"},"863":{"varMapping":{"__isSmartRef__":true,"id":864},"source":"function setupHighlightRectangle() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"864":{"this":{"__isSmartRef__":true,"id":710}},"865":{"timestamp":{"__isSmartRef__":true,"id":866},"user":"jenslincke","tags":[]},"866":{"isSerializedDate":true,"string":"Thu Dec 13 2012 10:26:03 GMT+0100 (CET)"},"867":{"varMapping":{"__isSmartRef__":true,"id":868},"source":"function setTarget(obj) {\n this.owner.setTarget(obj)\n}","funcProperties":{"__isSmartRef__":true,"id":869},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"868":{"this":{"__isSmartRef__":true,"id":710}},"869":{"timestamp":{"__isSmartRef__":true,"id":870},"user":"jenslincke","tags":[]},"870":{"isSerializedDate":true,"string":"Thu Dec 13 2012 10:27:04 GMT+0100 (CET)"},"871":{"submorphs":[],"scripts":[],"id":"C9B1F8DD-2DCC-4042-A04A-3B8BBB7BCEC8","shape":{"__isSmartRef__":true,"id":872},"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":873},"textChunks":[{"__isSmartRef__":true,"id":889}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":891},"_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":675},"_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)"},"872":{"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)"},"873":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":874},{"__isSmartRef__":true,"id":876},{"__isSmartRef__":true,"id":878},{"__isSmartRef__":true,"id":880},{"__isSmartRef__":true,"id":882},{"__isSmartRef__":true,"id":884},{"__isSmartRef__":true,"id":886}],"lastModifiedDate":{"__isSmartRef__":true,"id":888},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"874":{"date":{"__isSmartRef__":true,"id":875},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"875":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"876":{"date":{"__isSmartRef__":true,"id":877},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"877":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"878":{"date":{"__isSmartRef__":true,"id":879},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"879":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"880":{"date":{"__isSmartRef__":true,"id":881},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"881":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"882":{"date":{"__isSmartRef__":true,"id":883},"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"},"883":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"884":{"date":{"__isSmartRef__":true,"id":885},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"885":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"886":{"date":{"__isSmartRef__":true,"id":887},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"887":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"888":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"889":{"style":{"__isSmartRef__":true,"id":890},"chunkOwner":{"__isSmartRef__":true,"id":871},"_id":"_585120","storedString":"EnergySimulation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"890":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"891":{"morph":{"__isSmartRef__":true,"id":871},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"892":{"submorphs":[{"__isSmartRef__":true,"id":893},{"__isSmartRef__":true,"id":900}],"scripts":[],"id":"0CC5DD41-B530-4F7C-ABD3-C4514D9773F8","shape":{"__isSmartRef__":true,"id":903},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":909},"lighterFill":{"__isSmartRef__":true,"id":914},"label":{"__isSmartRef__":true,"id":893},"name":"MagnifierButton1","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":919},"attributeConnections":[{"__isSmartRef__":true,"id":925}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":926},"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":927},"isPressed":false,"prevScroll":[0,0],"layout":{"__isSmartRef__":true,"id":1003},"moved":true,"owner":{"__isSmartRef__":true,"id":675},"_Rotation":0,"_Scale":0.9920279440699439,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1004},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(13.4,69.7)","distanceToDragEvent":"lively.pt(34.3,-17.0)"},"893":{"submorphs":[],"scripts":[],"id":"8E5C5AEB-9BC1-403D-A518-864227AB962D","shape":{"__isSmartRef__":true,"id":894},"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":892},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":895},{"__isSmartRef__":true,"id":897}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":899},"_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)"},"894":{"_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)"},"895":{"style":{"__isSmartRef__":true,"id":896},"chunkOwner":{"__isSmartRef__":true,"id":893},"storedString":"","_id":"_1372","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"896":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"897":{"style":{"__isSmartRef__":true,"id":898},"chunkOwner":{"__isSmartRef__":true,"id":893},"storedString":"","_id":"_1373","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"898":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"899":{"morph":{"__isSmartRef__":true,"id":893},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"900":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":901},"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":902},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":892},"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)"},"901":{"_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)"},"902":{"morph":{"__isSmartRef__":true,"id":900},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"903":{"_BorderWidth":1.1840000000000002,"_Fill":{"__isSmartRef__":true,"id":904},"_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)"},"904":{"stops":[{"__isSmartRef__":true,"id":905},{"__isSmartRef__":true,"id":906},{"__isSmartRef__":true,"id":907},{"__isSmartRef__":true,"id":908}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"905":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"906":{"offset":0.3,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"907":{"offset":0.7,"__serializedExpressions__":["color"],"color":"Color.rgb(221,221,221)"},"908":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"909":{"stops":[{"__isSmartRef__":true,"id":910},{"__isSmartRef__":true,"id":911},{"__isSmartRef__":true,"id":912},{"__isSmartRef__":true,"id":913}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"910":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"911":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"912":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"913":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"914":{"stops":[{"__isSmartRef__":true,"id":915},{"__isSmartRef__":true,"id":916},{"__isSmartRef__":true,"id":917},{"__isSmartRef__":true,"id":918}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"915":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"916":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"917":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"918":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"919":{"partsSpaceName":"PartsBin/Inputs/","migrationLevel":4,"partName":"MagnifierButton","comment":"A magnifier, which calls setTarget: on the owner","changes":[{"__isSmartRef__":true,"id":920},{"__isSmartRef__":true,"id":922}],"revisionOnLoad":203770,"lastModifiedDate":{"__isSmartRef__":true,"id":924},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"920":{"date":{"__isSmartRef__":true,"id":921},"author":"jenslincke","message":"no comment","id":"F343C38F-1923-4DD3-BF9B-4A4B6A7111D6"},"921":{"isSerializedDate":true,"string":"Fri Feb 01 2013 15:51:27 GMT+0100 (CET)"},"922":{"date":{"__isSmartRef__":true,"id":923},"author":"robertkrahn","message":"no comment","id":"0366C0A2-0C8E-4AEB-AAC3-120434134545"},"923":{"isSerializedDate":true,"string":"Sat Apr 21 2012 14:10:10 GMT+0200 (CEST)"},"924":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"925":{"sourceObj":{"__isSmartRef__":true,"id":892},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":892},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"926":{"morph":{"__isSmartRef__":true,"id":892},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"927":{"submorphs":[],"scripts":[],"id":"364FF344-E489-461B-BC8C-ED45E4823ED4","shape":{"__isSmartRef__":true,"id":928},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"HighlightRectangle","partsBinMetaInfo":{"__isSmartRef__":true,"id":929},"eventHandler":{"__isSmartRef__":true,"id":970},"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":971},"_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":892},"attributeConnections":[{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":978},{"__isSmartRef__":true,"id":980}],"isToolMorph":true,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":982},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(1536.9,454.5)","distanceToDragEvent":"lively.pt(44.0,-14.0)"},"928":{"_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(541.7,338.3)","_BorderColor":"Color.rgb(204,0,0)","_Fill":"Color.rgb(58,0,255)","_Padding":"lively.rect(0,0,0,0)"},"929":{"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":930},{"__isSmartRef__":true,"id":932},{"__isSmartRef__":true,"id":934},{"__isSmartRef__":true,"id":936},{"__isSmartRef__":true,"id":938},{"__isSmartRef__":true,"id":940},{"__isSmartRef__":true,"id":942},{"__isSmartRef__":true,"id":944},{"__isSmartRef__":true,"id":946},{"__isSmartRef__":true,"id":948},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":952},{"__isSmartRef__":true,"id":954},{"__isSmartRef__":true,"id":956},{"__isSmartRef__":true,"id":958},{"__isSmartRef__":true,"id":960},{"__isSmartRef__":true,"id":962},{"__isSmartRef__":true,"id":964},{"__isSmartRef__":true,"id":966},{"__isSmartRef__":true,"id":968}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"930":{"date":{"__isSmartRef__":true,"id":931},"author":"timfelgentreff","message":"no comment","id":"3DB7DB40-210A-4BED-91FD-9287005703EC"},"931":{"isSerializedDate":true,"string":"Thu May 24 2012 17:04:54 GMT+0200 (CEST)"},"932":{"date":{"__isSmartRef__":true,"id":933},"author":"tessi","message":"no comment","id":"23D7AA12-66A9-4C3B-B494-131256C291AC"},"933":{"isSerializedDate":true,"string":"Thu May 24 2012 16:57:13 GMT+0200 (CEST)"},"934":{"date":{"__isSmartRef__":true,"id":935},"author":"tessi","message":"no comment","id":"2C30B7CA-388F-4F51-B4CF-A2E50E381148"},"935":{"isSerializedDate":true,"string":"Thu May 24 2012 16:23:11 GMT+0200 (CEST)"},"936":{"date":{"__isSmartRef__":true,"id":937},"author":"tessi","message":"diable events","id":"7C1F71A3-FDAC-470A-B9A9-E1F2C9FEF18E"},"937":{"isSerializedDate":true,"string":"Thu May 24 2012 14:46:08 GMT+0200 (CEST)"},"938":{"date":{"__isSmartRef__":true,"id":939},"author":"tessi","message":"no comment","id":"01996A33-11BC-4C15-96D7-B7D219E2E961"},"939":{"isSerializedDate":true,"string":"Thu May 24 2012 14:39:50 GMT+0200 (CEST)"},"940":{"date":{"__isSmartRef__":true,"id":941},"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23"},"941":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"942":{"date":{"__isSmartRef__":true,"id":943},"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC"},"943":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"944":{"date":{"__isSmartRef__":true,"id":945},"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2"},"945":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"946":{"date":{"__isSmartRef__":true,"id":947},"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B"},"947":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"948":{"date":{"__isSmartRef__":true,"id":949},"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7"},"949":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"950":{"date":{"__isSmartRef__":true,"id":951},"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350"},"951":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"952":{"date":{"__isSmartRef__":true,"id":953},"author":"tessi","message":"no comment","id":"4B982A01-25B3-455A-848D-89C2C3C471D7"},"953":{"isSerializedDate":true,"string":"Thu May 24 2012 13:58:01 GMT+0200 (CEST)"},"954":{"date":{"__isSmartRef__":true,"id":955},"author":"tessi","message":"no comment","id":"2FD6CB7B-3BC7-4666-98B4-AACF1001954D"},"955":{"isSerializedDate":true,"string":"Thu May 24 2012 14:07:32 GMT+0200 (CEST)"},"956":{"date":{"__isSmartRef__":true,"id":957},"author":"tessi","message":"no comment","id":"09CF5ECF-2C87-4B66-A164-39848628596F"},"957":{"isSerializedDate":true,"string":"Thu May 24 2012 15:34:59 GMT+0200 (CEST)"},"958":{"date":{"__isSmartRef__":true,"id":959},"author":"tessi","message":"no comment","id":"252A3EB5-DB00-4CF9-BF38-2927DD1C5229"},"959":{"isSerializedDate":true,"string":"Thu May 24 2012 16:34:29 GMT+0200 (CEST)"},"960":{"date":{"__isSmartRef__":true,"id":961},"author":"tessi","message":"no comment","id":"81534551-62C1-4FC9-96CB-A5AC6642CA1E"},"961":{"isSerializedDate":true,"string":"Thu May 24 2012 16:45:49 GMT+0200 (CEST)"},"962":{"date":{"__isSmartRef__":true,"id":963},"author":"tessi","message":"no comment","id":"5125DE3A-D50E-4621-8490-F3A9D99C2C4C"},"963":{"isSerializedDate":true,"string":"Thu May 24 2012 16:47:20 GMT+0200 (CEST)"},"964":{"date":{"__isSmartRef__":true,"id":965},"author":"tessi","message":"no comment","id":"C81A2FBF-CB0B-4A0B-9D63-F9AEDFCB5DA6"},"965":{"isSerializedDate":true,"string":"Thu May 24 2012 16:51:06 GMT+0200 (CEST)"},"966":{"date":{"__isSmartRef__":true,"id":967},"author":"tessi","message":"no comment","id":"DC8EF5EC-7563-45B6-816D-20E2DC218525"},"967":{"isSerializedDate":true,"string":"Thu May 24 2012 16:52:10 GMT+0200 (CEST)"},"968":{"date":{"__isSmartRef__":true,"id":969},"author":"timfelgentreff","message":"no comment","id":"E7515DFB-DE7D-4E1F-A2C3-85166DCE4942"},"969":{"isSerializedDate":true,"string":"Thu May 24 2012 16:59:39 GMT+0200 (CEST)"},"970":{"morph":{"__isSmartRef__":true,"id":927},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"971":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":972}},"972":{"test01IsMorph":{"__isSmartRef__":true,"id":973}},"973":{"varMapping":{"__isSmartRef__":true,"id":974},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":975},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"974":{"this":{"__isSmartRef__":true,"id":971}},"975":{},"976":{"sourceObj":{"__isSmartRef__":true,"id":927},"sourceAttrName":"onMouseMove","targetObj":{"__isSmartRef__":true,"id":927},"targetMethodName":"updateOnMove","varMapping":{"__isSmartRef__":true,"id":977},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"977":{"source":{"__isSmartRef__":true,"id":927},"target":{"__isSmartRef__":true,"id":927}},"978":{"sourceObj":{"__isSmartRef__":true,"id":927},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":892},"targetMethodName":"removeHighlighting","varMapping":{"__isSmartRef__":true,"id":979},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"979":{"source":{"__isSmartRef__":true,"id":927},"target":{"__isSmartRef__":true,"id":892}},"980":{"sourceObj":{"__isSmartRef__":true,"id":927},"sourceAttrName":"onMouseUp","targetObj":{"__isSmartRef__":true,"id":892},"targetMethodName":"setTarget","varMapping":{"__isSmartRef__":true,"id":981},"converterString":"function () {\n return this.sourceObj.morphUnderCursor();\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"981":{"source":{"__isSmartRef__":true,"id":927},"target":{"__isSmartRef__":true,"id":892}},"982":{"update":{"__isSmartRef__":true,"id":983},"updateOnMove":{"__isSmartRef__":true,"id":987},"bringToFront":{"__isSmartRef__":true,"id":991},"morphUnderCursor":{"__isSmartRef__":true,"id":999}},"983":{"varMapping":{"__isSmartRef__":true,"id":984},"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":985},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"984":{"this":{"__isSmartRef__":true,"id":927}},"985":{"timestamp":{"__isSmartRef__":true,"id":986},"user":"lauritz","tags":[]},"986":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:29:58 GMT+0200 (CEST)"},"987":{"varMapping":{"__isSmartRef__":true,"id":988},"source":"function updateOnMove() {\n this.update(this.morphUnderCursor());\n this.bringToFront();\n}","funcProperties":{"__isSmartRef__":true,"id":989},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"988":{"this":{"__isSmartRef__":true,"id":927}},"989":{"timestamp":{"__isSmartRef__":true,"id":990},"user":"lauritz","tags":[]},"990":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:33 GMT+0200 (CEST)"},"991":{"varMapping":{"__isSmartRef__":true,"id":992},"source":"function bringToFront() {\n this.renderContext().morphNode.style.zIndex= 1000;\n}","funcProperties":{"__isSmartRef__":true,"id":997},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"992":{"this":{"__isSmartRef__":true,"id":927},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":993}},"993":{"$super":{"__isSmartRef__":true,"id":994}},"994":{"varMapping":{"__isSmartRef__":true,"id":995},"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":996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"995":{"obj":{"__isSmartRef__":true,"id":927},"name":"bringToFront"},"996":{},"997":{"timestamp":{"__isSmartRef__":true,"id":998},"user":"lauritz","tags":[]},"998":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:12:09 GMT+0200 (CEST)"},"999":{"varMapping":{"__isSmartRef__":true,"id":1000},"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":1001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1000":{"this":{"__isSmartRef__":true,"id":927}},"1001":{"timestamp":{"__isSmartRef__":true,"id":1002},"user":"lauritz","tags":[]},"1002":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:18:36 GMT+0200 (CEST)"},"1003":{"moveHorizontal":true},"1004":{"onFire":{"__isSmartRef__":true,"id":1005},"removeHighlighting":{"__isSmartRef__":true,"id":1009},"onMouseMove":{"__isSmartRef__":true,"id":1013},"onMouseOut":{"__isSmartRef__":true,"id":1021},"reset":{"__isSmartRef__":true,"id":1029},"isTracking":{"__isSmartRef__":true,"id":1033},"isHighlighting":{"__isSmartRef__":true,"id":1037},"currentTarget":{"__isSmartRef__":true,"id":1041},"setupHighlightRectangle":{"__isSmartRef__":true,"id":1045},"setTarget":{"__isSmartRef__":true,"id":1049}},"1005":{"varMapping":{"__isSmartRef__":true,"id":1006},"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":1007},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1006":{"this":{"__isSmartRef__":true,"id":892}},"1007":{"timestamp":{"__isSmartRef__":true,"id":1008},"user":"lauritz","tags":[]},"1008":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:40:51 GMT+0200 (CEST)"},"1009":{"varMapping":{"__isSmartRef__":true,"id":1010},"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":1011},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1010":{"this":{"__isSmartRef__":true,"id":892}},"1011":{"timestamp":{"__isSmartRef__":true,"id":1012},"user":"jenslincke","tags":[]},"1012":{"isSerializedDate":true,"string":"Tue Dec 18 2012 12:54:24 GMT+0100 (CET)"},"1013":{"varMapping":{"__isSmartRef__":true,"id":1014},"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":1019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1014":{"this":{"__isSmartRef__":true,"id":892},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1015}},"1015":{"$super":{"__isSmartRef__":true,"id":1016}},"1016":{"varMapping":{"__isSmartRef__":true,"id":1017},"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":1018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1017":{"obj":{"__isSmartRef__":true,"id":892},"name":"onMouseMove"},"1018":{},"1019":{"timestamp":{"__isSmartRef__":true,"id":1020},"user":"lauritz","tags":[]},"1020":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:25:52 GMT+0200 (CEST)"},"1021":{"varMapping":{"__isSmartRef__":true,"id":1022},"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":1027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1022":{"this":{"__isSmartRef__":true,"id":892},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1023}},"1023":{"$super":{"__isSmartRef__":true,"id":1024}},"1024":{"varMapping":{"__isSmartRef__":true,"id":1025},"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":1026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1025":{"obj":{"__isSmartRef__":true,"id":892},"name":"onMouseOut"},"1026":{},"1027":{"timestamp":{"__isSmartRef__":true,"id":1028},"user":"lauritz","tags":[]},"1028":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:21:57 GMT+0200 (CEST)"},"1029":{"varMapping":{"__isSmartRef__":true,"id":1030},"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":1031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1030":{"this":{"__isSmartRef__":true,"id":892}},"1031":{"timestamp":{"__isSmartRef__":true,"id":1032},"user":"jenslincke","tags":[]},"1032":{"isSerializedDate":true,"string":"Mon Dec 17 2012 17:02:31 GMT+0100 (CET)"},"1033":{"varMapping":{"__isSmartRef__":true,"id":1034},"source":"function isTracking() {\n return !!this.world().firstHand().highlightConnection;\n}","funcProperties":{"__isSmartRef__":true,"id":1035},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1034":{"this":{"__isSmartRef__":true,"id":892}},"1035":{"timestamp":{"__isSmartRef__":true,"id":1036},"user":"lauritz","tags":[]},"1036":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:25 GMT+0200 (CEST)"},"1037":{"varMapping":{"__isSmartRef__":true,"id":1038},"source":"function isHighlighting() {\n return !!this.targetHighlight;\n}","funcProperties":{"__isSmartRef__":true,"id":1039},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1038":{"this":{"__isSmartRef__":true,"id":892}},"1039":{"timestamp":{"__isSmartRef__":true,"id":1040},"user":"lauritz","tags":[]},"1040":{"isSerializedDate":true,"string":"Fri Aug 03 2012 14:11:22 GMT+0200 (CEST)"},"1041":{"varMapping":{"__isSmartRef__":true,"id":1042},"source":"function currentTarget() {\n return this.get(\"PrototypeList\").selection;\n}","funcProperties":{"__isSmartRef__":true,"id":1043},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1042":{"this":{"__isSmartRef__":true,"id":892}},"1043":{"timestamp":{"__isSmartRef__":true,"id":1044},"user":"jenslincke","tags":[]},"1044":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:52:36 GMT+0100 (CET)"},"1045":{"varMapping":{"__isSmartRef__":true,"id":1046},"source":"function setupHighlightRectangle() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":1047},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1046":{"this":{"__isSmartRef__":true,"id":892}},"1047":{"timestamp":{"__isSmartRef__":true,"id":1048},"user":"jenslincke","tags":[]},"1048":{"isSerializedDate":true,"string":"Thu Dec 13 2012 10:26:03 GMT+0100 (CET)"},"1049":{"varMapping":{"__isSmartRef__":true,"id":1050},"source":"function setTarget(obj) {\n this.owner.addPrototype(obj)\n}","funcProperties":{"__isSmartRef__":true,"id":1051},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1050":{"this":{"__isSmartRef__":true,"id":892}},"1051":{"timestamp":{"__isSmartRef__":true,"id":1052},"user":"jenslincke","tags":[]},"1052":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:35:50 GMT+0100 (CET)"},"1053":{"submorphs":[],"scripts":[],"id":"E9402211-B017-4CC4-AD38-DF9AB1096376","shape":{"__isSmartRef__":true,"id":1054},"__layered_droppingEnabled__":true,"halosEnabled":true,"itemList":[{"__isSmartRef__":true,"id":1055}],"selection":{"__isSmartRef__":true,"id":1056},"selectedLineNo":0,"showsHalos":false,"name":"PrototypeList","partsBinMetaInfo":{"__isSmartRef__":true,"id":5775},"_ClipMode":"auto","eventHandler":{"__isSmartRef__":true,"id":5785},"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":675},"#startLetters":"ge","_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5786},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(72.8,70.9)"},"1054":{"_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)"},"1055":{"string":"EnergySimulationPart","value":{"__isSmartRef__":true,"id":1056},"isListItem":true},"1056":{"submorphs":[{"__isSmartRef__":true,"id":1057},{"__isSmartRef__":true,"id":1081},{"__isSmartRef__":true,"id":1387},{"__isSmartRef__":true,"id":1409}],"scripts":[],"id":"13370CD2-1232-4E30-9AB6-D43A7241AB79","shape":{"__isSmartRef__":true,"id":1433},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1434},"eventHandler":{"__isSmartRef__":true,"id":1494},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA"],"partTests":{"__isSmartRef__":true,"id":1495},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":1500},{"__isSmartRef__":true,"id":1501},{"__isSmartRef__":true,"id":1502},{"__isSmartRef__":true,"id":1503},{"__isSmartRef__":true,"id":1504},{"__isSmartRef__":true,"id":1505},{"__isSmartRef__":true,"id":1506},{"__isSmartRef__":true,"id":1507}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":1508},"$":{"__isSmartRef__":true,"id":1509},"name":"HeatingSystem","attributeConnections":[{"__isSmartRef__":true,"id":1510}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":1512},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":1513},"owner":{"__isSmartRef__":true,"id":1516},"lastNameReference":null,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5703},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(635.1,7.6)"},"1057":{"submorphs":[],"scripts":[],"id":"A112085C-FDC7-48D5-A582-CD39CA4E9117","shape":{"__isSmartRef__":true,"id":1058},"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":1059},"textChunks":[{"__isSmartRef__":true,"id":1061}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1063},{"__isSmartRef__":true,"id":1064}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":1065},"owner":{"__isSmartRef__":true,"id":1056},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":1056},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"priorSelectionRange":[6,6],"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1066},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"1058":{"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)"},"1059":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":1060},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1060":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"1061":{"style":{"__isSmartRef__":true,"id":1062},"chunkOwner":{"__isSmartRef__":true,"id":1057},"_id":"_15180","storedString":"HeatingSystem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1062":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1063":{"sourceObj":{"__isSmartRef__":true,"id":1057},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1057},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1064":{"sourceObj":{"__isSmartRef__":true,"id":1057},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1057},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1065":{"morph":{"__isSmartRef__":true,"id":1057},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1066":{"updateLabel":{"__isSmartRef__":true,"id":1067},"renameOwner":{"__isSmartRef__":true,"id":1070},"onFocus":{"__isSmartRef__":true,"id":1073}},"1067":{"varMapping":{"__isSmartRef__":true,"id":1068},"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":1069},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1068":{"this":{"__isSmartRef__":true,"id":1057}},"1069":{},"1070":{"varMapping":{"__isSmartRef__":true,"id":1071},"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":1072},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1071":{"this":{"__isSmartRef__":true,"id":1057}},"1072":{},"1073":{"varMapping":{"__isSmartRef__":true,"id":1074},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":1079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1074":{"this":{"__isSmartRef__":true,"id":1057},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1075}},"1075":{"$super":{"__isSmartRef__":true,"id":1076}},"1076":{"varMapping":{"__isSmartRef__":true,"id":1077},"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":1078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1077":{"obj":{"__isSmartRef__":true,"id":1057},"name":"onFocus"},"1078":{},"1079":{"timestamp":{"__isSmartRef__":true,"id":1080},"user":"jenslincke","tags":[]},"1080":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"1081":{"submorphs":[],"scripts":[],"id":"4A08CEEF-4759-4921-AF85-D276309CF091","shape":{"__isSmartRef__":true,"id":1082},"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":1083},"textChunks":[{"__isSmartRef__":true,"id":1099},{"__isSmartRef__":true,"id":1101},{"__isSmartRef__":true,"id":1103},{"__isSmartRef__":true,"id":1105},{"__isSmartRef__":true,"id":1107},{"__isSmartRef__":true,"id":1109},{"__isSmartRef__":true,"id":1111},{"__isSmartRef__":true,"id":1113},{"__isSmartRef__":true,"id":1115},{"__isSmartRef__":true,"id":1117},{"__isSmartRef__":true,"id":1119},{"__isSmartRef__":true,"id":1121},{"__isSmartRef__":true,"id":1123},{"__isSmartRef__":true,"id":1125},{"__isSmartRef__":true,"id":1127},{"__isSmartRef__":true,"id":1130},{"__isSmartRef__":true,"id":1132},{"__isSmartRef__":true,"id":1134},{"__isSmartRef__":true,"id":1136},{"__isSmartRef__":true,"id":1138},{"__isSmartRef__":true,"id":1140},{"__isSmartRef__":true,"id":1142},{"__isSmartRef__":true,"id":1144},{"__isSmartRef__":true,"id":1146},{"__isSmartRef__":true,"id":1148},{"__isSmartRef__":true,"id":1151},{"__isSmartRef__":true,"id":1153},{"__isSmartRef__":true,"id":1155},{"__isSmartRef__":true,"id":1157},{"__isSmartRef__":true,"id":1159},{"__isSmartRef__":true,"id":1161},{"__isSmartRef__":true,"id":1163},{"__isSmartRef__":true,"id":1166},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1176},{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1180},{"__isSmartRef__":true,"id":1182},{"__isSmartRef__":true,"id":1184},{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1188},{"__isSmartRef__":true,"id":1190},{"__isSmartRef__":true,"id":1192},{"__isSmartRef__":true,"id":1195},{"__isSmartRef__":true,"id":1197},{"__isSmartRef__":true,"id":1199},{"__isSmartRef__":true,"id":1201},{"__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},{"__isSmartRef__":true,"id":1217},{"__isSmartRef__":true,"id":1219},{"__isSmartRef__":true,"id":1221},{"__isSmartRef__":true,"id":1223},{"__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},{"__isSmartRef__":true,"id":1239},{"__isSmartRef__":true,"id":1241},{"__isSmartRef__":true,"id":1243},{"__isSmartRef__":true,"id":1245},{"__isSmartRef__":true,"id":1247},{"__isSmartRef__":true,"id":1249},{"__isSmartRef__":true,"id":1251},{"__isSmartRef__":true,"id":1253},{"__isSmartRef__":true,"id":1256},{"__isSmartRef__":true,"id":1258},{"__isSmartRef__":true,"id":1260},{"__isSmartRef__":true,"id":1262},{"__isSmartRef__":true,"id":1264},{"__isSmartRef__":true,"id":1267},{"__isSmartRef__":true,"id":1269},{"__isSmartRef__":true,"id":1271},{"__isSmartRef__":true,"id":1273},{"__isSmartRef__":true,"id":1275},{"__isSmartRef__":true,"id":1277},{"__isSmartRef__":true,"id":1279},{"__isSmartRef__":true,"id":1281},{"__isSmartRef__":true,"id":1283},{"__isSmartRef__":true,"id":1285},{"__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},{"__isSmartRef__":true,"id":1302},{"__isSmartRef__":true,"id":1304},{"__isSmartRef__":true,"id":1306},{"__isSmartRef__":true,"id":1308},{"__isSmartRef__":true,"id":1310},{"__isSmartRef__":true,"id":1312},{"__isSmartRef__":true,"id":1314},{"__isSmartRef__":true,"id":1316},{"__isSmartRef__":true,"id":1318},{"__isSmartRef__":true,"id":1320},{"__isSmartRef__":true,"id":1322}],"charsReplaced":" ","lastFindLoc":409,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1324},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":1325},{"__isSmartRef__":true,"id":1326},{"__isSmartRef__":true,"id":1327},{"__isSmartRef__":true,"id":1328},{"__isSmartRef__":true,"id":1329},{"__isSmartRef__":true,"id":1330},{"__isSmartRef__":true,"id":1331},{"__isSmartRef__":true,"id":1332}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1333},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":1056},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":1334},{"__isSmartRef__":true,"id":1336}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":149,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[347,347],"__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}\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 ","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1338},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"1082":{"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(527.8,235.5)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1083":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1084},{"__isSmartRef__":true,"id":1086},{"__isSmartRef__":true,"id":1088},{"__isSmartRef__":true,"id":1090},{"__isSmartRef__":true,"id":1092},{"__isSmartRef__":true,"id":1094},{"__isSmartRef__":true,"id":1096}],"lastModifiedDate":{"__isSmartRef__":true,"id":1098},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1084":{"date":{"__isSmartRef__":true,"id":1085},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1085":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1086":{"date":{"__isSmartRef__":true,"id":1087},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1087":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1088":{"date":{"__isSmartRef__":true,"id":1089},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1089":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1090":{"date":{"__isSmartRef__":true,"id":1091},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1091":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1092":{"date":{"__isSmartRef__":true,"id":1093},"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"},"1093":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1094":{"date":{"__isSmartRef__":true,"id":1095},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1095":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1096":{"date":{"__isSmartRef__":true,"id":1097},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1097":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1098":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1099":{"style":{"__isSmartRef__":true,"id":1100},"chunkOwner":{"__isSmartRef__":true,"id":1081},"_id":"_17","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1100":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1101":{"_id":"_430","style":{"__isSmartRef__":true,"id":1102},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" full =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1102":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1103":{"_id":"_528","style":{"__isSmartRef__":true,"id":1104},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1104":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1105":{"_id":"_529","style":{"__isSmartRef__":true,"id":1106},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1106":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1107":{"_id":"_527","style":{"__isSmartRef__":true,"id":1108},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1108":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1109":{"_id":"_531","style":{"__isSmartRef__":true,"id":1110},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1110":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1111":{"_id":"_532","style":{"__isSmartRef__":true,"id":1112},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Factor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1112":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1113":{"_id":"_530","style":{"__isSmartRef__":true,"id":1114},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1114":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1115":{"_id":"_431","style":{"__isSmartRef__":true,"id":1116},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1116":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1117":{"_id":"_432","style":{"__isSmartRef__":true,"id":1118},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1118":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1119":{"_id":"_534","style":{"__isSmartRef__":true,"id":1120},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1120":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1121":{"_id":"_535","style":{"__isSmartRef__":true,"id":1122},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1122":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1123":{"_id":"_533","style":{"__isSmartRef__":true,"id":1124},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" < full && ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1124":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1125":{"_id":"_492","style":{"__isSmartRef__":true,"id":1126},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1126":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1127":{"_id":"_494","style":{"__isSmartRef__":true,"id":1128},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1128":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1129},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1129":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Fuel\")","context":{"__isSmartRef__":true,"id":1056}},"1130":{"_id":"_493","style":{"__isSmartRef__":true,"id":1131},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1131":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1132":{"_id":"_495","style":{"__isSmartRef__":true,"id":1133},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1133":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1134":{"_id":"_496","style":{"__isSmartRef__":true,"id":1135},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" >","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1135":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1136":{"_id":"_537","style":{"__isSmartRef__":true,"id":1137},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1137":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1138":{"_id":"_538","style":{"__isSmartRef__":true,"id":1139},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1139":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1140":{"_id":"_536","style":{"__isSmartRef__":true,"id":1141},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1141":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1142":{"_id":"_563","style":{"__isSmartRef__":true,"id":1143},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" dt ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1143":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"1144":{"_id":"_564","style":{"__isSmartRef__":true,"id":1145},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"&&\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1145":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1146":{"_id":"_497","style":{"__isSmartRef__":true,"id":1147},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1147":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1148":{"_id":"_499","style":{"__isSmartRef__":true,"id":1149},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1149":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1150},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1150":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1056}},"1151":{"_id":"_498","style":{"__isSmartRef__":true,"id":1152},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1152":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1153":{"_id":"_500","style":{"__isSmartRef__":true,"id":1154},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1154":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1155":{"_id":"_501","style":{"__isSmartRef__":true,"id":1156},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1156":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1157":{"_id":"_433","style":{"__isSmartRef__":true,"id":1158},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"0.3","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1158":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1159":{"_id":"_434","style":{"__isSmartRef__":true,"id":1160},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1160":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1161":{"_id":"_502","style":{"__isSmartRef__":true,"id":1162},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1162":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1163":{"_id":"_504","style":{"__isSmartRef__":true,"id":1164},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1164":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1165},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1165":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1056}},"1166":{"_id":"_503","style":{"__isSmartRef__":true,"id":1167},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1167":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1168":{"_id":"_505","style":{"__isSmartRef__":true,"id":1169},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1169":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1170":{"_id":"_506","style":{"__isSmartRef__":true,"id":1171},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1171":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1172":{"_id":"_435","style":{"__isSmartRef__":true,"id":1173},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1173":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1174":{"_id":"_436","style":{"__isSmartRef__":true,"id":1175},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1175":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1176":{"_id":"_437","style":{"__isSmartRef__":true,"id":1177},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1177":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1178":{"_id":"_438","style":{"__isSmartRef__":true,"id":1179},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" gas =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1179":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1180":{"_id":"_540","style":{"__isSmartRef__":true,"id":1181},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1181":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1182":{"_id":"_541","style":{"__isSmartRef__":true,"id":1183},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1183":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1184":{"_id":"_539","style":{"__isSmartRef__":true,"id":1185},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1185":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1186":{"_id":"_565","style":{"__isSmartRef__":true,"id":1187},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1187":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"1188":{"_id":"_566","style":{"__isSmartRef__":true,"id":1189},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1189":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1190":{"_id":"_507","style":{"__isSmartRef__":true,"id":1191},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1191":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1192":{"_id":"_509","style":{"__isSmartRef__":true,"id":1193},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1193":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1194},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1194":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Fuel\")","context":{"__isSmartRef__":true,"id":1056}},"1195":{"_id":"_508","style":{"__isSmartRef__":true,"id":1196},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1196":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1197":{"_id":"_510","style":{"__isSmartRef__":true,"id":1198},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1198":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1199":{"_id":"_511","style":{"__isSmartRef__":true,"id":1200},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" -= gas\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1200":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1201":{"_id":"_543","style":{"__isSmartRef__":true,"id":1202},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1202":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1203":{"_id":"_544","style":{"__isSmartRef__":true,"id":1204},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1204":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1205":{"_id":"_542","style":{"__isSmartRef__":true,"id":1206},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" += gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1206":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1207":{"_id":"_439","style":{"__isSmartRef__":true,"id":1208},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1208":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"1209":{"_id":"_440","style":{"__isSmartRef__":true,"id":1210},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1210":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1211":{"_id":"_441","style":{"__isSmartRef__":true,"id":1212},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"\n\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1212":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1213":{"_id":"_442","style":{"__isSmartRef__":true,"id":1214},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1214":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1215":{"_id":"_443","style":{"__isSmartRef__":true,"id":1216},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" delta = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1216":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1217":{"_id":"_546","style":{"__isSmartRef__":true,"id":1218},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1218":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1219":{"_id":"_547","style":{"__isSmartRef__":true,"id":1220},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1220":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1221":{"_id":"_545","style":{"__isSmartRef__":true,"id":1222},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" /","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1222":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1223":{"_id":"_549","style":{"__isSmartRef__":true,"id":1224},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1224":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1225":{"_id":"_550","style":{"__isSmartRef__":true,"id":1226},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Factor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1226":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1227":{"_id":"_548","style":{"__isSmartRef__":true,"id":1228},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":") *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1228":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1229":{"_id":"_567","style":{"__isSmartRef__":true,"id":1230},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1230":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"1231":{"_id":"_444","style":{"__isSmartRef__":true,"id":1232},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1232":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1233":{"_id":"_445","style":{"__isSmartRef__":true,"id":1234},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1234":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1235":{"_id":"_552","style":{"__isSmartRef__":true,"id":1236},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1236":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1237":{"_id":"_553","style":{"__isSmartRef__":true,"id":1238},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1238":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1239":{"_id":"_551","style":{"__isSmartRef__":true,"id":1240},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1240":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1241":{"_id":"_446","style":{"__isSmartRef__":true,"id":1242},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1242":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1243":{"_id":"_447","style":{"__isSmartRef__":true,"id":1244},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1244":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1245":{"_id":"_555","style":{"__isSmartRef__":true,"id":1246},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1246":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1247":{"_id":"_556","style":{"__isSmartRef__":true,"id":1248},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1248":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1249":{"_id":"_554","style":{"__isSmartRef__":true,"id":1250},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" && ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1250":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1251":{"_id":"_512","style":{"__isSmartRef__":true,"id":1252},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1252":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1253":{"_id":"_514","style":{"__isSmartRef__":true,"id":1254},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1254":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1255},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1255":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1056}},"1256":{"_id":"_513","style":{"__isSmartRef__":true,"id":1257},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1257":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1258":{"_id":"_515","style":{"__isSmartRef__":true,"id":1259},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1259":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1260":{"_id":"_516","style":{"__isSmartRef__":true,"id":1261},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1261":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1262":{"_id":"_517","style":{"__isSmartRef__":true,"id":1263},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1263":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1264":{"_id":"_519","style":{"__isSmartRef__":true,"id":1265},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1265":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1266},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1266":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1056}},"1267":{"_id":"_518","style":{"__isSmartRef__":true,"id":1268},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1268":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1269":{"_id":"_520","style":{"__isSmartRef__":true,"id":1270},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1270":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1271":{"_id":"_521","style":{"__isSmartRef__":true,"id":1272},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" ) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1272":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1273":{"_id":"_448","style":{"__isSmartRef__":true,"id":1274},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1274":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1275":{"_id":"_449","style":{"__isSmartRef__":true,"id":1276},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1276":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1277":{"_id":"_558","style":{"__isSmartRef__":true,"id":1278},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1278":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1279":{"_id":"_559","style":{"__isSmartRef__":true,"id":1280},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1280":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1281":{"_id":"_557","style":{"__isSmartRef__":true,"id":1282},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1282":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1283":{"_id":"_522","style":{"__isSmartRef__":true,"id":1284},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1284":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1285":{"_id":"_524","style":{"__isSmartRef__":true,"id":1286},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1286":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1287},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1287":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1056}},"1288":{"_id":"_523","style":{"__isSmartRef__":true,"id":1289},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1289":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1290":{"_id":"_525","style":{"__isSmartRef__":true,"id":1291},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1291":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1292":{"_id":"_526","style":{"__isSmartRef__":true,"id":1293},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1293":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1294":{"_id":"_450","style":{"__isSmartRef__":true,"id":1295},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"0.8","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1295":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1296":{"_id":"_451","style":{"__isSmartRef__":true,"id":1297},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" * delta\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1297":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1298":{"_id":"_452","style":{"__isSmartRef__":true,"id":1299},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1299":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1300":{"_id":"_453","style":{"__isSmartRef__":true,"id":1301},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1301":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1302":{"_id":"_454","style":{"__isSmartRef__":true,"id":1303},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1303":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1304":{"_id":"_455","style":{"__isSmartRef__":true,"id":1305},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1305":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1306":{"_id":"_456","style":{"__isSmartRef__":true,"id":1307},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1307":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1308":{"_id":"_457","style":{"__isSmartRef__":true,"id":1309},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1309":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1310":{"_id":"_561","style":{"__isSmartRef__":true,"id":1311},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1311":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1312":{"_id":"_562","style":{"__isSmartRef__":true,"id":1313},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1313":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1314":{"_id":"_560","style":{"__isSmartRef__":true,"id":1315},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" -= ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1315":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1316":{"_id":"_458","style":{"__isSmartRef__":true,"id":1317},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"0.2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1317":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1318":{"_id":"_459","style":{"__isSmartRef__":true,"id":1319},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":" * delta\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1319":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1320":{"_id":"_460","style":{"__isSmartRef__":true,"id":1321},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1321":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1322":{"_id":"_461","style":{"__isSmartRef__":true,"id":1323},"chunkOwner":{"__isSmartRef__":true,"id":1081},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1323":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1324":{"morph":{"__isSmartRef__":true,"id":1081},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1325":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1326":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1327":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1328":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1329":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1330":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1331":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1332":{"morph":{"__isSmartRef__":true,"id":1081},"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)"},"1333":{"resizeWidth":true,"resizeHeight":true},"1334":{"sourceObj":{"__isSmartRef__":true,"id":1081},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1056},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":1335},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1335":{"source":{"__isSmartRef__":true,"id":1081},"target":{"__isSmartRef__":true,"id":1056}},"1336":{"sourceObj":{"__isSmartRef__":true,"id":1081},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1081},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1337},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1337":{"source":{"__isSmartRef__":true,"id":1081},"target":{"__isSmartRef__":true,"id":1081}},"1338":{"boundEval":{"__isSmartRef__":true,"id":1339},"getDoitContext":{"__isSmartRef__":true,"id":1347},"installLayers":{"__isSmartRef__":true,"id":1355},"onLoad":{"__isSmartRef__":true,"id":1359},"highligtScriptNames":{"__isSmartRef__":true,"id":1363},"getAutoCompletion":{"__isSmartRef__":true,"id":1367},"reset":{"__isSmartRef__":true,"id":1375},"getLastWordRange":{"__isSmartRef__":true,"id":1379}},"1339":{"varMapping":{"__isSmartRef__":true,"id":1340},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1340":{"this":{"__isSmartRef__":true,"id":1081},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1341}},"1341":{"$super":{"__isSmartRef__":true,"id":1342}},"1342":{"varMapping":{"__isSmartRef__":true,"id":1343},"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":1344},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1343":{"obj":{"__isSmartRef__":true,"id":1081},"name":"boundEval"},"1344":{},"1345":{"timestamp":{"__isSmartRef__":true,"id":1346},"user":"jenslincke","tags":[]},"1346":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"1347":{"varMapping":{"__isSmartRef__":true,"id":1348},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1348":{"this":{"__isSmartRef__":true,"id":1081},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1349}},"1349":{"$super":{"__isSmartRef__":true,"id":1350}},"1350":{"varMapping":{"__isSmartRef__":true,"id":1351},"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":1352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1351":{"obj":{"__isSmartRef__":true,"id":1081},"name":"getDoitContext"},"1352":{},"1353":{"timestamp":{"__isSmartRef__":true,"id":1354},"user":"jenslincke","tags":[]},"1354":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"1355":{"varMapping":{"__isSmartRef__":true,"id":1356},"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":1357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1356":{"this":{"__isSmartRef__":true,"id":1081}},"1357":{"timestamp":{"__isSmartRef__":true,"id":1358},"user":"jenslincke","tags":[]},"1358":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"1359":{"varMapping":{"__isSmartRef__":true,"id":1360},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":1361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1360":{"this":{"__isSmartRef__":true,"id":1081}},"1361":{"timestamp":{"__isSmartRef__":true,"id":1362},"user":"jenslincke","tags":[]},"1362":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"1363":{"varMapping":{"__isSmartRef__":true,"id":1364},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":1365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1364":{"this":{"__isSmartRef__":true,"id":1081}},"1365":{"timestamp":{"__isSmartRef__":true,"id":1366},"user":"jenslincke","tags":[]},"1366":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"1367":{"varMapping":{"__isSmartRef__":true,"id":1368},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":1373},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1368":{"this":{"__isSmartRef__":true,"id":1081},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1369}},"1369":{"$super":{"__isSmartRef__":true,"id":1370}},"1370":{"varMapping":{"__isSmartRef__":true,"id":1371},"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":1372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1371":{"obj":{"__isSmartRef__":true,"id":1081},"name":"getAutoCompletion"},"1372":{},"1373":{"timestamp":{"__isSmartRef__":true,"id":1374},"user":"jenslincke","tags":[]},"1374":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"1375":{"varMapping":{"__isSmartRef__":true,"id":1376},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":1377},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1376":{"this":{"__isSmartRef__":true,"id":1081}},"1377":{"timestamp":{"__isSmartRef__":true,"id":1378},"user":"jenslincke","tags":[]},"1378":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"1379":{"varMapping":{"__isSmartRef__":true,"id":1380},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1380":{"this":{"__isSmartRef__":true,"id":1081},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1381}},"1381":{"$super":{"__isSmartRef__":true,"id":1382}},"1382":{"varMapping":{"__isSmartRef__":true,"id":1383},"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":1384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1383":{"obj":{"__isSmartRef__":true,"id":1081},"name":"getLastWordRange"},"1384":{},"1385":{"timestamp":{"__isSmartRef__":true,"id":1386},"user":"jenslincke","tags":[]},"1386":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"1387":{"submorphs":[],"scripts":[],"id":"07D195A1-33DA-4A4D-B3EA-B51C03BACF39","shape":{"__isSmartRef__":true,"id":1388},"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":1389},"textChunks":[{"__isSmartRef__":true,"id":1405}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1407},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1056},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1408},"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,320.5)","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)"},"1388":{"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(519.9,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1389":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__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}],"lastModifiedDate":{"__isSmartRef__":true,"id":1404},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1390":{"date":{"__isSmartRef__":true,"id":1391},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1391":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1392":{"date":{"__isSmartRef__":true,"id":1393},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1393":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1394":{"date":{"__isSmartRef__":true,"id":1395},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1395":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1396":{"date":{"__isSmartRef__":true,"id":1397},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1397":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1398":{"date":{"__isSmartRef__":true,"id":1399},"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"},"1399":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1400":{"date":{"__isSmartRef__":true,"id":1401},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1401":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1402":{"date":{"__isSmartRef__":true,"id":1403},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1403":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1404":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1405":{"style":{"__isSmartRef__":true,"id":1406},"chunkOwner":{"__isSmartRef__":true,"id":1387},"_id":"_11226","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1406":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1407":{"morph":{"__isSmartRef__":true,"id":1387},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1408":{"moveVertical":true,"resizeWidth":true},"1409":{"submorphs":[],"scripts":[],"id":"88E27517-6524-49AD-AF69-936DADF77DDD","shape":{"__isSmartRef__":true,"id":1410},"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":1411},"textChunks":[{"__isSmartRef__":true,"id":1427}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1429},"_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","1A5DC502-21A9-4B18-8878-654818F4C282"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1056},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":1430}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1432},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"1410":{"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(513.4,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1411":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__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}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":1426},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1412":{"date":{"__isSmartRef__":true,"id":1413},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1413":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1414":{"date":{"__isSmartRef__":true,"id":1415},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1415":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1416":{"date":{"__isSmartRef__":true,"id":1417},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1417":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1418":{"date":{"__isSmartRef__":true,"id":1419},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1419":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1420":{"date":{"__isSmartRef__":true,"id":1421},"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"},"1421":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1422":{"date":{"__isSmartRef__":true,"id":1423},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1423":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1424":{"date":{"__isSmartRef__":true,"id":1425},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1425":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1426":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1427":{"style":{"__isSmartRef__":true,"id":1428},"chunkOwner":{"__isSmartRef__":true,"id":1409},"_id":"_11200","storedString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 20\nMax: 5 [kW]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1428":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1429":{"morph":{"__isSmartRef__":true,"id":1409},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1430":{"sourceObj":{"__isSmartRef__":true,"id":1409},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1056},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":1431},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1431":{"source":{"__isSmartRef__":true,"id":1409},"target":{"__isSmartRef__":true,"id":1056}},"1432":{"resizeWidth":true},"1433":{"_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(541.7,338.3)","_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)"},"1434":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":1435},{"__isSmartRef__":true,"id":1437},{"__isSmartRef__":true,"id":1439},{"__isSmartRef__":true,"id":1441},{"__isSmartRef__":true,"id":1443},{"__isSmartRef__":true,"id":1445},{"__isSmartRef__":true,"id":1447},{"__isSmartRef__":true,"id":1449},{"__isSmartRef__":true,"id":1451},{"__isSmartRef__":true,"id":1453},{"__isSmartRef__":true,"id":1455},{"__isSmartRef__":true,"id":1457},{"__isSmartRef__":true,"id":1459},{"__isSmartRef__":true,"id":1461},{"__isSmartRef__":true,"id":1463},{"__isSmartRef__":true,"id":1465},{"__isSmartRef__":true,"id":1467},{"__isSmartRef__":true,"id":1469},{"__isSmartRef__":true,"id":1471},{"__isSmartRef__":true,"id":1473},{"__isSmartRef__":true,"id":1475},{"__isSmartRef__":true,"id":1477},{"__isSmartRef__":true,"id":1479},{"__isSmartRef__":true,"id":1481},{"__isSmartRef__":true,"id":1483},{"__isSmartRef__":true,"id":1485},{"__isSmartRef__":true,"id":1487},{"__isSmartRef__":true,"id":1489},{"__isSmartRef__":true,"id":1491}],"lastModifiedDate":{"__isSmartRef__":true,"id":1493},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1435":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":1436}},"1436":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"1437":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":1438}},"1438":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"1439":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":1440}},"1440":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"1441":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":1442}},"1442":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1443":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":1444}},"1444":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1445":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":1446}},"1446":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1447":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":1448}},"1448":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1449":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":1450}},"1450":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1451":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":1452}},"1452":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1453":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":1454}},"1454":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"1455":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":1456}},"1456":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"1457":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":1458}},"1458":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"1459":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":1460}},"1460":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"1461":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":1462}},"1462":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"1463":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":1464}},"1464":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"1465":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":1466}},"1466":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"1467":{"date":{"__isSmartRef__":true,"id":1468},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"1468":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"1469":{"date":{"__isSmartRef__":true,"id":1470},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"1470":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"1471":{"date":{"__isSmartRef__":true,"id":1472},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"1472":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"1473":{"date":{"__isSmartRef__":true,"id":1474},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"1474":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"1475":{"date":{"__isSmartRef__":true,"id":1476},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"1476":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"1477":{"date":{"__isSmartRef__":true,"id":1478},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"1478":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"1479":{"date":{"__isSmartRef__":true,"id":1480},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"1480":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"1481":{"date":{"__isSmartRef__":true,"id":1482},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"1482":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"1483":{"date":{"__isSmartRef__":true,"id":1484},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"1484":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"1485":{"date":{"__isSmartRef__":true,"id":1486},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"1486":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"1487":{"date":{"__isSmartRef__":true,"id":1488},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"1488":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"1489":{"date":{"__isSmartRef__":true,"id":1490},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"1490":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"1491":{"date":{"__isSmartRef__":true,"id":1492},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"1492":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"1493":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"1494":{"morph":{"__isSmartRef__":true,"id":1056},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1495":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1496}},"1496":{"test01IsMorph":{"__isSmartRef__":true,"id":1497}},"1497":{"varMapping":{"__isSmartRef__":true,"id":1498},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1499},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1498":{"this":{"__isSmartRef__":true,"id":1495}},"1499":{},"1500":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1501":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1502":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1503":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1504":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1505":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1506":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1507":{"morph":{"__isSmartRef__":true,"id":1056},"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)"},"1508":{"adjustForNewBounds":true},"1509":{"Heat":0,"Stopped":false,"Factor":20,"Max":5},"1510":{"sourceObj":{"__isSmartRef__":true,"id":1056},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1057},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":1511},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1511":{"source":{"__isSmartRef__":true,"id":1056},"target":{"__isSmartRef__":true,"id":1057}},"1512":{"Heat":"kW/s","Max":"kW"},"1513":{"referencedBy":{"__isSmartRef__":true,"id":1514},"references":{"__isSmartRef__":true,"id":1515}},"1514":{},"1515":{},"1516":{"submorphs":[{"__isSmartRef__":true,"id":1517},{"__isSmartRef__":true,"id":1852},{"__isSmartRef__":true,"id":2243},{"__isSmartRef__":true,"id":2808},{"__isSmartRef__":true,"id":3117},{"__isSmartRef__":true,"id":3426},{"__isSmartRef__":true,"id":4032},{"__isSmartRef__":true,"id":4270},{"__isSmartRef__":true,"id":4411},{"__isSmartRef__":true,"id":4681},{"__isSmartRef__":true,"id":1056},{"__isSmartRef__":true,"id":5084}],"scripts":[],"id":"22930405-15F8-450C-AB32-1E33682FD139","shape":{"__isSmartRef__":true,"id":5599},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"EnergySimulation","partsBinMetaInfo":{"__isSmartRef__":true,"id":5600},"eventHandler":{"__isSmartRef__":true,"id":5644},"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":5645},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"prevScroll":[0,0],"isCopyMorphRef":true,"morphRefId":2,"grabbingEnabled":false,"draggingEnabled":false,"owner":{"__isSmartRef__":true,"id":0},"deltaTime":0.1,"simStepsAtOnce":50,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5650},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(1310.1,-11.5)","_Position":"lively.pt(900.8,445.9)"},"1517":{"submorphs":[{"__isSmartRef__":true,"id":1518},{"__isSmartRef__":true,"id":1542},{"__isSmartRef__":true,"id":1651},{"__isSmartRef__":true,"id":1673}],"scripts":[],"id":"DFB2A7FC-7718-4796-AB3E-FF2AB6D08B51","shape":{"__isSmartRef__":true,"id":1697},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1698},"eventHandler":{"__isSmartRef__":true,"id":1758},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":1759},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":1764},{"__isSmartRef__":true,"id":1765},{"__isSmartRef__":true,"id":1766},{"__isSmartRef__":true,"id":1767},{"__isSmartRef__":true,"id":1768},{"__isSmartRef__":true,"id":1769},{"__isSmartRef__":true,"id":1770},{"__isSmartRef__":true,"id":1771}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":1772},"$":{"__isSmartRef__":true,"id":1773},"name":"Fuel","attributeConnections":[{"__isSmartRef__":true,"id":1774}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":1776},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":1777},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1780},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(143.6,-16.2)","_Position":"lively.pt(389.6,242.3)"},"1518":{"submorphs":[],"scripts":[],"id":"AC207BEE-E5D2-4103-8C3F-615D27D85EBA","shape":{"__isSmartRef__":true,"id":1519},"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":1520},"textChunks":[{"__isSmartRef__":true,"id":1522}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1524},{"__isSmartRef__":true,"id":1525}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":1526},"owner":{"__isSmartRef__":true,"id":1517},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":1517},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"priorSelectionRange":[4,4],"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1527},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"1519":{"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)"},"1520":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":1521},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1521":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"1522":{"style":{"__isSmartRef__":true,"id":1523},"chunkOwner":{"__isSmartRef__":true,"id":1518},"_id":"_5507","storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1523":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1524":{"sourceObj":{"__isSmartRef__":true,"id":1518},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1518},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1525":{"sourceObj":{"__isSmartRef__":true,"id":1518},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1518},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1526":{"morph":{"__isSmartRef__":true,"id":1518},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1527":{"updateLabel":{"__isSmartRef__":true,"id":1528},"renameOwner":{"__isSmartRef__":true,"id":1531},"onFocus":{"__isSmartRef__":true,"id":1534}},"1528":{"varMapping":{"__isSmartRef__":true,"id":1529},"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":1530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1529":{"this":{"__isSmartRef__":true,"id":1518}},"1530":{},"1531":{"varMapping":{"__isSmartRef__":true,"id":1532},"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":1533},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1532":{"this":{"__isSmartRef__":true,"id":1518}},"1533":{},"1534":{"varMapping":{"__isSmartRef__":true,"id":1535},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":1540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1535":{"this":{"__isSmartRef__":true,"id":1518},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1536}},"1536":{"$super":{"__isSmartRef__":true,"id":1537}},"1537":{"varMapping":{"__isSmartRef__":true,"id":1538},"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":1539},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1538":{"obj":{"__isSmartRef__":true,"id":1518},"name":"onFocus"},"1539":{},"1540":{"timestamp":{"__isSmartRef__":true,"id":1541},"user":"jenslincke","tags":[]},"1541":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"1542":{"submorphs":[],"scripts":[],"id":"A4F14F4B-C9F5-48B9-AA63-DA98330BE9B1","shape":{"__isSmartRef__":true,"id":1543},"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":1544},"textChunks":[{"__isSmartRef__":true,"id":1560},{"__isSmartRef__":true,"id":1562},{"__isSmartRef__":true,"id":1564},{"__isSmartRef__":true,"id":1566},{"__isSmartRef__":true,"id":1568},{"__isSmartRef__":true,"id":1570},{"__isSmartRef__":true,"id":1572},{"__isSmartRef__":true,"id":1574},{"__isSmartRef__":true,"id":1576},{"__isSmartRef__":true,"id":1578},{"__isSmartRef__":true,"id":1580},{"__isSmartRef__":true,"id":1582},{"__isSmartRef__":true,"id":1584},{"__isSmartRef__":true,"id":1586}],"charsReplaced":" ","lastFindLoc":409,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1588},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":1589},{"__isSmartRef__":true,"id":1590},{"__isSmartRef__":true,"id":1591},{"__isSmartRef__":true,"id":1592},{"__isSmartRef__":true,"id":1593},{"__isSmartRef__":true,"id":1594},{"__isSmartRef__":true,"id":1595},{"__isSmartRef__":true,"id":1596}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1597},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":1517},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":1598},{"__isSmartRef__":true,"id":1600}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":67,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[301,301],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"if ($.Gas < 0) {\n problem(\"GasEmpty\")\n}","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1602},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"1543":{"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(205.7,59.9)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1544":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1545},{"__isSmartRef__":true,"id":1547},{"__isSmartRef__":true,"id":1549},{"__isSmartRef__":true,"id":1551},{"__isSmartRef__":true,"id":1553},{"__isSmartRef__":true,"id":1555},{"__isSmartRef__":true,"id":1557}],"lastModifiedDate":{"__isSmartRef__":true,"id":1559},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1545":{"date":{"__isSmartRef__":true,"id":1546},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1546":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1547":{"date":{"__isSmartRef__":true,"id":1548},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1548":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1549":{"date":{"__isSmartRef__":true,"id":1550},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1550":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1551":{"date":{"__isSmartRef__":true,"id":1552},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1552":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1553":{"date":{"__isSmartRef__":true,"id":1554},"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"},"1554":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1555":{"date":{"__isSmartRef__":true,"id":1556},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1556":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1557":{"date":{"__isSmartRef__":true,"id":1558},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1558":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1559":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1560":{"style":{"__isSmartRef__":true,"id":1561},"chunkOwner":{"__isSmartRef__":true,"id":1542},"_id":"_12","storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1561":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1562":{"_id":"_23","style":{"__isSmartRef__":true,"id":1563},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1563":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1564":{"_id":"_36","style":{"__isSmartRef__":true,"id":1565},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1565":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1566":{"_id":"_37","style":{"__isSmartRef__":true,"id":1567},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1567":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1568":{"_id":"_35","style":{"__isSmartRef__":true,"id":1569},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1569":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1570":{"_id":"_24","style":{"__isSmartRef__":true,"id":1571},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1571":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"1572":{"_id":"_25","style":{"__isSmartRef__":true,"id":1573},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1573":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1574":{"_id":"_26","style":{"__isSmartRef__":true,"id":1575},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1575":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1576":{"_id":"_27","style":{"__isSmartRef__":true,"id":1577},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1577":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1578":{"_id":"_33","style":{"__isSmartRef__":true,"id":1579},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"problem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1579":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1580":{"_id":"_34","style":{"__isSmartRef__":true,"id":1581},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1581":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1582":{"_id":"_28","style":{"__isSmartRef__":true,"id":1583},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"\"GasEmpty\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1583":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"1584":{"_id":"_29","style":{"__isSmartRef__":true,"id":1585},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1585":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1586":{"_id":"_30","style":{"__isSmartRef__":true,"id":1587},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1587":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1588":{"morph":{"__isSmartRef__":true,"id":1542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1589":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1590":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1591":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1592":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1593":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1594":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1595":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1596":{"morph":{"__isSmartRef__":true,"id":1542},"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)"},"1597":{"resizeWidth":true,"resizeHeight":true},"1598":{"sourceObj":{"__isSmartRef__":true,"id":1542},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1517},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":1599},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1599":{"source":{"__isSmartRef__":true,"id":1542},"target":{"__isSmartRef__":true,"id":1517}},"1600":{"sourceObj":{"__isSmartRef__":true,"id":1542},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1542},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1601},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1601":{"source":{"__isSmartRef__":true,"id":1542},"target":{"__isSmartRef__":true,"id":1542}},"1602":{"boundEval":{"__isSmartRef__":true,"id":1603},"getDoitContext":{"__isSmartRef__":true,"id":1611},"installLayers":{"__isSmartRef__":true,"id":1619},"onLoad":{"__isSmartRef__":true,"id":1623},"highligtScriptNames":{"__isSmartRef__":true,"id":1627},"getAutoCompletion":{"__isSmartRef__":true,"id":1631},"reset":{"__isSmartRef__":true,"id":1639},"getLastWordRange":{"__isSmartRef__":true,"id":1643}},"1603":{"varMapping":{"__isSmartRef__":true,"id":1604},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1609},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1604":{"this":{"__isSmartRef__":true,"id":1542},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1605}},"1605":{"$super":{"__isSmartRef__":true,"id":1606}},"1606":{"varMapping":{"__isSmartRef__":true,"id":1607},"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":1608},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1607":{"obj":{"__isSmartRef__":true,"id":1542},"name":"boundEval"},"1608":{},"1609":{"timestamp":{"__isSmartRef__":true,"id":1610},"user":"jenslincke","tags":[]},"1610":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"1611":{"varMapping":{"__isSmartRef__":true,"id":1612},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":1617},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1612":{"this":{"__isSmartRef__":true,"id":1542},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1613}},"1613":{"$super":{"__isSmartRef__":true,"id":1614}},"1614":{"varMapping":{"__isSmartRef__":true,"id":1615},"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":1616},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1615":{"obj":{"__isSmartRef__":true,"id":1542},"name":"getDoitContext"},"1616":{},"1617":{"timestamp":{"__isSmartRef__":true,"id":1618},"user":"jenslincke","tags":[]},"1618":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"1619":{"varMapping":{"__isSmartRef__":true,"id":1620},"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":1621},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1620":{"this":{"__isSmartRef__":true,"id":1542}},"1621":{"timestamp":{"__isSmartRef__":true,"id":1622},"user":"jenslincke","tags":[]},"1622":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"1623":{"varMapping":{"__isSmartRef__":true,"id":1624},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":1625},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1624":{"this":{"__isSmartRef__":true,"id":1542}},"1625":{"timestamp":{"__isSmartRef__":true,"id":1626},"user":"jenslincke","tags":[]},"1626":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"1627":{"varMapping":{"__isSmartRef__":true,"id":1628},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":1629},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1628":{"this":{"__isSmartRef__":true,"id":1542}},"1629":{"timestamp":{"__isSmartRef__":true,"id":1630},"user":"jenslincke","tags":[]},"1630":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"1631":{"varMapping":{"__isSmartRef__":true,"id":1632},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":1637},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1632":{"this":{"__isSmartRef__":true,"id":1542},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1633}},"1633":{"$super":{"__isSmartRef__":true,"id":1634}},"1634":{"varMapping":{"__isSmartRef__":true,"id":1635},"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":1636},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1635":{"obj":{"__isSmartRef__":true,"id":1542},"name":"getAutoCompletion"},"1636":{},"1637":{"timestamp":{"__isSmartRef__":true,"id":1638},"user":"jenslincke","tags":[]},"1638":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"1639":{"varMapping":{"__isSmartRef__":true,"id":1640},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":1641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1640":{"this":{"__isSmartRef__":true,"id":1542}},"1641":{"timestamp":{"__isSmartRef__":true,"id":1642},"user":"jenslincke","tags":[]},"1642":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"1643":{"varMapping":{"__isSmartRef__":true,"id":1644},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1644":{"this":{"__isSmartRef__":true,"id":1542},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1645}},"1645":{"$super":{"__isSmartRef__":true,"id":1646}},"1646":{"varMapping":{"__isSmartRef__":true,"id":1647},"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":1648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1647":{"obj":{"__isSmartRef__":true,"id":1542},"name":"getLastWordRange"},"1648":{},"1649":{"timestamp":{"__isSmartRef__":true,"id":1650},"user":"jenslincke","tags":[]},"1650":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"1651":{"submorphs":[],"scripts":[],"id":"B613E79A-2A6A-4074-9269-4E84C970988E","shape":{"__isSmartRef__":true,"id":1652},"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":1653},"textChunks":[{"__isSmartRef__":true,"id":1669}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1671},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1517},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1672},"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,144.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)"},"1652":{"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(197.8,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1653":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1654},{"__isSmartRef__":true,"id":1656},{"__isSmartRef__":true,"id":1658},{"__isSmartRef__":true,"id":1660},{"__isSmartRef__":true,"id":1662},{"__isSmartRef__":true,"id":1664},{"__isSmartRef__":true,"id":1666}],"lastModifiedDate":{"__isSmartRef__":true,"id":1668},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1654":{"date":{"__isSmartRef__":true,"id":1655},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1655":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1656":{"date":{"__isSmartRef__":true,"id":1657},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1657":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1658":{"date":{"__isSmartRef__":true,"id":1659},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1659":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1660":{"date":{"__isSmartRef__":true,"id":1661},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1661":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1662":{"date":{"__isSmartRef__":true,"id":1663},"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"},"1663":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1664":{"date":{"__isSmartRef__":true,"id":1665},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1665":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1666":{"date":{"__isSmartRef__":true,"id":1667},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1667":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1668":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1669":{"style":{"__isSmartRef__":true,"id":1670},"chunkOwner":{"__isSmartRef__":true,"id":1651},"_id":"_11212","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1670":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1671":{"morph":{"__isSmartRef__":true,"id":1651},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1672":{"moveVertical":true,"resizeWidth":true},"1673":{"submorphs":[],"scripts":[],"id":"2DDFF527-AE15-4EA6-B4D6-6696C2A21A21","shape":{"__isSmartRef__":true,"id":1674},"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":1675},"textChunks":[{"__isSmartRef__":true,"id":1691}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1693},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1517},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":1694}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1696},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"1674":{"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(191.3,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1675":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1676},{"__isSmartRef__":true,"id":1678},{"__isSmartRef__":true,"id":1680},{"__isSmartRef__":true,"id":1682},{"__isSmartRef__":true,"id":1684},{"__isSmartRef__":true,"id":1686},{"__isSmartRef__":true,"id":1688}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":1690},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1676":{"date":{"__isSmartRef__":true,"id":1677},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1677":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1678":{"date":{"__isSmartRef__":true,"id":1679},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1679":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1680":{"date":{"__isSmartRef__":true,"id":1681},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1681":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1682":{"date":{"__isSmartRef__":true,"id":1683},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1683":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1684":{"date":{"__isSmartRef__":true,"id":1685},"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"},"1685":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1686":{"date":{"__isSmartRef__":true,"id":1687},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1687":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1688":{"date":{"__isSmartRef__":true,"id":1689},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1689":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1690":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1691":{"style":{"__isSmartRef__":true,"id":1692},"chunkOwner":{"__isSmartRef__":true,"id":1673},"_id":"_11193","storedString":"Gas: 36000 [kWs]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1692":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1693":{"morph":{"__isSmartRef__":true,"id":1673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1694":{"sourceObj":{"__isSmartRef__":true,"id":1673},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1517},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":1695},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1695":{"source":{"__isSmartRef__":true,"id":1673},"target":{"__isSmartRef__":true,"id":1517}},"1696":{"resizeWidth":true},"1697":{"_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(219.6,162.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)"},"1698":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":1699},{"__isSmartRef__":true,"id":1701},{"__isSmartRef__":true,"id":1703},{"__isSmartRef__":true,"id":1705},{"__isSmartRef__":true,"id":1707},{"__isSmartRef__":true,"id":1709},{"__isSmartRef__":true,"id":1711},{"__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}],"lastModifiedDate":{"__isSmartRef__":true,"id":1757},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1699":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":1700}},"1700":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"1701":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":1702}},"1702":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"1703":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":1704}},"1704":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"1705":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":1706}},"1706":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"1707":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":1708}},"1708":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"1709":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":1710}},"1710":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"1711":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":1712}},"1712":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"1713":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":1714}},"1714":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"1715":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":1716}},"1716":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"1717":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":1718}},"1718":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"1719":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":1720}},"1720":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"1721":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":1722}},"1722":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"1723":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":1724}},"1724":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"1725":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":1726}},"1726":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"1727":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":1728}},"1728":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"1729":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":1730}},"1730":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"1731":{"date":{"__isSmartRef__":true,"id":1732},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"1732":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"1733":{"date":{"__isSmartRef__":true,"id":1734},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"1734":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"1735":{"date":{"__isSmartRef__":true,"id":1736},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"1736":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"1737":{"date":{"__isSmartRef__":true,"id":1738},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"1738":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"1739":{"date":{"__isSmartRef__":true,"id":1740},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"1740":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"1741":{"date":{"__isSmartRef__":true,"id":1742},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"1742":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"1743":{"date":{"__isSmartRef__":true,"id":1744},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"1744":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"1745":{"date":{"__isSmartRef__":true,"id":1746},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"1746":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"1747":{"date":{"__isSmartRef__":true,"id":1748},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"1748":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"1749":{"date":{"__isSmartRef__":true,"id":1750},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"1750":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"1751":{"date":{"__isSmartRef__":true,"id":1752},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"1752":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"1753":{"date":{"__isSmartRef__":true,"id":1754},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"1754":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"1755":{"date":{"__isSmartRef__":true,"id":1756},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"1756":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"1757":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"1758":{"morph":{"__isSmartRef__":true,"id":1517},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1759":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1760}},"1760":{"test01IsMorph":{"__isSmartRef__":true,"id":1761}},"1761":{"varMapping":{"__isSmartRef__":true,"id":1762},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":1763},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1762":{"this":{"__isSmartRef__":true,"id":1759}},"1763":{},"1764":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1765":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1766":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1767":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1768":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1769":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1770":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1771":{"morph":{"__isSmartRef__":true,"id":1517},"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)"},"1772":{"adjustForNewBounds":true},"1773":{"Gas":36000},"1774":{"sourceObj":{"__isSmartRef__":true,"id":1517},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1518},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":1775},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1775":{"source":{"__isSmartRef__":true,"id":1517},"target":{"__isSmartRef__":true,"id":1518}},"1776":{"Gas":"kWs"},"1777":{"referencedBy":{"__isSmartRef__":true,"id":1778},"references":{"__isSmartRef__":true,"id":1779}},"1778":{},"1779":{},"1780":{"migrateFrom":{"__isSmartRef__":true,"id":1781},"parsePropeties":{"__isSmartRef__":true,"id":1785},"printProperties":{"__isSmartRef__":true,"id":1789},"parseSimulationSource":{"__isSmartRef__":true,"id":1793},"simulateStep":{"__isSmartRef__":true,"id":1797},"showError":{"__isSmartRef__":true,"id":1800},"throwSimulationProblem":{"__isSmartRef__":true,"id":1804},"updateUI":{"__isSmartRef__":true,"id":1808},"resetStatus":{"__isSmartRef__":true,"id":1812},"simulateOneStep":{"__isSmartRef__":true,"id":1816},"reset":{"__isSmartRef__":true,"id":1820},"resetScriptAnalysis":{"__isSmartRef__":true,"id":1824},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":1828},"logReference":{"__isSmartRef__":true,"id":1832},"showScriptAnalysis":{"__isSmartRef__":true,"id":1836},"showReferenceTo":{"__isSmartRef__":true,"id":1840},"resetSourceHighlighting":{"__isSmartRef__":true,"id":1844},"showNameReference":{"__isSmartRef__":true,"id":1848}},"1781":{"varMapping":{"__isSmartRef__":true,"id":1782},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":1783},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1782":{"this":{"__isSmartRef__":true,"id":1517}},"1783":{"timestamp":{"__isSmartRef__":true,"id":1784},"user":"jenslincke","tags":[]},"1784":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"1785":{"varMapping":{"__isSmartRef__":true,"id":1786},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":1787},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1786":{"this":{"__isSmartRef__":true,"id":1517}},"1787":{"timestamp":{"__isSmartRef__":true,"id":1788},"user":"jenslincke","tags":[]},"1788":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"1789":{"varMapping":{"__isSmartRef__":true,"id":1790},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":1791},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1790":{"this":{"__isSmartRef__":true,"id":1517}},"1791":{"timestamp":{"__isSmartRef__":true,"id":1792},"user":"jenslincke","tags":[]},"1792":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"1793":{"varMapping":{"__isSmartRef__":true,"id":1794},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":1795},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1794":{"this":{"__isSmartRef__":true,"id":1517}},"1795":{"timestamp":{"__isSmartRef__":true,"id":1796},"user":"jenslincke","tags":[]},"1796":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"1797":{"varMapping":{"__isSmartRef__":true,"id":1798},"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":1799},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1798":{"this":{"__isSmartRef__":true,"id":1517}},"1799":{},"1800":{"varMapping":{"__isSmartRef__":true,"id":1801},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":1802},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1801":{"this":{"__isSmartRef__":true,"id":1517}},"1802":{"timestamp":{"__isSmartRef__":true,"id":1803},"user":"jenslincke","tags":[]},"1803":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"1804":{"varMapping":{"__isSmartRef__":true,"id":1805},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":1806},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1805":{"this":{"__isSmartRef__":true,"id":1517}},"1806":{"timestamp":{"__isSmartRef__":true,"id":1807},"user":"jenslincke","tags":[]},"1807":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"1808":{"varMapping":{"__isSmartRef__":true,"id":1809},"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":1810},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1809":{"this":{"__isSmartRef__":true,"id":1517}},"1810":{"timestamp":{"__isSmartRef__":true,"id":1811},"user":"jenslincke","tags":[]},"1811":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"1812":{"varMapping":{"__isSmartRef__":true,"id":1813},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":1814},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1813":{"this":{"__isSmartRef__":true,"id":1517}},"1814":{"timestamp":{"__isSmartRef__":true,"id":1815},"user":"jenslincke","tags":[]},"1815":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"1816":{"varMapping":{"__isSmartRef__":true,"id":1817},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1818},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1817":{"this":{"__isSmartRef__":true,"id":1517}},"1818":{"timestamp":{"__isSmartRef__":true,"id":1819},"user":"jenslincke","tags":[]},"1819":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"1820":{"varMapping":{"__isSmartRef__":true,"id":1821},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":1822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1821":{"this":{"__isSmartRef__":true,"id":1517}},"1822":{"timestamp":{"__isSmartRef__":true,"id":1823},"user":"jenslincke","tags":[]},"1823":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"1824":{"varMapping":{"__isSmartRef__":true,"id":1825},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":1826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1825":{"this":{"__isSmartRef__":true,"id":1517}},"1826":{"timestamp":{"__isSmartRef__":true,"id":1827},"user":"jenslincke","tags":[]},"1827":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"1828":{"varMapping":{"__isSmartRef__":true,"id":1829},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":1830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1829":{"this":{"__isSmartRef__":true,"id":1517}},"1830":{"timestamp":{"__isSmartRef__":true,"id":1831},"user":"jenslincke","tags":[]},"1831":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"1832":{"varMapping":{"__isSmartRef__":true,"id":1833},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":1834},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1833":{"this":{"__isSmartRef__":true,"id":1517}},"1834":{"timestamp":{"__isSmartRef__":true,"id":1835},"user":"jenslincke","tags":[]},"1835":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"1836":{"varMapping":{"__isSmartRef__":true,"id":1837},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":1838},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1837":{"this":{"__isSmartRef__":true,"id":1517}},"1838":{"timestamp":{"__isSmartRef__":true,"id":1839},"user":"jenslincke","tags":[]},"1839":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"1840":{"varMapping":{"__isSmartRef__":true,"id":1841},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":1842},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1841":{"this":{"__isSmartRef__":true,"id":1517}},"1842":{"timestamp":{"__isSmartRef__":true,"id":1843},"user":"jenslincke","tags":[]},"1843":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"1844":{"varMapping":{"__isSmartRef__":true,"id":1845},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":1846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1845":{"this":{"__isSmartRef__":true,"id":1517}},"1846":{"timestamp":{"__isSmartRef__":true,"id":1847},"user":"jenslincke","tags":[]},"1847":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"1848":{"varMapping":{"__isSmartRef__":true,"id":1849},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":1850},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1849":{"this":{"__isSmartRef__":true,"id":1517}},"1850":{"timestamp":{"__isSmartRef__":true,"id":1851},"user":"jenslincke","tags":[]},"1851":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"1852":{"submorphs":[{"__isSmartRef__":true,"id":1853},{"__isSmartRef__":true,"id":1877},{"__isSmartRef__":true,"id":2042},{"__isSmartRef__":true,"id":2064}],"scripts":[],"id":"C17BC36A-2052-4D78-861A-4433B5322C93","shape":{"__isSmartRef__":true,"id":2088},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2089},"eventHandler":{"__isSmartRef__":true,"id":2149},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":2150},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":2155},{"__isSmartRef__":true,"id":2156},{"__isSmartRef__":true,"id":2157},{"__isSmartRef__":true,"id":2158},{"__isSmartRef__":true,"id":2159},{"__isSmartRef__":true,"id":2160},{"__isSmartRef__":true,"id":2161},{"__isSmartRef__":true,"id":2162}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":2163},"$":{"__isSmartRef__":true,"id":2164},"name":"HeatConsumer","attributeConnections":[{"__isSmartRef__":true,"id":2165}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":2167},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":2168},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2171},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(1391.7,23.4)"},"1853":{"submorphs":[],"scripts":[],"id":"028257A2-46D8-488C-B785-18F6100942A2","shape":{"__isSmartRef__":true,"id":1854},"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":1855},"textChunks":[{"__isSmartRef__":true,"id":1857}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":1859},{"__isSmartRef__":true,"id":1860}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":1861},"owner":{"__isSmartRef__":true,"id":1852},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":1852},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1862},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"1854":{"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)"},"1855":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":1856},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1856":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"1857":{"style":{"__isSmartRef__":true,"id":1858},"chunkOwner":{"__isSmartRef__":true,"id":1853},"_id":"_5517","storedString":"HeatConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1858":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1859":{"sourceObj":{"__isSmartRef__":true,"id":1853},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":1853},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1860":{"sourceObj":{"__isSmartRef__":true,"id":1853},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1853},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1861":{"morph":{"__isSmartRef__":true,"id":1853},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1862":{"updateLabel":{"__isSmartRef__":true,"id":1863},"renameOwner":{"__isSmartRef__":true,"id":1866},"onFocus":{"__isSmartRef__":true,"id":1869}},"1863":{"varMapping":{"__isSmartRef__":true,"id":1864},"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":1865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1864":{"this":{"__isSmartRef__":true,"id":1853}},"1865":{},"1866":{"varMapping":{"__isSmartRef__":true,"id":1867},"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":1868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1867":{"this":{"__isSmartRef__":true,"id":1853}},"1868":{},"1869":{"varMapping":{"__isSmartRef__":true,"id":1870},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":1875},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1870":{"this":{"__isSmartRef__":true,"id":1853},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1871}},"1871":{"$super":{"__isSmartRef__":true,"id":1872}},"1872":{"varMapping":{"__isSmartRef__":true,"id":1873},"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":1874},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1873":{"obj":{"__isSmartRef__":true,"id":1853},"name":"onFocus"},"1874":{},"1875":{"timestamp":{"__isSmartRef__":true,"id":1876},"user":"jenslincke","tags":[]},"1876":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"1877":{"submorphs":[],"scripts":[],"id":"7FD2ACC3-C78D-4023-9A4A-16E4430F60BA","shape":{"__isSmartRef__":true,"id":1878},"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":1879},"textChunks":[{"__isSmartRef__":true,"id":1895},{"__isSmartRef__":true,"id":1897},{"__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},{"__isSmartRef__":true,"id":1913},{"__isSmartRef__":true,"id":1916},{"__isSmartRef__":true,"id":1918},{"__isSmartRef__":true,"id":1920},{"__isSmartRef__":true,"id":1922},{"__isSmartRef__":true,"id":1924},{"__isSmartRef__":true,"id":1926},{"__isSmartRef__":true,"id":1928},{"__isSmartRef__":true,"id":1931},{"__isSmartRef__":true,"id":1933},{"__isSmartRef__":true,"id":1935},{"__isSmartRef__":true,"id":1937},{"__isSmartRef__":true,"id":1939},{"__isSmartRef__":true,"id":1941},{"__isSmartRef__":true,"id":1943},{"__isSmartRef__":true,"id":1945},{"__isSmartRef__":true,"id":1947},{"__isSmartRef__":true,"id":1949},{"__isSmartRef__":true,"id":1951},{"__isSmartRef__":true,"id":1953},{"__isSmartRef__":true,"id":1955},{"__isSmartRef__":true,"id":1957},{"__isSmartRef__":true,"id":1959},{"__isSmartRef__":true,"id":1961},{"__isSmartRef__":true,"id":1963},{"__isSmartRef__":true,"id":1965},{"__isSmartRef__":true,"id":1967},{"__isSmartRef__":true,"id":1969},{"__isSmartRef__":true,"id":1971},{"__isSmartRef__":true,"id":1973},{"__isSmartRef__":true,"id":1975},{"__isSmartRef__":true,"id":1977}],"charsReplaced":"#","lastFindLoc":209,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":1979},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":1980},{"__isSmartRef__":true,"id":1981},{"__isSmartRef__":true,"id":1982},{"__isSmartRef__":true,"id":1983},{"__isSmartRef__":true,"id":1984},{"__isSmartRef__":true,"id":1985},{"__isSmartRef__":true,"id":1986},{"__isSmartRef__":true,"id":1987}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":1988},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":1852},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":1989},{"__isSmartRef__":true,"id":1991}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":77,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[190,190],"__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}\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1993},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"1878":{"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(396.1,187.2)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"1879":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":1880},{"__isSmartRef__":true,"id":1882},{"__isSmartRef__":true,"id":1884},{"__isSmartRef__":true,"id":1886},{"__isSmartRef__":true,"id":1888},{"__isSmartRef__":true,"id":1890},{"__isSmartRef__":true,"id":1892}],"lastModifiedDate":{"__isSmartRef__":true,"id":1894},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"1880":{"date":{"__isSmartRef__":true,"id":1881},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"1881":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"1882":{"date":{"__isSmartRef__":true,"id":1883},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"1883":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"1884":{"date":{"__isSmartRef__":true,"id":1885},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"1885":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"1886":{"date":{"__isSmartRef__":true,"id":1887},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"1887":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"1888":{"date":{"__isSmartRef__":true,"id":1889},"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"},"1889":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"1890":{"date":{"__isSmartRef__":true,"id":1891},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"1891":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"1892":{"date":{"__isSmartRef__":true,"id":1893},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"1893":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"1894":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"1895":{"style":{"__isSmartRef__":true,"id":1896},"chunkOwner":{"__isSmartRef__":true,"id":1877},"_id":"_13","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1896":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1897":{"_id":"_38","style":{"__isSmartRef__":true,"id":1898},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" delta =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1898":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1899":{"_id":"_77","style":{"__isSmartRef__":true,"id":1900},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1900":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1901":{"_id":"_78","style":{"__isSmartRef__":true,"id":1902},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"Demand","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1902":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1903":{"_id":"_76","style":{"__isSmartRef__":true,"id":1904},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1904":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1905":{"_id":"_85","style":{"__isSmartRef__":true,"id":1906},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1906":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"1907":{"_id":"_39","style":{"__isSmartRef__":true,"id":1908},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1908":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1909":{"_id":"_40","style":{"__isSmartRef__":true,"id":1910},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1910":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1911":{"_id":"_66","style":{"__isSmartRef__":true,"id":1912},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1912":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1913":{"_id":"_68","style":{"__isSmartRef__":true,"id":1914},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1914":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1915},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1915":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1852}},"1916":{"_id":"_67","style":{"__isSmartRef__":true,"id":1917},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1917":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1918":{"_id":"_69","style":{"__isSmartRef__":true,"id":1919},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1919":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1920":{"_id":"_70","style":{"__isSmartRef__":true,"id":1921},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" > delta) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1921":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1922":{"_id":"_41","style":{"__isSmartRef__":true,"id":1923},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1923":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1924":{"_id":"_42","style":{"__isSmartRef__":true,"id":1925},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1925":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1926":{"_id":"_71","style":{"__isSmartRef__":true,"id":1927},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1927":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1928":{"_id":"_73","style":{"__isSmartRef__":true,"id":1929},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1929":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":1930},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1930":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":1852}},"1931":{"_id":"_72","style":{"__isSmartRef__":true,"id":1932},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1932":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1933":{"_id":"_74","style":{"__isSmartRef__":true,"id":1934},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1934":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1935":{"_id":"_75","style":{"__isSmartRef__":true,"id":1936},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1936":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1937":{"_id":"_80","style":{"__isSmartRef__":true,"id":1938},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1938":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1939":{"_id":"_81","style":{"__isSmartRef__":true,"id":1940},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"Consumed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1940":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1941":{"_id":"_79","style":{"__isSmartRef__":true,"id":1942},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" += delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1942":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1943":{"_id":"_43","style":{"__isSmartRef__":true,"id":1944},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1944":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"1945":{"_id":"_44","style":{"__isSmartRef__":true,"id":1946},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" TODO consume Extra","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1946":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1947":{"_id":"_45","style":{"__isSmartRef__":true,"id":1948},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1948":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1949":{"_id":"_46","style":{"__isSmartRef__":true,"id":1950},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1950":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1951":{"_id":"_47","style":{"__isSmartRef__":true,"id":1952},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1952":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1953":{"_id":"_48","style":{"__isSmartRef__":true,"id":1954},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1954":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"1955":{"_id":"_49","style":{"__isSmartRef__":true,"id":1956},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1956":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1957":{"_id":"_50","style":{"__isSmartRef__":true,"id":1958},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1958":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1959":{"_id":"_51","style":{"__isSmartRef__":true,"id":1960},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1960":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1961":{"_id":"_83","style":{"__isSmartRef__":true,"id":1962},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1962":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"1963":{"_id":"_84","style":{"__isSmartRef__":true,"id":1964},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"Extra","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1964":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"1965":{"_id":"_82","style":{"__isSmartRef__":true,"id":1966},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":" += delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1966":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1967":{"_id":"_64","style":{"__isSmartRef__":true,"id":1968},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"problem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1968":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"1969":{"_id":"_65","style":{"__isSmartRef__":true,"id":1970},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1970":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1971":{"_id":"_52","style":{"__isSmartRef__":true,"id":1972},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"\"RoomToCold\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1972":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"1973":{"_id":"_53","style":{"__isSmartRef__":true,"id":1974},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1974":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1975":{"_id":"_54","style":{"__isSmartRef__":true,"id":1976},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1976":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"1977":{"_id":"_55","style":{"__isSmartRef__":true,"id":1978},"chunkOwner":{"__isSmartRef__":true,"id":1877},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1978":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"1979":{"morph":{"__isSmartRef__":true,"id":1877},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1980":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1981":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1982":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1983":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1984":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1985":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1986":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1987":{"morph":{"__isSmartRef__":true,"id":1877},"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)"},"1988":{"resizeWidth":true,"resizeHeight":true},"1989":{"sourceObj":{"__isSmartRef__":true,"id":1877},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1852},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":1990},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1990":{"source":{"__isSmartRef__":true,"id":1877},"target":{"__isSmartRef__":true,"id":1852}},"1991":{"sourceObj":{"__isSmartRef__":true,"id":1877},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":1877},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":1992},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"1992":{"source":{"__isSmartRef__":true,"id":1877},"target":{"__isSmartRef__":true,"id":1877}},"1993":{"boundEval":{"__isSmartRef__":true,"id":1994},"getDoitContext":{"__isSmartRef__":true,"id":2002},"installLayers":{"__isSmartRef__":true,"id":2010},"onLoad":{"__isSmartRef__":true,"id":2014},"highligtScriptNames":{"__isSmartRef__":true,"id":2018},"getAutoCompletion":{"__isSmartRef__":true,"id":2022},"reset":{"__isSmartRef__":true,"id":2030},"getLastWordRange":{"__isSmartRef__":true,"id":2034}},"1994":{"varMapping":{"__isSmartRef__":true,"id":1995},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1995":{"this":{"__isSmartRef__":true,"id":1877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1996}},"1996":{"$super":{"__isSmartRef__":true,"id":1997}},"1997":{"varMapping":{"__isSmartRef__":true,"id":1998},"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":1999},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1998":{"obj":{"__isSmartRef__":true,"id":1877},"name":"boundEval"},"1999":{},"2000":{"timestamp":{"__isSmartRef__":true,"id":2001},"user":"jenslincke","tags":[]},"2001":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"2002":{"varMapping":{"__isSmartRef__":true,"id":2003},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":2008},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2003":{"this":{"__isSmartRef__":true,"id":1877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2004}},"2004":{"$super":{"__isSmartRef__":true,"id":2005}},"2005":{"varMapping":{"__isSmartRef__":true,"id":2006},"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":2007},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2006":{"obj":{"__isSmartRef__":true,"id":1877},"name":"getDoitContext"},"2007":{},"2008":{"timestamp":{"__isSmartRef__":true,"id":2009},"user":"jenslincke","tags":[]},"2009":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"2010":{"varMapping":{"__isSmartRef__":true,"id":2011},"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":2012},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2011":{"this":{"__isSmartRef__":true,"id":1877}},"2012":{"timestamp":{"__isSmartRef__":true,"id":2013},"user":"jenslincke","tags":[]},"2013":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"2014":{"varMapping":{"__isSmartRef__":true,"id":2015},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":2016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2015":{"this":{"__isSmartRef__":true,"id":1877}},"2016":{"timestamp":{"__isSmartRef__":true,"id":2017},"user":"jenslincke","tags":[]},"2017":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"2018":{"varMapping":{"__isSmartRef__":true,"id":2019},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":2020},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2019":{"this":{"__isSmartRef__":true,"id":1877}},"2020":{"timestamp":{"__isSmartRef__":true,"id":2021},"user":"jenslincke","tags":[]},"2021":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"2022":{"varMapping":{"__isSmartRef__":true,"id":2023},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":2028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2023":{"this":{"__isSmartRef__":true,"id":1877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2024}},"2024":{"$super":{"__isSmartRef__":true,"id":2025}},"2025":{"varMapping":{"__isSmartRef__":true,"id":2026},"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":2027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2026":{"obj":{"__isSmartRef__":true,"id":1877},"name":"getAutoCompletion"},"2027":{},"2028":{"timestamp":{"__isSmartRef__":true,"id":2029},"user":"jenslincke","tags":[]},"2029":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"2030":{"varMapping":{"__isSmartRef__":true,"id":2031},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":2032},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2031":{"this":{"__isSmartRef__":true,"id":1877}},"2032":{"timestamp":{"__isSmartRef__":true,"id":2033},"user":"jenslincke","tags":[]},"2033":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"2034":{"varMapping":{"__isSmartRef__":true,"id":2035},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2040},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2035":{"this":{"__isSmartRef__":true,"id":1877},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2036}},"2036":{"$super":{"__isSmartRef__":true,"id":2037}},"2037":{"varMapping":{"__isSmartRef__":true,"id":2038},"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":2039},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2038":{"obj":{"__isSmartRef__":true,"id":1877},"name":"getLastWordRange"},"2039":{},"2040":{"timestamp":{"__isSmartRef__":true,"id":2041},"user":"jenslincke","tags":[]},"2041":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"2042":{"submorphs":[],"scripts":[],"id":"758E8FEB-F86A-4F5F-8EE1-4A44688757F1","shape":{"__isSmartRef__":true,"id":2043},"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":2044},"textChunks":[{"__isSmartRef__":true,"id":2060}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2062},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1852},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2063},"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(0,0,0)"},"2043":{"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.2,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2044":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2045},{"__isSmartRef__":true,"id":2047},{"__isSmartRef__":true,"id":2049},{"__isSmartRef__":true,"id":2051},{"__isSmartRef__":true,"id":2053},{"__isSmartRef__":true,"id":2055},{"__isSmartRef__":true,"id":2057}],"lastModifiedDate":{"__isSmartRef__":true,"id":2059},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2045":{"date":{"__isSmartRef__":true,"id":2046},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2046":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2047":{"date":{"__isSmartRef__":true,"id":2048},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2048":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2049":{"date":{"__isSmartRef__":true,"id":2050},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2050":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2051":{"date":{"__isSmartRef__":true,"id":2052},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2052":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2053":{"date":{"__isSmartRef__":true,"id":2054},"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"},"2054":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2055":{"date":{"__isSmartRef__":true,"id":2056},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2056":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2057":{"date":{"__isSmartRef__":true,"id":2058},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2058":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2059":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2060":{"style":{"__isSmartRef__":true,"id":2061},"chunkOwner":{"__isSmartRef__":true,"id":2042},"_id":"_11214","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2061":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2062":{"morph":{"__isSmartRef__":true,"id":2042},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2063":{"moveVertical":true,"resizeWidth":true},"2064":{"submorphs":[],"scripts":[],"id":"D18C793C-5EBA-4D3A-8CE5-7FD0749B6B5E","shape":{"__isSmartRef__":true,"id":2065},"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":2066},"textChunks":[{"__isSmartRef__":true,"id":2082}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2084},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":1852},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":2085}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2087},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"2065":{"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(381.7,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2066":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2067},{"__isSmartRef__":true,"id":2069},{"__isSmartRef__":true,"id":2071},{"__isSmartRef__":true,"id":2073},{"__isSmartRef__":true,"id":2075},{"__isSmartRef__":true,"id":2077},{"__isSmartRef__":true,"id":2079}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2081},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2067":{"date":{"__isSmartRef__":true,"id":2068},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2068":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2069":{"date":{"__isSmartRef__":true,"id":2070},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2070":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2071":{"date":{"__isSmartRef__":true,"id":2072},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2072":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2073":{"date":{"__isSmartRef__":true,"id":2074},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2074":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2075":{"date":{"__isSmartRef__":true,"id":2076},"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"},"2076":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2077":{"date":{"__isSmartRef__":true,"id":2078},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2078":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2079":{"date":{"__isSmartRef__":true,"id":2080},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2080":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2081":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2082":{"style":{"__isSmartRef__":true,"id":2083},"chunkOwner":{"__isSmartRef__":true,"id":2064},"_id":"_11194","storedString":"Consumed: 0 [kWs]\nExtra: 0 [kWs]\nDemand: 3 [kW]\nStopped: false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2083":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2084":{"morph":{"__isSmartRef__":true,"id":2064},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2085":{"sourceObj":{"__isSmartRef__":true,"id":2064},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1852},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":2086},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2086":{"source":{"__isSmartRef__":true,"id":2064},"target":{"__isSmartRef__":true,"id":1852}},"2087":{"resizeWidth":true},"2088":{"_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)"},"2089":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":2090},{"__isSmartRef__":true,"id":2092},{"__isSmartRef__":true,"id":2094},{"__isSmartRef__":true,"id":2096},{"__isSmartRef__":true,"id":2098},{"__isSmartRef__":true,"id":2100},{"__isSmartRef__":true,"id":2102},{"__isSmartRef__":true,"id":2104},{"__isSmartRef__":true,"id":2106},{"__isSmartRef__":true,"id":2108},{"__isSmartRef__":true,"id":2110},{"__isSmartRef__":true,"id":2112},{"__isSmartRef__":true,"id":2114},{"__isSmartRef__":true,"id":2116},{"__isSmartRef__":true,"id":2118},{"__isSmartRef__":true,"id":2120},{"__isSmartRef__":true,"id":2122},{"__isSmartRef__":true,"id":2124},{"__isSmartRef__":true,"id":2126},{"__isSmartRef__":true,"id":2128},{"__isSmartRef__":true,"id":2130},{"__isSmartRef__":true,"id":2132},{"__isSmartRef__":true,"id":2134},{"__isSmartRef__":true,"id":2136},{"__isSmartRef__":true,"id":2138},{"__isSmartRef__":true,"id":2140},{"__isSmartRef__":true,"id":2142},{"__isSmartRef__":true,"id":2144},{"__isSmartRef__":true,"id":2146}],"lastModifiedDate":{"__isSmartRef__":true,"id":2148},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2090":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2091}},"2091":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2092":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2093}},"2093":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2094":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2095}},"2095":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2096":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2097}},"2097":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2098":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2099}},"2099":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2100":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2101}},"2101":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2102":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2103}},"2103":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2104":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2105}},"2105":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2106":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2107}},"2107":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2108":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2109}},"2109":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2110":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2111}},"2111":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2112":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2113}},"2113":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2114":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2115}},"2115":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2116":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2117}},"2117":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2118":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2119}},"2119":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2120":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2121}},"2121":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2122":{"date":{"__isSmartRef__":true,"id":2123},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"2123":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"2124":{"date":{"__isSmartRef__":true,"id":2125},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"2125":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"2126":{"date":{"__isSmartRef__":true,"id":2127},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"2127":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"2128":{"date":{"__isSmartRef__":true,"id":2129},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"2129":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"2130":{"date":{"__isSmartRef__":true,"id":2131},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"2131":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"2132":{"date":{"__isSmartRef__":true,"id":2133},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"2133":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"2134":{"date":{"__isSmartRef__":true,"id":2135},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"2135":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"2136":{"date":{"__isSmartRef__":true,"id":2137},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"2137":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"2138":{"date":{"__isSmartRef__":true,"id":2139},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"2139":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"2140":{"date":{"__isSmartRef__":true,"id":2141},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"2141":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"2142":{"date":{"__isSmartRef__":true,"id":2143},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"2143":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"2144":{"date":{"__isSmartRef__":true,"id":2145},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"2145":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"2146":{"date":{"__isSmartRef__":true,"id":2147},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"2147":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"2148":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"2149":{"morph":{"__isSmartRef__":true,"id":1852},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2150":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2151}},"2151":{"test01IsMorph":{"__isSmartRef__":true,"id":2152}},"2152":{"varMapping":{"__isSmartRef__":true,"id":2153},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2153":{"this":{"__isSmartRef__":true,"id":2150}},"2154":{},"2155":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2156":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2157":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2158":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2159":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2160":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2161":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2162":{"morph":{"__isSmartRef__":true,"id":1852},"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)"},"2163":{"adjustForNewBounds":true},"2164":{"Consumed":0,"Extra":0,"Demand":3,"Stopped":false},"2165":{"sourceObj":{"__isSmartRef__":true,"id":1852},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":1853},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":2166},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2166":{"source":{"__isSmartRef__":true,"id":1852},"target":{"__isSmartRef__":true,"id":1853}},"2167":{"Consumed":"kWs","Extra":"kWs","Demand":"kW"},"2168":{"referencedBy":{"__isSmartRef__":true,"id":2169},"references":{"__isSmartRef__":true,"id":2170}},"2169":{},"2170":{},"2171":{"migrateFrom":{"__isSmartRef__":true,"id":2172},"parsePropeties":{"__isSmartRef__":true,"id":2176},"printProperties":{"__isSmartRef__":true,"id":2180},"parseSimulationSource":{"__isSmartRef__":true,"id":2184},"simulateStep":{"__isSmartRef__":true,"id":2188},"showError":{"__isSmartRef__":true,"id":2191},"throwSimulationProblem":{"__isSmartRef__":true,"id":2195},"updateUI":{"__isSmartRef__":true,"id":2199},"resetStatus":{"__isSmartRef__":true,"id":2203},"simulateOneStep":{"__isSmartRef__":true,"id":2207},"reset":{"__isSmartRef__":true,"id":2211},"resetScriptAnalysis":{"__isSmartRef__":true,"id":2215},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":2219},"logReference":{"__isSmartRef__":true,"id":2223},"showScriptAnalysis":{"__isSmartRef__":true,"id":2227},"showReferenceTo":{"__isSmartRef__":true,"id":2231},"resetSourceHighlighting":{"__isSmartRef__":true,"id":2235},"showNameReference":{"__isSmartRef__":true,"id":2239}},"2172":{"varMapping":{"__isSmartRef__":true,"id":2173},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":2174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2173":{"this":{"__isSmartRef__":true,"id":1852}},"2174":{"timestamp":{"__isSmartRef__":true,"id":2175},"user":"jenslincke","tags":[]},"2175":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"2176":{"varMapping":{"__isSmartRef__":true,"id":2177},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":2178},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2177":{"this":{"__isSmartRef__":true,"id":1852}},"2178":{"timestamp":{"__isSmartRef__":true,"id":2179},"user":"jenslincke","tags":[]},"2179":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"2180":{"varMapping":{"__isSmartRef__":true,"id":2181},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":2182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2181":{"this":{"__isSmartRef__":true,"id":1852}},"2182":{"timestamp":{"__isSmartRef__":true,"id":2183},"user":"jenslincke","tags":[]},"2183":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"2184":{"varMapping":{"__isSmartRef__":true,"id":2185},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":2186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2185":{"this":{"__isSmartRef__":true,"id":1852}},"2186":{"timestamp":{"__isSmartRef__":true,"id":2187},"user":"jenslincke","tags":[]},"2187":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"2188":{"varMapping":{"__isSmartRef__":true,"id":2189},"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\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":2190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2189":{"this":{"__isSmartRef__":true,"id":1852}},"2190":{},"2191":{"varMapping":{"__isSmartRef__":true,"id":2192},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":2193},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2192":{"this":{"__isSmartRef__":true,"id":1852}},"2193":{"timestamp":{"__isSmartRef__":true,"id":2194},"user":"jenslincke","tags":[]},"2194":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"2195":{"varMapping":{"__isSmartRef__":true,"id":2196},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":2197},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2196":{"this":{"__isSmartRef__":true,"id":1852}},"2197":{"timestamp":{"__isSmartRef__":true,"id":2198},"user":"jenslincke","tags":[]},"2198":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"2199":{"varMapping":{"__isSmartRef__":true,"id":2200},"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":2201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2200":{"this":{"__isSmartRef__":true,"id":1852}},"2201":{"timestamp":{"__isSmartRef__":true,"id":2202},"user":"jenslincke","tags":[]},"2202":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"2203":{"varMapping":{"__isSmartRef__":true,"id":2204},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":2205},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2204":{"this":{"__isSmartRef__":true,"id":1852}},"2205":{"timestamp":{"__isSmartRef__":true,"id":2206},"user":"jenslincke","tags":[]},"2206":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"2207":{"varMapping":{"__isSmartRef__":true,"id":2208},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2208":{"this":{"__isSmartRef__":true,"id":1852}},"2209":{"timestamp":{"__isSmartRef__":true,"id":2210},"user":"jenslincke","tags":[]},"2210":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"2211":{"varMapping":{"__isSmartRef__":true,"id":2212},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":2213},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2212":{"this":{"__isSmartRef__":true,"id":1852}},"2213":{"timestamp":{"__isSmartRef__":true,"id":2214},"user":"jenslincke","tags":[]},"2214":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"2215":{"varMapping":{"__isSmartRef__":true,"id":2216},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":2217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2216":{"this":{"__isSmartRef__":true,"id":1852}},"2217":{"timestamp":{"__isSmartRef__":true,"id":2218},"user":"jenslincke","tags":[]},"2218":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"2219":{"varMapping":{"__isSmartRef__":true,"id":2220},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":2221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2220":{"this":{"__isSmartRef__":true,"id":1852}},"2221":{"timestamp":{"__isSmartRef__":true,"id":2222},"user":"jenslincke","tags":[]},"2222":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"2223":{"varMapping":{"__isSmartRef__":true,"id":2224},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":2225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2224":{"this":{"__isSmartRef__":true,"id":1852}},"2225":{"timestamp":{"__isSmartRef__":true,"id":2226},"user":"jenslincke","tags":[]},"2226":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"2227":{"varMapping":{"__isSmartRef__":true,"id":2228},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2228":{"this":{"__isSmartRef__":true,"id":1852}},"2229":{"timestamp":{"__isSmartRef__":true,"id":2230},"user":"jenslincke","tags":[]},"2230":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"2231":{"varMapping":{"__isSmartRef__":true,"id":2232},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2233},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2232":{"this":{"__isSmartRef__":true,"id":1852}},"2233":{"timestamp":{"__isSmartRef__":true,"id":2234},"user":"jenslincke","tags":[]},"2234":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"2235":{"varMapping":{"__isSmartRef__":true,"id":2236},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":2237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2236":{"this":{"__isSmartRef__":true,"id":1852}},"2237":{"timestamp":{"__isSmartRef__":true,"id":2238},"user":"jenslincke","tags":[]},"2238":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"2239":{"varMapping":{"__isSmartRef__":true,"id":2240},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":2241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2240":{"this":{"__isSmartRef__":true,"id":1852}},"2241":{"timestamp":{"__isSmartRef__":true,"id":2242},"user":"jenslincke","tags":[]},"2242":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"2243":{"submorphs":[{"__isSmartRef__":true,"id":2244},{"__isSmartRef__":true,"id":2268},{"__isSmartRef__":true,"id":2607},{"__isSmartRef__":true,"id":2629}],"scripts":[],"id":"55E48E12-6AFB-4713-B559-6D274AE38720","shape":{"__isSmartRef__":true,"id":2653},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2654},"eventHandler":{"__isSmartRef__":true,"id":2714},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":2715},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2721},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2723},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2725},{"__isSmartRef__":true,"id":2726},{"__isSmartRef__":true,"id":2727}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":2728},"$":{"__isSmartRef__":true,"id":2729},"name":"ThermalPowerStation","attributeConnections":[{"__isSmartRef__":true,"id":2730}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":2732},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":2733},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2736},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(368.9,-10.3)","_Position":"lively.pt(634.3,380.4)"},"2244":{"submorphs":[],"scripts":[],"id":"97786E64-2B0C-4D1B-8A26-12310AA31A88","shape":{"__isSmartRef__":true,"id":2245},"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":2246},"textChunks":[{"__isSmartRef__":true,"id":2248}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":2250},{"__isSmartRef__":true,"id":2251}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":2252},"owner":{"__isSmartRef__":true,"id":2243},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":2243},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2253},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"2245":{"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)"},"2246":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":2247},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2247":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"2248":{"style":{"__isSmartRef__":true,"id":2249},"chunkOwner":{"__isSmartRef__":true,"id":2244},"_id":"_5527","storedString":"ThermalPowerStation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2249":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2250":{"sourceObj":{"__isSmartRef__":true,"id":2244},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2244},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2251":{"sourceObj":{"__isSmartRef__":true,"id":2244},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2244},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2252":{"morph":{"__isSmartRef__":true,"id":2244},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2253":{"updateLabel":{"__isSmartRef__":true,"id":2254},"renameOwner":{"__isSmartRef__":true,"id":2257},"onFocus":{"__isSmartRef__":true,"id":2260}},"2254":{"varMapping":{"__isSmartRef__":true,"id":2255},"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":2256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2255":{"this":{"__isSmartRef__":true,"id":2244}},"2256":{},"2257":{"varMapping":{"__isSmartRef__":true,"id":2258},"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":2259},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2258":{"this":{"__isSmartRef__":true,"id":2244}},"2259":{},"2260":{"varMapping":{"__isSmartRef__":true,"id":2261},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":2266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2261":{"this":{"__isSmartRef__":true,"id":2244},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2262}},"2262":{"$super":{"__isSmartRef__":true,"id":2263}},"2263":{"varMapping":{"__isSmartRef__":true,"id":2264},"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":2265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2264":{"obj":{"__isSmartRef__":true,"id":2244},"name":"onFocus"},"2265":{},"2266":{"timestamp":{"__isSmartRef__":true,"id":2267},"user":"jenslincke","tags":[]},"2267":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"2268":{"submorphs":[],"scripts":[],"id":"E83E86A3-24AF-4722-AD2E-E4B86E5F3E11","shape":{"__isSmartRef__":true,"id":2269},"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":2270},"textChunks":[{"__isSmartRef__":true,"id":2286},{"__isSmartRef__":true,"id":2288},{"__isSmartRef__":true,"id":2290},{"__isSmartRef__":true,"id":2292},{"__isSmartRef__":true,"id":2294},{"__isSmartRef__":true,"id":2296},{"__isSmartRef__":true,"id":2298},{"__isSmartRef__":true,"id":2300},{"__isSmartRef__":true,"id":2302},{"__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":2317},{"__isSmartRef__":true,"id":2319},{"__isSmartRef__":true,"id":2321},{"__isSmartRef__":true,"id":2323},{"__isSmartRef__":true,"id":2325},{"__isSmartRef__":true,"id":2327},{"__isSmartRef__":true,"id":2329},{"__isSmartRef__":true,"id":2331},{"__isSmartRef__":true,"id":2333},{"__isSmartRef__":true,"id":2335},{"__isSmartRef__":true,"id":2338},{"__isSmartRef__":true,"id":2340},{"__isSmartRef__":true,"id":2342},{"__isSmartRef__":true,"id":2344},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2348},{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2353},{"__isSmartRef__":true,"id":2355},{"__isSmartRef__":true,"id":2357},{"__isSmartRef__":true,"id":2359},{"__isSmartRef__":true,"id":2361},{"__isSmartRef__":true,"id":2363},{"__isSmartRef__":true,"id":2365},{"__isSmartRef__":true,"id":2367},{"__isSmartRef__":true,"id":2369},{"__isSmartRef__":true,"id":2371},{"__isSmartRef__":true,"id":2373},{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2377},{"__isSmartRef__":true,"id":2379},{"__isSmartRef__":true,"id":2382},{"__isSmartRef__":true,"id":2384},{"__isSmartRef__":true,"id":2386},{"__isSmartRef__":true,"id":2388},{"__isSmartRef__":true,"id":2390},{"__isSmartRef__":true,"id":2392},{"__isSmartRef__":true,"id":2394},{"__isSmartRef__":true,"id":2396},{"__isSmartRef__":true,"id":2398},{"__isSmartRef__":true,"id":2400},{"__isSmartRef__":true,"id":2402},{"__isSmartRef__":true,"id":2404},{"__isSmartRef__":true,"id":2406},{"__isSmartRef__":true,"id":2408},{"__isSmartRef__":true,"id":2410},{"__isSmartRef__":true,"id":2412},{"__isSmartRef__":true,"id":2414},{"__isSmartRef__":true,"id":2416},{"__isSmartRef__":true,"id":2418},{"__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},{"__isSmartRef__":true,"id":2434},{"__isSmartRef__":true,"id":2436},{"__isSmartRef__":true,"id":2438},{"__isSmartRef__":true,"id":2440},{"__isSmartRef__":true,"id":2442},{"__isSmartRef__":true,"id":2444},{"__isSmartRef__":true,"id":2446},{"__isSmartRef__":true,"id":2448},{"__isSmartRef__":true,"id":2450},{"__isSmartRef__":true,"id":2453},{"__isSmartRef__":true,"id":2455},{"__isSmartRef__":true,"id":2457},{"__isSmartRef__":true,"id":2459},{"__isSmartRef__":true,"id":2461},{"__isSmartRef__":true,"id":2464},{"__isSmartRef__":true,"id":2466},{"__isSmartRef__":true,"id":2468},{"__isSmartRef__":true,"id":2470},{"__isSmartRef__":true,"id":2472},{"__isSmartRef__":true,"id":2474},{"__isSmartRef__":true,"id":2476},{"__isSmartRef__":true,"id":2479},{"__isSmartRef__":true,"id":2481},{"__isSmartRef__":true,"id":2483},{"__isSmartRef__":true,"id":2485},{"__isSmartRef__":true,"id":2487},{"__isSmartRef__":true,"id":2489},{"__isSmartRef__":true,"id":2491},{"__isSmartRef__":true,"id":2493},{"__isSmartRef__":true,"id":2495},{"__isSmartRef__":true,"id":2497},{"__isSmartRef__":true,"id":2499},{"__isSmartRef__":true,"id":2502},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2506},{"__isSmartRef__":true,"id":2508},{"__isSmartRef__":true,"id":2510},{"__isSmartRef__":true,"id":2513},{"__isSmartRef__":true,"id":2515},{"__isSmartRef__":true,"id":2517},{"__isSmartRef__":true,"id":2519},{"__isSmartRef__":true,"id":2521},{"__isSmartRef__":true,"id":2523},{"__isSmartRef__":true,"id":2525},{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2530},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2534},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2538},{"__isSmartRef__":true,"id":2540},{"__isSmartRef__":true,"id":2542}],"charsReplaced":" ","lastFindLoc":409,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2544},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":2545},{"__isSmartRef__":true,"id":2546},{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2548},{"__isSmartRef__":true,"id":2549},{"__isSmartRef__":true,"id":2550},{"__isSmartRef__":true,"id":2551},{"__isSmartRef__":true,"id":2552}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2553},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":2243},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":2554},{"__isSmartRef__":true,"id":2556}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":194,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[301,301],"__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":2558},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"2269":{"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(527.1,279.8)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2270":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2271},{"__isSmartRef__":true,"id":2273},{"__isSmartRef__":true,"id":2275},{"__isSmartRef__":true,"id":2277},{"__isSmartRef__":true,"id":2279},{"__isSmartRef__":true,"id":2281},{"__isSmartRef__":true,"id":2283}],"lastModifiedDate":{"__isSmartRef__":true,"id":2285},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2271":{"date":{"__isSmartRef__":true,"id":2272},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2272":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2273":{"date":{"__isSmartRef__":true,"id":2274},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2274":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2275":{"date":{"__isSmartRef__":true,"id":2276},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2276":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2277":{"date":{"__isSmartRef__":true,"id":2278},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2278":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2279":{"date":{"__isSmartRef__":true,"id":2280},"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"},"2280":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2281":{"date":{"__isSmartRef__":true,"id":2282},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2282":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2283":{"date":{"__isSmartRef__":true,"id":2284},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2284":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2285":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2286":{"style":{"__isSmartRef__":true,"id":2287},"chunkOwner":{"__isSmartRef__":true,"id":2268},"_id":"_14","storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2287":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2288":{"_id":"_86","style":{"__isSmartRef__":true,"id":2289},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" full =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2289":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2290":{"_id":"_201","style":{"__isSmartRef__":true,"id":2291},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2291":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2292":{"_id":"_202","style":{"__isSmartRef__":true,"id":2293},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2293":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2294":{"_id":"_200","style":{"__isSmartRef__":true,"id":2295},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2295":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2296":{"_id":"_204","style":{"__isSmartRef__":true,"id":2297},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2297":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2298":{"_id":"_205","style":{"__isSmartRef__":true,"id":2299},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Factor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2299":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2300":{"_id":"_203","style":{"__isSmartRef__":true,"id":2301},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2301":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2302":{"_id":"_87","style":{"__isSmartRef__":true,"id":2303},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2303":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2304":{"_id":"_88","style":{"__isSmartRef__":true,"id":2305},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2305":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2306":{"_id":"_207","style":{"__isSmartRef__":true,"id":2307},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2307":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2308":{"_id":"_208","style":{"__isSmartRef__":true,"id":2309},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2309":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2310":{"_id":"_206","style":{"__isSmartRef__":true,"id":2311},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" < full && ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2311":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2312":{"_id":"_150","style":{"__isSmartRef__":true,"id":2313},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2313":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2314":{"_id":"_152","style":{"__isSmartRef__":true,"id":2315},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2315":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2316},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2316":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Fuel\")","context":{"__isSmartRef__":true,"id":2243}},"2317":{"_id":"_151","style":{"__isSmartRef__":true,"id":2318},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2318":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2319":{"_id":"_153","style":{"__isSmartRef__":true,"id":2320},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2320":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2321":{"_id":"_154","style":{"__isSmartRef__":true,"id":2322},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" >","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2322":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2323":{"_id":"_210","style":{"__isSmartRef__":true,"id":2324},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2324":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2325":{"_id":"_211","style":{"__isSmartRef__":true,"id":2326},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2326":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2327":{"_id":"_209","style":{"__isSmartRef__":true,"id":2328},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2328":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2329":{"_id":"_230","style":{"__isSmartRef__":true,"id":2330},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2330":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"2331":{"_id":"_231","style":{"__isSmartRef__":true,"id":2332},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" && (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2332":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2333":{"_id":"_155","style":{"__isSmartRef__":true,"id":2334},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2334":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2335":{"_id":"_157","style":{"__isSmartRef__":true,"id":2336},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2336":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2337},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2337":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":2243}},"2338":{"_id":"_156","style":{"__isSmartRef__":true,"id":2339},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2339":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2340":{"_id":"_158","style":{"__isSmartRef__":true,"id":2341},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2341":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2342":{"_id":"_159","style":{"__isSmartRef__":true,"id":2343},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2343":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2344":{"_id":"_89","style":{"__isSmartRef__":true,"id":2345},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"0.9","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2345":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2346":{"_id":"_90","style":{"__isSmartRef__":true,"id":2347},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2347":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2348":{"_id":"_160","style":{"__isSmartRef__":true,"id":2349},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2349":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2350":{"_id":"_162","style":{"__isSmartRef__":true,"id":2351},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2351":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2352},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2352":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":2243}},"2353":{"_id":"_161","style":{"__isSmartRef__":true,"id":2354},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2354":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2355":{"_id":"_163","style":{"__isSmartRef__":true,"id":2356},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2356":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2357":{"_id":"_164","style":{"__isSmartRef__":true,"id":2358},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" )) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2358":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2359":{"_id":"_91","style":{"__isSmartRef__":true,"id":2360},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2360":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2361":{"_id":"_92","style":{"__isSmartRef__":true,"id":2362},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2362":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2363":{"_id":"_93","style":{"__isSmartRef__":true,"id":2364},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2364":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2365":{"_id":"_94","style":{"__isSmartRef__":true,"id":2366},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" gas =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2366":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2367":{"_id":"_213","style":{"__isSmartRef__":true,"id":2368},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2368":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2369":{"_id":"_214","style":{"__isSmartRef__":true,"id":2370},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2370":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2371":{"_id":"_212","style":{"__isSmartRef__":true,"id":2372},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2372":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2373":{"_id":"_232","style":{"__isSmartRef__":true,"id":2374},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2374":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"2375":{"_id":"_233","style":{"__isSmartRef__":true,"id":2376},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2376":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2377":{"_id":"_165","style":{"__isSmartRef__":true,"id":2378},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2378":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2379":{"_id":"_167","style":{"__isSmartRef__":true,"id":2380},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2380":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2381},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2381":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Fuel\")","context":{"__isSmartRef__":true,"id":2243}},"2382":{"_id":"_166","style":{"__isSmartRef__":true,"id":2383},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2383":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2384":{"_id":"_168","style":{"__isSmartRef__":true,"id":2385},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2385":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2386":{"_id":"_169","style":{"__isSmartRef__":true,"id":2387},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" -= gas\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2387":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2388":{"_id":"_216","style":{"__isSmartRef__":true,"id":2389},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2389":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2390":{"_id":"_217","style":{"__isSmartRef__":true,"id":2391},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2391":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2392":{"_id":"_215","style":{"__isSmartRef__":true,"id":2393},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2393":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2394":{"_id":"_95","style":{"__isSmartRef__":true,"id":2395},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"1.0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2395":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2396":{"_id":"_96","style":{"__isSmartRef__":true,"id":2397},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" * gas\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2397":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2398":{"_id":"_97","style":{"__isSmartRef__":true,"id":2399},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2399":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2400":{"_id":"_98","style":{"__isSmartRef__":true,"id":2401},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2401":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2402":{"_id":"_99","style":{"__isSmartRef__":true,"id":2403},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2403":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2404":{"_id":"_100","style":{"__isSmartRef__":true,"id":2405},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" delta =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2405":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2406":{"_id":"_219","style":{"__isSmartRef__":true,"id":2407},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2407":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2408":{"_id":"_220","style":{"__isSmartRef__":true,"id":2409},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2409":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2410":{"_id":"_218","style":{"__isSmartRef__":true,"id":2411},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" /","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2411":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2412":{"_id":"_222","style":{"__isSmartRef__":true,"id":2413},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2413":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2414":{"_id":"_223","style":{"__isSmartRef__":true,"id":2415},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Factor","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2415":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2416":{"_id":"_221","style":{"__isSmartRef__":true,"id":2417},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2417":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2418":{"_id":"_234","style":{"__isSmartRef__":true,"id":2419},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2419":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"2420":{"_id":"_101","style":{"__isSmartRef__":true,"id":2421},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2421":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2422":{"_id":"_102","style":{"__isSmartRef__":true,"id":2423},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2423":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2424":{"_id":"_225","style":{"__isSmartRef__":true,"id":2425},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2425":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2426":{"_id":"_226","style":{"__isSmartRef__":true,"id":2427},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2427":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2428":{"_id":"_224","style":{"__isSmartRef__":true,"id":2429},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" > ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2429":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2430":{"_id":"_103","style":{"__isSmartRef__":true,"id":2431},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2431":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2432":{"_id":"_104","style":{"__isSmartRef__":true,"id":2433},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2433":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2434":{"_id":"_105","style":{"__isSmartRef__":true,"id":2435},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2435":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2436":{"_id":"_106","style":{"__isSmartRef__":true,"id":2437},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2437":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2438":{"_id":"_228","style":{"__isSmartRef__":true,"id":2439},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2439":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2440":{"_id":"_229","style":{"__isSmartRef__":true,"id":2441},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2441":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2442":{"_id":"_227","style":{"__isSmartRef__":true,"id":2443},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2443":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2444":{"_id":"_107","style":{"__isSmartRef__":true,"id":2445},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2445":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2446":{"_id":"_108","style":{"__isSmartRef__":true,"id":2447},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2447":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2448":{"_id":"_170","style":{"__isSmartRef__":true,"id":2449},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2449":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2450":{"_id":"_172","style":{"__isSmartRef__":true,"id":2451},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2451":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2452},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2452":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":2243}},"2453":{"_id":"_171","style":{"__isSmartRef__":true,"id":2454},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2454":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2455":{"_id":"_173","style":{"__isSmartRef__":true,"id":2456},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2456":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2457":{"_id":"_174","style":{"__isSmartRef__":true,"id":2458},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2458":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2459":{"_id":"_175","style":{"__isSmartRef__":true,"id":2460},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2460":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2461":{"_id":"_177","style":{"__isSmartRef__":true,"id":2462},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2462":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2463},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2463":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":2243}},"2464":{"_id":"_176","style":{"__isSmartRef__":true,"id":2465},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2465":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2466":{"_id":"_178","style":{"__isSmartRef__":true,"id":2467},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2467":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2468":{"_id":"_179","style":{"__isSmartRef__":true,"id":2469},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2469":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2470":{"_id":"_109","style":{"__isSmartRef__":true,"id":2471},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2471":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2472":{"_id":"_110","style":{"__isSmartRef__":true,"id":2473},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2473":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2474":{"_id":"_180","style":{"__isSmartRef__":true,"id":2475},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2475":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2476":{"_id":"_182","style":{"__isSmartRef__":true,"id":2477},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2477":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2478},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2478":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":2243}},"2479":{"_id":"_181","style":{"__isSmartRef__":true,"id":2480},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2480":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2481":{"_id":"_183","style":{"__isSmartRef__":true,"id":2482},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2482":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2483":{"_id":"_184","style":{"__isSmartRef__":true,"id":2484},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2484":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2485":{"_id":"_111","style":{"__isSmartRef__":true,"id":2486},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"0.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2486":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2487":{"_id":"_112","style":{"__isSmartRef__":true,"id":2488},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" * delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2488":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2489":{"_id":"_113","style":{"__isSmartRef__":true,"id":2490},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2490":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2491":{"_id":"_114","style":{"__isSmartRef__":true,"id":2492},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2492":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2493":{"_id":"_115","style":{"__isSmartRef__":true,"id":2494},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2494":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"2495":{"_id":"_116","style":{"__isSmartRef__":true,"id":2496},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2496":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2497":{"_id":"_185","style":{"__isSmartRef__":true,"id":2498},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2498":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2499":{"_id":"_187","style":{"__isSmartRef__":true,"id":2500},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2500":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2501},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2501":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":2243}},"2502":{"_id":"_186","style":{"__isSmartRef__":true,"id":2503},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2503":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2504":{"_id":"_188","style":{"__isSmartRef__":true,"id":2505},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2505":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2506":{"_id":"_189","style":{"__isSmartRef__":true,"id":2507},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2507":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2508":{"_id":"_190","style":{"__isSmartRef__":true,"id":2509},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2509":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2510":{"_id":"_192","style":{"__isSmartRef__":true,"id":2511},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2511":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2512},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2512":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":2243}},"2513":{"_id":"_191","style":{"__isSmartRef__":true,"id":2514},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2514":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2515":{"_id":"_193","style":{"__isSmartRef__":true,"id":2516},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2516":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2517":{"_id":"_194","style":{"__isSmartRef__":true,"id":2518},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" ) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2518":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2519":{"_id":"_117","style":{"__isSmartRef__":true,"id":2520},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2520":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2521":{"_id":"_118","style":{"__isSmartRef__":true,"id":2522},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2522":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2523":{"_id":"_195","style":{"__isSmartRef__":true,"id":2524},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2524":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2525":{"_id":"_197","style":{"__isSmartRef__":true,"id":2526},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2526":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":2527},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2527":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":2243}},"2528":{"_id":"_196","style":{"__isSmartRef__":true,"id":2529},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2529":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"2530":{"_id":"_198","style":{"__isSmartRef__":true,"id":2531},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2531":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"2532":{"_id":"_199","style":{"__isSmartRef__":true,"id":2533},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" += ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2533":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2534":{"_id":"_119","style":{"__isSmartRef__":true,"id":2535},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"0.4","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2535":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"2536":{"_id":"_120","style":{"__isSmartRef__":true,"id":2537},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":" * delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2537":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2538":{"_id":"_121","style":{"__isSmartRef__":true,"id":2539},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2539":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2540":{"_id":"_122","style":{"__isSmartRef__":true,"id":2541},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2541":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"2542":{"_id":"_123","style":{"__isSmartRef__":true,"id":2543},"chunkOwner":{"__isSmartRef__":true,"id":2268},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2543":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"2544":{"morph":{"__isSmartRef__":true,"id":2268},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2545":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2546":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2547":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2548":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2549":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2550":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2551":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2552":{"morph":{"__isSmartRef__":true,"id":2268},"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)"},"2553":{"resizeWidth":true,"resizeHeight":true},"2554":{"sourceObj":{"__isSmartRef__":true,"id":2268},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2243},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":2555},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2555":{"source":{"__isSmartRef__":true,"id":2268},"target":{"__isSmartRef__":true,"id":2243}},"2556":{"sourceObj":{"__isSmartRef__":true,"id":2268},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2268},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":2557},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2557":{"source":{"__isSmartRef__":true,"id":2268},"target":{"__isSmartRef__":true,"id":2268}},"2558":{"boundEval":{"__isSmartRef__":true,"id":2559},"getDoitContext":{"__isSmartRef__":true,"id":2567},"installLayers":{"__isSmartRef__":true,"id":2575},"onLoad":{"__isSmartRef__":true,"id":2579},"highligtScriptNames":{"__isSmartRef__":true,"id":2583},"getAutoCompletion":{"__isSmartRef__":true,"id":2587},"reset":{"__isSmartRef__":true,"id":2595},"getLastWordRange":{"__isSmartRef__":true,"id":2599}},"2559":{"varMapping":{"__isSmartRef__":true,"id":2560},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2565},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2560":{"this":{"__isSmartRef__":true,"id":2268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2561}},"2561":{"$super":{"__isSmartRef__":true,"id":2562}},"2562":{"varMapping":{"__isSmartRef__":true,"id":2563},"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":2564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2563":{"obj":{"__isSmartRef__":true,"id":2268},"name":"boundEval"},"2564":{},"2565":{"timestamp":{"__isSmartRef__":true,"id":2566},"user":"jenslincke","tags":[]},"2566":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"2567":{"varMapping":{"__isSmartRef__":true,"id":2568},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":2573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2568":{"this":{"__isSmartRef__":true,"id":2268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2569}},"2569":{"$super":{"__isSmartRef__":true,"id":2570}},"2570":{"varMapping":{"__isSmartRef__":true,"id":2571},"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":2572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2571":{"obj":{"__isSmartRef__":true,"id":2268},"name":"getDoitContext"},"2572":{},"2573":{"timestamp":{"__isSmartRef__":true,"id":2574},"user":"jenslincke","tags":[]},"2574":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"2575":{"varMapping":{"__isSmartRef__":true,"id":2576},"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":2577},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2576":{"this":{"__isSmartRef__":true,"id":2268}},"2577":{"timestamp":{"__isSmartRef__":true,"id":2578},"user":"jenslincke","tags":[]},"2578":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"2579":{"varMapping":{"__isSmartRef__":true,"id":2580},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":2581},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2580":{"this":{"__isSmartRef__":true,"id":2268}},"2581":{"timestamp":{"__isSmartRef__":true,"id":2582},"user":"jenslincke","tags":[]},"2582":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"2583":{"varMapping":{"__isSmartRef__":true,"id":2584},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":2585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2584":{"this":{"__isSmartRef__":true,"id":2268}},"2585":{"timestamp":{"__isSmartRef__":true,"id":2586},"user":"jenslincke","tags":[]},"2586":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"2587":{"varMapping":{"__isSmartRef__":true,"id":2588},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":2593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2588":{"this":{"__isSmartRef__":true,"id":2268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2589}},"2589":{"$super":{"__isSmartRef__":true,"id":2590}},"2590":{"varMapping":{"__isSmartRef__":true,"id":2591},"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":2592},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2591":{"obj":{"__isSmartRef__":true,"id":2268},"name":"getAutoCompletion"},"2592":{},"2593":{"timestamp":{"__isSmartRef__":true,"id":2594},"user":"jenslincke","tags":[]},"2594":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"2595":{"varMapping":{"__isSmartRef__":true,"id":2596},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":2597},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2596":{"this":{"__isSmartRef__":true,"id":2268}},"2597":{"timestamp":{"__isSmartRef__":true,"id":2598},"user":"jenslincke","tags":[]},"2598":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"2599":{"varMapping":{"__isSmartRef__":true,"id":2600},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2605},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2600":{"this":{"__isSmartRef__":true,"id":2268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2601}},"2601":{"$super":{"__isSmartRef__":true,"id":2602}},"2602":{"varMapping":{"__isSmartRef__":true,"id":2603},"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":2604},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2603":{"obj":{"__isSmartRef__":true,"id":2268},"name":"getLastWordRange"},"2604":{},"2605":{"timestamp":{"__isSmartRef__":true,"id":2606},"user":"jenslincke","tags":[]},"2606":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"2607":{"submorphs":[],"scripts":[],"id":"991C7669-A6BD-4EC6-BC32-728789FC6E4B","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":8,"name":"Status","partsBinMetaInfo":{"__isSmartRef__":true,"id":2609},"textChunks":[{"__isSmartRef__":true,"id":2625}],"charsReplaced":" ","lastFindLoc":0,"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","9A2E4F6C-543D-4EEB-94DB-F39C12DA01BE","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2243},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2628},"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,364.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)"},"2608":{"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(519.2,14.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}],"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},"chunkOwner":{"__isSmartRef__":true,"id":2607},"_id":"_11216","storedString":"","__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":{"moveVertical":true,"resizeWidth":true},"2629":{"submorphs":[],"scripts":[],"id":"A2F622AF-C486-4D83-BDB9-7B5019D7C7B5","shape":{"__isSmartRef__":true,"id":2630},"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":2631},"textChunks":[{"__isSmartRef__":true,"id":2647}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2649},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2243},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":2650}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2652},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"2630":{"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(512.7,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2631":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","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}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2646},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2632":{"date":{"__isSmartRef__":true,"id":2633},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2633":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2634":{"date":{"__isSmartRef__":true,"id":2635},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2635":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2636":{"date":{"__isSmartRef__":true,"id":2637},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2637":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2638":{"date":{"__isSmartRef__":true,"id":2639},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2639":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2640":{"date":{"__isSmartRef__":true,"id":2641},"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"},"2641":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2642":{"date":{"__isSmartRef__":true,"id":2643},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2643":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2644":{"date":{"__isSmartRef__":true,"id":2645},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2645":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2646":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2647":{"style":{"__isSmartRef__":true,"id":2648},"chunkOwner":{"__isSmartRef__":true,"id":2629},"_id":"_11195","storedString":"Heat: 0\nFactor: 10\nMax: 7.5\nStopped: false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2648":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2649":{"morph":{"__isSmartRef__":true,"id":2629},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2650":{"sourceObj":{"__isSmartRef__":true,"id":2629},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2243},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":2651},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2651":{"source":{"__isSmartRef__":true,"id":2629},"target":{"__isSmartRef__":true,"id":2243}},"2652":{"resizeWidth":true},"2653":{"_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(541.0,382.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)"},"2654":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":2655},{"__isSmartRef__":true,"id":2657},{"__isSmartRef__":true,"id":2659},{"__isSmartRef__":true,"id":2661},{"__isSmartRef__":true,"id":2663},{"__isSmartRef__":true,"id":2665},{"__isSmartRef__":true,"id":2667},{"__isSmartRef__":true,"id":2669},{"__isSmartRef__":true,"id":2671},{"__isSmartRef__":true,"id":2673},{"__isSmartRef__":true,"id":2675},{"__isSmartRef__":true,"id":2677},{"__isSmartRef__":true,"id":2679},{"__isSmartRef__":true,"id":2681},{"__isSmartRef__":true,"id":2683},{"__isSmartRef__":true,"id":2685},{"__isSmartRef__":true,"id":2687},{"__isSmartRef__":true,"id":2689},{"__isSmartRef__":true,"id":2691},{"__isSmartRef__":true,"id":2693},{"__isSmartRef__":true,"id":2695},{"__isSmartRef__":true,"id":2697},{"__isSmartRef__":true,"id":2699},{"__isSmartRef__":true,"id":2701},{"__isSmartRef__":true,"id":2703},{"__isSmartRef__":true,"id":2705},{"__isSmartRef__":true,"id":2707},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2711}],"lastModifiedDate":{"__isSmartRef__":true,"id":2713},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2655":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2656}},"2656":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2657":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2658}},"2658":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2659":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2660}},"2660":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2661":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2662}},"2662":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2663":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2664}},"2664":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2665":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2666}},"2666":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2667":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2668}},"2668":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2669":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2670}},"2670":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2671":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2672}},"2672":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2673":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2674}},"2674":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2675":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2676}},"2676":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2677":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2678}},"2678":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2679":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2680}},"2680":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2681":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2682}},"2682":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2683":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2684}},"2684":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2685":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2686}},"2686":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2687":{"date":{"__isSmartRef__":true,"id":2688},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"2688":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"2689":{"date":{"__isSmartRef__":true,"id":2690},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"2690":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"2691":{"date":{"__isSmartRef__":true,"id":2692},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"2692":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"2693":{"date":{"__isSmartRef__":true,"id":2694},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"2694":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"2695":{"date":{"__isSmartRef__":true,"id":2696},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"2696":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"2697":{"date":{"__isSmartRef__":true,"id":2698},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"2698":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"2699":{"date":{"__isSmartRef__":true,"id":2700},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"2700":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"2701":{"date":{"__isSmartRef__":true,"id":2702},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"2702":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"2703":{"date":{"__isSmartRef__":true,"id":2704},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"2704":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"2705":{"date":{"__isSmartRef__":true,"id":2706},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"2706":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"2707":{"date":{"__isSmartRef__":true,"id":2708},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"2708":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"2709":{"date":{"__isSmartRef__":true,"id":2710},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"2710":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"2711":{"date":{"__isSmartRef__":true,"id":2712},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"2712":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"2713":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"2714":{"morph":{"__isSmartRef__":true,"id":2243},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2715":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2716}},"2716":{"test01IsMorph":{"__isSmartRef__":true,"id":2717}},"2717":{"varMapping":{"__isSmartRef__":true,"id":2718},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":2719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2718":{"this":{"__isSmartRef__":true,"id":2715}},"2719":{},"2720":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2721":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2722":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2723":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2724":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2725":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2726":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2727":{"morph":{"__isSmartRef__":true,"id":2243},"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)"},"2728":{"adjustForNewBounds":true},"2729":{"Heat":0,"Factor":10,"Max":7.5,"Stopped":false},"2730":{"sourceObj":{"__isSmartRef__":true,"id":2243},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":2244},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":2731},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2731":{"source":{"__isSmartRef__":true,"id":2243},"target":{"__isSmartRef__":true,"id":2244}},"2732":{},"2733":{"referencedBy":{"__isSmartRef__":true,"id":2734},"references":{"__isSmartRef__":true,"id":2735}},"2734":{},"2735":{},"2736":{"migrateFrom":{"__isSmartRef__":true,"id":2737},"parsePropeties":{"__isSmartRef__":true,"id":2741},"printProperties":{"__isSmartRef__":true,"id":2745},"parseSimulationSource":{"__isSmartRef__":true,"id":2749},"simulateStep":{"__isSmartRef__":true,"id":2753},"showError":{"__isSmartRef__":true,"id":2756},"throwSimulationProblem":{"__isSmartRef__":true,"id":2760},"updateUI":{"__isSmartRef__":true,"id":2764},"resetStatus":{"__isSmartRef__":true,"id":2768},"simulateOneStep":{"__isSmartRef__":true,"id":2772},"reset":{"__isSmartRef__":true,"id":2776},"resetScriptAnalysis":{"__isSmartRef__":true,"id":2780},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":2784},"logReference":{"__isSmartRef__":true,"id":2788},"showScriptAnalysis":{"__isSmartRef__":true,"id":2792},"showReferenceTo":{"__isSmartRef__":true,"id":2796},"resetSourceHighlighting":{"__isSmartRef__":true,"id":2800},"showNameReference":{"__isSmartRef__":true,"id":2804}},"2737":{"varMapping":{"__isSmartRef__":true,"id":2738},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":2739},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2738":{"this":{"__isSmartRef__":true,"id":2243}},"2739":{"timestamp":{"__isSmartRef__":true,"id":2740},"user":"jenslincke","tags":[]},"2740":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"2741":{"varMapping":{"__isSmartRef__":true,"id":2742},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":2743},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2742":{"this":{"__isSmartRef__":true,"id":2243}},"2743":{"timestamp":{"__isSmartRef__":true,"id":2744},"user":"jenslincke","tags":[]},"2744":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"2745":{"varMapping":{"__isSmartRef__":true,"id":2746},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":2747},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2746":{"this":{"__isSmartRef__":true,"id":2243}},"2747":{"timestamp":{"__isSmartRef__":true,"id":2748},"user":"jenslincke","tags":[]},"2748":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"2749":{"varMapping":{"__isSmartRef__":true,"id":2750},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":2751},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2750":{"this":{"__isSmartRef__":true,"id":2243}},"2751":{"timestamp":{"__isSmartRef__":true,"id":2752},"user":"jenslincke","tags":[]},"2752":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"2753":{"varMapping":{"__isSmartRef__":true,"id":2754},"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":2755},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2754":{"this":{"__isSmartRef__":true,"id":2243}},"2755":{},"2756":{"varMapping":{"__isSmartRef__":true,"id":2757},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":2758},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2757":{"this":{"__isSmartRef__":true,"id":2243}},"2758":{"timestamp":{"__isSmartRef__":true,"id":2759},"user":"jenslincke","tags":[]},"2759":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"2760":{"varMapping":{"__isSmartRef__":true,"id":2761},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":2762},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2761":{"this":{"__isSmartRef__":true,"id":2243}},"2762":{"timestamp":{"__isSmartRef__":true,"id":2763},"user":"jenslincke","tags":[]},"2763":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"2764":{"varMapping":{"__isSmartRef__":true,"id":2765},"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":2766},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2765":{"this":{"__isSmartRef__":true,"id":2243}},"2766":{"timestamp":{"__isSmartRef__":true,"id":2767},"user":"jenslincke","tags":[]},"2767":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"2768":{"varMapping":{"__isSmartRef__":true,"id":2769},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":2770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2769":{"this":{"__isSmartRef__":true,"id":2243}},"2770":{"timestamp":{"__isSmartRef__":true,"id":2771},"user":"jenslincke","tags":[]},"2771":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"2772":{"varMapping":{"__isSmartRef__":true,"id":2773},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2774},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2773":{"this":{"__isSmartRef__":true,"id":2243}},"2774":{"timestamp":{"__isSmartRef__":true,"id":2775},"user":"jenslincke","tags":[]},"2775":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"2776":{"varMapping":{"__isSmartRef__":true,"id":2777},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":2778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2777":{"this":{"__isSmartRef__":true,"id":2243}},"2778":{"timestamp":{"__isSmartRef__":true,"id":2779},"user":"jenslincke","tags":[]},"2779":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"2780":{"varMapping":{"__isSmartRef__":true,"id":2781},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":2782},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2781":{"this":{"__isSmartRef__":true,"id":2243}},"2782":{"timestamp":{"__isSmartRef__":true,"id":2783},"user":"jenslincke","tags":[]},"2783":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"2784":{"varMapping":{"__isSmartRef__":true,"id":2785},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":2786},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2785":{"this":{"__isSmartRef__":true,"id":2243}},"2786":{"timestamp":{"__isSmartRef__":true,"id":2787},"user":"jenslincke","tags":[]},"2787":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"2788":{"varMapping":{"__isSmartRef__":true,"id":2789},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":2790},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2789":{"this":{"__isSmartRef__":true,"id":2243}},"2790":{"timestamp":{"__isSmartRef__":true,"id":2791},"user":"jenslincke","tags":[]},"2791":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"2792":{"varMapping":{"__isSmartRef__":true,"id":2793},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":2794},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2793":{"this":{"__isSmartRef__":true,"id":2243}},"2794":{"timestamp":{"__isSmartRef__":true,"id":2795},"user":"jenslincke","tags":[]},"2795":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"2796":{"varMapping":{"__isSmartRef__":true,"id":2797},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2798},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2797":{"this":{"__isSmartRef__":true,"id":2243}},"2798":{"timestamp":{"__isSmartRef__":true,"id":2799},"user":"jenslincke","tags":[]},"2799":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"2800":{"varMapping":{"__isSmartRef__":true,"id":2801},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":2802},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2801":{"this":{"__isSmartRef__":true,"id":2243}},"2802":{"timestamp":{"__isSmartRef__":true,"id":2803},"user":"jenslincke","tags":[]},"2803":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"2804":{"varMapping":{"__isSmartRef__":true,"id":2805},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":2806},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2805":{"this":{"__isSmartRef__":true,"id":2243}},"2806":{"timestamp":{"__isSmartRef__":true,"id":2807},"user":"jenslincke","tags":[]},"2807":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"2808":{"submorphs":[{"__isSmartRef__":true,"id":2809},{"__isSmartRef__":true,"id":2833},{"__isSmartRef__":true,"id":2916},{"__isSmartRef__":true,"id":2938}],"scripts":[],"id":"3DE20567-958A-46B7-9C99-DA0DBD9B9403","shape":{"__isSmartRef__":true,"id":2962},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2963},"eventHandler":{"__isSmartRef__":true,"id":3023},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":3024},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":3029},{"__isSmartRef__":true,"id":3030},{"__isSmartRef__":true,"id":3031},{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3033},{"__isSmartRef__":true,"id":3034},{"__isSmartRef__":true,"id":3035},{"__isSmartRef__":true,"id":3036}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":3037},"$":{"__isSmartRef__":true,"id":3038},"name":"HeatStorage","attributeConnections":[{"__isSmartRef__":true,"id":3039}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":3041},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":3042},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3045},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(1198.3,122.0)"},"2809":{"submorphs":[],"scripts":[],"id":"9B89107A-90AA-4B8C-9C2B-3A6CB95BEDA4","shape":{"__isSmartRef__":true,"id":2810},"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":2811},"textChunks":[{"__isSmartRef__":true,"id":2813}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2816}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":2817},"owner":{"__isSmartRef__":true,"id":2808},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":2808},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"priorSelectionRange":[11,11],"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2818},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"2810":{"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)"},"2811":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":2812},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2812":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"2813":{"style":{"__isSmartRef__":true,"id":2814},"chunkOwner":{"__isSmartRef__":true,"id":2809},"_id":"_5537","storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2814":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2815":{"sourceObj":{"__isSmartRef__":true,"id":2809},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":2809},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2816":{"sourceObj":{"__isSmartRef__":true,"id":2809},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2809},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2817":{"morph":{"__isSmartRef__":true,"id":2809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2818":{"updateLabel":{"__isSmartRef__":true,"id":2819},"renameOwner":{"__isSmartRef__":true,"id":2822},"onFocus":{"__isSmartRef__":true,"id":2825}},"2819":{"varMapping":{"__isSmartRef__":true,"id":2820},"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":2821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2820":{"this":{"__isSmartRef__":true,"id":2809}},"2821":{},"2822":{"varMapping":{"__isSmartRef__":true,"id":2823},"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":2824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2823":{"this":{"__isSmartRef__":true,"id":2809}},"2824":{},"2825":{"varMapping":{"__isSmartRef__":true,"id":2826},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":2831},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2826":{"this":{"__isSmartRef__":true,"id":2809},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2827}},"2827":{"$super":{"__isSmartRef__":true,"id":2828}},"2828":{"varMapping":{"__isSmartRef__":true,"id":2829},"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":2830},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2829":{"obj":{"__isSmartRef__":true,"id":2809},"name":"onFocus"},"2830":{},"2831":{"timestamp":{"__isSmartRef__":true,"id":2832},"user":"jenslincke","tags":[]},"2832":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"2833":{"submorphs":[],"scripts":[],"id":"86BDFE3B-DCC3-4613-933A-30BC33AF3EE4","shape":{"__isSmartRef__":true,"id":2834},"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":2835},"textChunks":[{"__isSmartRef__":true,"id":2851}],"charsReplaced":" ","lastFindLoc":409,"prevScroll":[0,0],"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","D8C320FE-7916-4301-99FC-57DF6F7818E8","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_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":2808},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":2863},{"__isSmartRef__":true,"id":2865}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":2,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[301,301],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2867},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"2834":{"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(152.3,0.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2835":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2836},{"__isSmartRef__":true,"id":2838},{"__isSmartRef__":true,"id":2840},{"__isSmartRef__":true,"id":2842},{"__isSmartRef__":true,"id":2844},{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":2848}],"lastModifiedDate":{"__isSmartRef__":true,"id":2850},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2836":{"date":{"__isSmartRef__":true,"id":2837},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2837":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2838":{"date":{"__isSmartRef__":true,"id":2839},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2839":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2840":{"date":{"__isSmartRef__":true,"id":2841},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2841":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2842":{"date":{"__isSmartRef__":true,"id":2843},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2843":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2844":{"date":{"__isSmartRef__":true,"id":2845},"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"},"2845":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2846":{"date":{"__isSmartRef__":true,"id":2847},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2847":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2848":{"date":{"__isSmartRef__":true,"id":2849},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2849":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2850":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2851":{"style":{"__isSmartRef__":true,"id":2852},"chunkOwner":{"__isSmartRef__":true,"id":2833},"_id":"_5","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2852":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2853":{"morph":{"__isSmartRef__":true,"id":2833},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2854":{"morph":{"__isSmartRef__":true,"id":2833},"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":2833},"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":2833},"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":2833},"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":2833},"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":2833},"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":2833},"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":2833},"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":2833},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2808},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":2864},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2864":{"source":{"__isSmartRef__":true,"id":2833},"target":{"__isSmartRef__":true,"id":2808}},"2865":{"sourceObj":{"__isSmartRef__":true,"id":2833},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":2833},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":2866},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2866":{"source":{"__isSmartRef__":true,"id":2833},"target":{"__isSmartRef__":true,"id":2833}},"2867":{"boundEval":{"__isSmartRef__":true,"id":2868},"getDoitContext":{"__isSmartRef__":true,"id":2876},"installLayers":{"__isSmartRef__":true,"id":2884},"onLoad":{"__isSmartRef__":true,"id":2888},"highligtScriptNames":{"__isSmartRef__":true,"id":2892},"getAutoCompletion":{"__isSmartRef__":true,"id":2896},"reset":{"__isSmartRef__":true,"id":2904},"getLastWordRange":{"__isSmartRef__":true,"id":2908}},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\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":2833},"__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":2833},"name":"boundEval"},"2873":{},"2874":{"timestamp":{"__isSmartRef__":true,"id":2875},"user":"jenslincke","tags":[]},"2875":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 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":2833},"__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":2833},"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":2833}},"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":2833}},"2890":{"timestamp":{"__isSmartRef__":true,"id":2891},"user":"jenslincke","tags":[]},"2891":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"2892":{"varMapping":{"__isSmartRef__":true,"id":2893},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":2894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2893":{"this":{"__isSmartRef__":true,"id":2833}},"2894":{"timestamp":{"__isSmartRef__":true,"id":2895},"user":"jenslincke","tags":[]},"2895":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"2896":{"varMapping":{"__isSmartRef__":true,"id":2897},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":2902},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2897":{"this":{"__isSmartRef__":true,"id":2833},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2898}},"2898":{"$super":{"__isSmartRef__":true,"id":2899}},"2899":{"varMapping":{"__isSmartRef__":true,"id":2900},"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":2901},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2900":{"obj":{"__isSmartRef__":true,"id":2833},"name":"getAutoCompletion"},"2901":{},"2902":{"timestamp":{"__isSmartRef__":true,"id":2903},"user":"jenslincke","tags":[]},"2903":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"2904":{"varMapping":{"__isSmartRef__":true,"id":2905},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":2906},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2905":{"this":{"__isSmartRef__":true,"id":2833}},"2906":{"timestamp":{"__isSmartRef__":true,"id":2907},"user":"jenslincke","tags":[]},"2907":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"2908":{"varMapping":{"__isSmartRef__":true,"id":2909},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":2914},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2909":{"this":{"__isSmartRef__":true,"id":2833},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2910}},"2910":{"$super":{"__isSmartRef__":true,"id":2911}},"2911":{"varMapping":{"__isSmartRef__":true,"id":2912},"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":2913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2912":{"obj":{"__isSmartRef__":true,"id":2833},"name":"getLastWordRange"},"2913":{},"2914":{"timestamp":{"__isSmartRef__":true,"id":2915},"user":"jenslincke","tags":[]},"2915":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"2916":{"submorphs":[],"scripts":[],"id":"BAA664DE-443A-4E48-B90E-C835D15C15D1","shape":{"__isSmartRef__":true,"id":2917},"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":2918},"textChunks":[{"__isSmartRef__":true,"id":2934}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2936},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2808},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2937},"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)"},"2917":{"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(144.4,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2918":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2919},{"__isSmartRef__":true,"id":2921},{"__isSmartRef__":true,"id":2923},{"__isSmartRef__":true,"id":2925},{"__isSmartRef__":true,"id":2927},{"__isSmartRef__":true,"id":2929},{"__isSmartRef__":true,"id":2931}],"lastModifiedDate":{"__isSmartRef__":true,"id":2933},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2919":{"date":{"__isSmartRef__":true,"id":2920},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2920":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2921":{"date":{"__isSmartRef__":true,"id":2922},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2922":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2923":{"date":{"__isSmartRef__":true,"id":2924},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2924":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2925":{"date":{"__isSmartRef__":true,"id":2926},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2926":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2927":{"date":{"__isSmartRef__":true,"id":2928},"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"},"2928":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2929":{"date":{"__isSmartRef__":true,"id":2930},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2930":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2931":{"date":{"__isSmartRef__":true,"id":2932},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2932":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2933":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2934":{"style":{"__isSmartRef__":true,"id":2935},"chunkOwner":{"__isSmartRef__":true,"id":2916},"_id":"_11218","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2935":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2936":{"morph":{"__isSmartRef__":true,"id":2916},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2937":{"moveVertical":true,"resizeWidth":true},"2938":{"submorphs":[],"scripts":[],"id":"F6EEDD0F-7F83-47ED-8009-A582351C2A3F","shape":{"__isSmartRef__":true,"id":2939},"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":2940},"textChunks":[{"__isSmartRef__":true,"id":2956}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":2958},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":2808},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":2959}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":2961},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"2939":{"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.9,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"2940":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":2941},{"__isSmartRef__":true,"id":2943},{"__isSmartRef__":true,"id":2945},{"__isSmartRef__":true,"id":2947},{"__isSmartRef__":true,"id":2949},{"__isSmartRef__":true,"id":2951},{"__isSmartRef__":true,"id":2953}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":2955},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2941":{"date":{"__isSmartRef__":true,"id":2942},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"2942":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"2943":{"date":{"__isSmartRef__":true,"id":2944},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"2944":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"2945":{"date":{"__isSmartRef__":true,"id":2946},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"2946":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"2947":{"date":{"__isSmartRef__":true,"id":2948},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"2948":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"2949":{"date":{"__isSmartRef__":true,"id":2950},"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"},"2950":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"2951":{"date":{"__isSmartRef__":true,"id":2952},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"2952":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"2953":{"date":{"__isSmartRef__":true,"id":2954},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"2954":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"2955":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"2956":{"style":{"__isSmartRef__":true,"id":2957},"chunkOwner":{"__isSmartRef__":true,"id":2938},"_id":"_11196","storedString":"Energy: 0 [kWs]\nMax: 360 [kWs]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2957":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2958":{"morph":{"__isSmartRef__":true,"id":2938},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2959":{"sourceObj":{"__isSmartRef__":true,"id":2938},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":2808},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":2960},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"2960":{"source":{"__isSmartRef__":true,"id":2938},"target":{"__isSmartRef__":true,"id":2808}},"2961":{"resizeWidth":true},"2962":{"_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)"},"2963":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__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},{"__isSmartRef__":true,"id":2978},{"__isSmartRef__":true,"id":2980},{"__isSmartRef__":true,"id":2982},{"__isSmartRef__":true,"id":2984},{"__isSmartRef__":true,"id":2986},{"__isSmartRef__":true,"id":2988},{"__isSmartRef__":true,"id":2990},{"__isSmartRef__":true,"id":2992},{"__isSmartRef__":true,"id":2994},{"__isSmartRef__":true,"id":2996},{"__isSmartRef__":true,"id":2998},{"__isSmartRef__":true,"id":3000},{"__isSmartRef__":true,"id":3002},{"__isSmartRef__":true,"id":3004},{"__isSmartRef__":true,"id":3006},{"__isSmartRef__":true,"id":3008},{"__isSmartRef__":true,"id":3010},{"__isSmartRef__":true,"id":3012},{"__isSmartRef__":true,"id":3014},{"__isSmartRef__":true,"id":3016},{"__isSmartRef__":true,"id":3018},{"__isSmartRef__":true,"id":3020}],"lastModifiedDate":{"__isSmartRef__":true,"id":3022},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"2964":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":2965}},"2965":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"2966":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":2967}},"2967":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"2968":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":2969}},"2969":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"2970":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":2971}},"2971":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"2972":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":2973}},"2973":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"2974":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":2975}},"2975":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"2976":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":2977}},"2977":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"2978":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":2979}},"2979":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"2980":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":2981}},"2981":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"2982":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":2983}},"2983":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"2984":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":2985}},"2985":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"2986":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":2987}},"2987":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"2988":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":2989}},"2989":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"2990":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":2991}},"2991":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"2992":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":2993}},"2993":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"2994":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":2995}},"2995":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"2996":{"date":{"__isSmartRef__":true,"id":2997},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"2997":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"2998":{"date":{"__isSmartRef__":true,"id":2999},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"2999":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"3000":{"date":{"__isSmartRef__":true,"id":3001},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"3001":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"3002":{"date":{"__isSmartRef__":true,"id":3003},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"3003":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"3004":{"date":{"__isSmartRef__":true,"id":3005},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"3005":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"3006":{"date":{"__isSmartRef__":true,"id":3007},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"3007":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"3008":{"date":{"__isSmartRef__":true,"id":3009},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"3009":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"3010":{"date":{"__isSmartRef__":true,"id":3011},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"3011":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"3012":{"date":{"__isSmartRef__":true,"id":3013},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"3013":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"3014":{"date":{"__isSmartRef__":true,"id":3015},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"3015":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"3016":{"date":{"__isSmartRef__":true,"id":3017},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"3017":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"3018":{"date":{"__isSmartRef__":true,"id":3019},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"3019":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"3020":{"date":{"__isSmartRef__":true,"id":3021},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"3021":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"3022":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"3023":{"morph":{"__isSmartRef__":true,"id":2808},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3024":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3025}},"3025":{"test01IsMorph":{"__isSmartRef__":true,"id":3026}},"3026":{"varMapping":{"__isSmartRef__":true,"id":3027},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3028},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3027":{"this":{"__isSmartRef__":true,"id":3024}},"3028":{},"3029":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3030":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3031":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3032":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3033":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3034":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3035":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3036":{"morph":{"__isSmartRef__":true,"id":2808},"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)"},"3037":{"adjustForNewBounds":true},"3038":{"Energy":0,"Max":360},"3039":{"sourceObj":{"__isSmartRef__":true,"id":2808},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":2809},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":3040},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3040":{"source":{"__isSmartRef__":true,"id":2808},"target":{"__isSmartRef__":true,"id":2809}},"3041":{"Energy":"kWs","Max":"kWs"},"3042":{"referencedBy":{"__isSmartRef__":true,"id":3043},"references":{"__isSmartRef__":true,"id":3044}},"3043":{},"3044":{},"3045":{"migrateFrom":{"__isSmartRef__":true,"id":3046},"parsePropeties":{"__isSmartRef__":true,"id":3050},"printProperties":{"__isSmartRef__":true,"id":3054},"parseSimulationSource":{"__isSmartRef__":true,"id":3058},"simulateStep":{"__isSmartRef__":true,"id":3062},"showError":{"__isSmartRef__":true,"id":3065},"throwSimulationProblem":{"__isSmartRef__":true,"id":3069},"updateUI":{"__isSmartRef__":true,"id":3073},"resetStatus":{"__isSmartRef__":true,"id":3077},"simulateOneStep":{"__isSmartRef__":true,"id":3081},"reset":{"__isSmartRef__":true,"id":3085},"resetScriptAnalysis":{"__isSmartRef__":true,"id":3089},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":3093},"logReference":{"__isSmartRef__":true,"id":3097},"showScriptAnalysis":{"__isSmartRef__":true,"id":3101},"showReferenceTo":{"__isSmartRef__":true,"id":3105},"resetSourceHighlighting":{"__isSmartRef__":true,"id":3109},"showNameReference":{"__isSmartRef__":true,"id":3113}},"3046":{"varMapping":{"__isSmartRef__":true,"id":3047},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":3048},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3047":{"this":{"__isSmartRef__":true,"id":2808}},"3048":{"timestamp":{"__isSmartRef__":true,"id":3049},"user":"jenslincke","tags":[]},"3049":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"3050":{"varMapping":{"__isSmartRef__":true,"id":3051},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":3052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3051":{"this":{"__isSmartRef__":true,"id":2808}},"3052":{"timestamp":{"__isSmartRef__":true,"id":3053},"user":"jenslincke","tags":[]},"3053":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"3054":{"varMapping":{"__isSmartRef__":true,"id":3055},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":3056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3055":{"this":{"__isSmartRef__":true,"id":2808}},"3056":{"timestamp":{"__isSmartRef__":true,"id":3057},"user":"jenslincke","tags":[]},"3057":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"3058":{"varMapping":{"__isSmartRef__":true,"id":3059},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":3060},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3059":{"this":{"__isSmartRef__":true,"id":2808}},"3060":{"timestamp":{"__isSmartRef__":true,"id":3061},"user":"jenslincke","tags":[]},"3061":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"3062":{"varMapping":{"__isSmartRef__":true,"id":3063},"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":3064},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3063":{"this":{"__isSmartRef__":true,"id":2808}},"3064":{},"3065":{"varMapping":{"__isSmartRef__":true,"id":3066},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":3067},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3066":{"this":{"__isSmartRef__":true,"id":2808}},"3067":{"timestamp":{"__isSmartRef__":true,"id":3068},"user":"jenslincke","tags":[]},"3068":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"3069":{"varMapping":{"__isSmartRef__":true,"id":3070},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":3071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3070":{"this":{"__isSmartRef__":true,"id":2808}},"3071":{"timestamp":{"__isSmartRef__":true,"id":3072},"user":"jenslincke","tags":[]},"3072":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"3073":{"varMapping":{"__isSmartRef__":true,"id":3074},"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":3075},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3074":{"this":{"__isSmartRef__":true,"id":2808}},"3075":{"timestamp":{"__isSmartRef__":true,"id":3076},"user":"jenslincke","tags":[]},"3076":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"3077":{"varMapping":{"__isSmartRef__":true,"id":3078},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":3079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3078":{"this":{"__isSmartRef__":true,"id":2808}},"3079":{"timestamp":{"__isSmartRef__":true,"id":3080},"user":"jenslincke","tags":[]},"3080":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"3081":{"varMapping":{"__isSmartRef__":true,"id":3082},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3083},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3082":{"this":{"__isSmartRef__":true,"id":2808}},"3083":{"timestamp":{"__isSmartRef__":true,"id":3084},"user":"jenslincke","tags":[]},"3084":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"3085":{"varMapping":{"__isSmartRef__":true,"id":3086},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":3087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3086":{"this":{"__isSmartRef__":true,"id":2808}},"3087":{"timestamp":{"__isSmartRef__":true,"id":3088},"user":"jenslincke","tags":[]},"3088":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"3089":{"varMapping":{"__isSmartRef__":true,"id":3090},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":3091},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3090":{"this":{"__isSmartRef__":true,"id":2808}},"3091":{"timestamp":{"__isSmartRef__":true,"id":3092},"user":"jenslincke","tags":[]},"3092":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"3093":{"varMapping":{"__isSmartRef__":true,"id":3094},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":3095},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3094":{"this":{"__isSmartRef__":true,"id":2808}},"3095":{"timestamp":{"__isSmartRef__":true,"id":3096},"user":"jenslincke","tags":[]},"3096":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"3097":{"varMapping":{"__isSmartRef__":true,"id":3098},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":3099},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3098":{"this":{"__isSmartRef__":true,"id":2808}},"3099":{"timestamp":{"__isSmartRef__":true,"id":3100},"user":"jenslincke","tags":[]},"3100":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"3101":{"varMapping":{"__isSmartRef__":true,"id":3102},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":3103},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3102":{"this":{"__isSmartRef__":true,"id":2808}},"3103":{"timestamp":{"__isSmartRef__":true,"id":3104},"user":"jenslincke","tags":[]},"3104":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"3105":{"varMapping":{"__isSmartRef__":true,"id":3106},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3106":{"this":{"__isSmartRef__":true,"id":2808}},"3107":{"timestamp":{"__isSmartRef__":true,"id":3108},"user":"jenslincke","tags":[]},"3108":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"3109":{"varMapping":{"__isSmartRef__":true,"id":3110},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":3111},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3110":{"this":{"__isSmartRef__":true,"id":2808}},"3111":{"timestamp":{"__isSmartRef__":true,"id":3112},"user":"jenslincke","tags":[]},"3112":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"3113":{"varMapping":{"__isSmartRef__":true,"id":3114},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":3115},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3114":{"this":{"__isSmartRef__":true,"id":2808}},"3115":{"timestamp":{"__isSmartRef__":true,"id":3116},"user":"jenslincke","tags":[]},"3116":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"3117":{"submorphs":[{"__isSmartRef__":true,"id":3118},{"__isSmartRef__":true,"id":3142},{"__isSmartRef__":true,"id":3225},{"__isSmartRef__":true,"id":3247}],"scripts":[],"id":"B46482DF-F599-459F-BAC6-B55F595A02B7","shape":{"__isSmartRef__":true,"id":3271},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3272},"eventHandler":{"__isSmartRef__":true,"id":3332},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":3333},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":3338},{"__isSmartRef__":true,"id":3339},{"__isSmartRef__":true,"id":3340},{"__isSmartRef__":true,"id":3341},{"__isSmartRef__":true,"id":3342},{"__isSmartRef__":true,"id":3343},{"__isSmartRef__":true,"id":3344},{"__isSmartRef__":true,"id":3345}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":3346},"$":{"__isSmartRef__":true,"id":3347},"name":"Battery","attributeConnections":[{"__isSmartRef__":true,"id":3348}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":3350},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":3351},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3354},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(1205.8,414.3)"},"3118":{"submorphs":[],"scripts":[],"id":"D24675DE-5988-4570-A7C8-FA553D365D0E","shape":{"__isSmartRef__":true,"id":3119},"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":3120},"textChunks":[{"__isSmartRef__":true,"id":3122}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":3124},{"__isSmartRef__":true,"id":3125}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":3126},"owner":{"__isSmartRef__":true,"id":3117},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":3117},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3127},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"3119":{"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)"},"3120":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":3121},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3121":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"3122":{"style":{"__isSmartRef__":true,"id":3123},"chunkOwner":{"__isSmartRef__":true,"id":3118},"_id":"_5547","storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3123":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3124":{"sourceObj":{"__isSmartRef__":true,"id":3118},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":3118},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3125":{"sourceObj":{"__isSmartRef__":true,"id":3118},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3118},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3126":{"morph":{"__isSmartRef__":true,"id":3118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3127":{"updateLabel":{"__isSmartRef__":true,"id":3128},"renameOwner":{"__isSmartRef__":true,"id":3131},"onFocus":{"__isSmartRef__":true,"id":3134}},"3128":{"varMapping":{"__isSmartRef__":true,"id":3129},"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":3130},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3129":{"this":{"__isSmartRef__":true,"id":3118}},"3130":{},"3131":{"varMapping":{"__isSmartRef__":true,"id":3132},"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":3133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3132":{"this":{"__isSmartRef__":true,"id":3118}},"3133":{},"3134":{"varMapping":{"__isSmartRef__":true,"id":3135},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":3140},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3135":{"this":{"__isSmartRef__":true,"id":3118},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3136}},"3136":{"$super":{"__isSmartRef__":true,"id":3137}},"3137":{"varMapping":{"__isSmartRef__":true,"id":3138},"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":3139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3138":{"obj":{"__isSmartRef__":true,"id":3118},"name":"onFocus"},"3139":{},"3140":{"timestamp":{"__isSmartRef__":true,"id":3141},"user":"jenslincke","tags":[]},"3141":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"3142":{"submorphs":[],"scripts":[],"id":"DCB60234-D592-4BB2-B929-65859D645FB0","shape":{"__isSmartRef__":true,"id":3143},"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":3144},"textChunks":[{"__isSmartRef__":true,"id":3160}],"charsReplaced":" ","lastFindLoc":409,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3162},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":3163},{"__isSmartRef__":true,"id":3164},{"__isSmartRef__":true,"id":3165},{"__isSmartRef__":true,"id":3166},{"__isSmartRef__":true,"id":3167},{"__isSmartRef__":true,"id":3168},{"__isSmartRef__":true,"id":3169},{"__isSmartRef__":true,"id":3170}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3171},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":3117},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":3172},{"__isSmartRef__":true,"id":3174}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":1,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[301,301],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3176},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"3143":{"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(146.2,0.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3144":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3145},{"__isSmartRef__":true,"id":3147},{"__isSmartRef__":true,"id":3149},{"__isSmartRef__":true,"id":3151},{"__isSmartRef__":true,"id":3153},{"__isSmartRef__":true,"id":3155},{"__isSmartRef__":true,"id":3157}],"lastModifiedDate":{"__isSmartRef__":true,"id":3159},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3145":{"date":{"__isSmartRef__":true,"id":3146},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3146":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3147":{"date":{"__isSmartRef__":true,"id":3148},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3148":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3149":{"date":{"__isSmartRef__":true,"id":3150},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3150":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3151":{"date":{"__isSmartRef__":true,"id":3152},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3152":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3153":{"date":{"__isSmartRef__":true,"id":3154},"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"},"3154":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3155":{"date":{"__isSmartRef__":true,"id":3156},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3156":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3157":{"date":{"__isSmartRef__":true,"id":3158},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3158":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3159":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3160":{"style":{"__isSmartRef__":true,"id":3161},"chunkOwner":{"__isSmartRef__":true,"id":3142},"_id":"_6","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3161":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3162":{"morph":{"__isSmartRef__":true,"id":3142},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3163":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3164":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3165":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3166":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3167":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3168":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3169":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3170":{"morph":{"__isSmartRef__":true,"id":3142},"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)"},"3171":{"resizeWidth":true,"resizeHeight":true},"3172":{"sourceObj":{"__isSmartRef__":true,"id":3142},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3117},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":3173},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3173":{"source":{"__isSmartRef__":true,"id":3142},"target":{"__isSmartRef__":true,"id":3117}},"3174":{"sourceObj":{"__isSmartRef__":true,"id":3142},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3142},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":3175},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3175":{"source":{"__isSmartRef__":true,"id":3142},"target":{"__isSmartRef__":true,"id":3142}},"3176":{"boundEval":{"__isSmartRef__":true,"id":3177},"getDoitContext":{"__isSmartRef__":true,"id":3185},"installLayers":{"__isSmartRef__":true,"id":3193},"onLoad":{"__isSmartRef__":true,"id":3197},"highligtScriptNames":{"__isSmartRef__":true,"id":3201},"getAutoCompletion":{"__isSmartRef__":true,"id":3205},"reset":{"__isSmartRef__":true,"id":3213},"getLastWordRange":{"__isSmartRef__":true,"id":3217}},"3177":{"varMapping":{"__isSmartRef__":true,"id":3178},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3178":{"this":{"__isSmartRef__":true,"id":3142},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3179}},"3179":{"$super":{"__isSmartRef__":true,"id":3180}},"3180":{"varMapping":{"__isSmartRef__":true,"id":3181},"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":3182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3181":{"obj":{"__isSmartRef__":true,"id":3142},"name":"boundEval"},"3182":{},"3183":{"timestamp":{"__isSmartRef__":true,"id":3184},"user":"jenslincke","tags":[]},"3184":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"3185":{"varMapping":{"__isSmartRef__":true,"id":3186},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":3191},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3186":{"this":{"__isSmartRef__":true,"id":3142},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3187}},"3187":{"$super":{"__isSmartRef__":true,"id":3188}},"3188":{"varMapping":{"__isSmartRef__":true,"id":3189},"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":3190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3189":{"obj":{"__isSmartRef__":true,"id":3142},"name":"getDoitContext"},"3190":{},"3191":{"timestamp":{"__isSmartRef__":true,"id":3192},"user":"jenslincke","tags":[]},"3192":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"3193":{"varMapping":{"__isSmartRef__":true,"id":3194},"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":3195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3194":{"this":{"__isSmartRef__":true,"id":3142}},"3195":{"timestamp":{"__isSmartRef__":true,"id":3196},"user":"jenslincke","tags":[]},"3196":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"3197":{"varMapping":{"__isSmartRef__":true,"id":3198},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":3199},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3198":{"this":{"__isSmartRef__":true,"id":3142}},"3199":{"timestamp":{"__isSmartRef__":true,"id":3200},"user":"jenslincke","tags":[]},"3200":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"3201":{"varMapping":{"__isSmartRef__":true,"id":3202},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":3203},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3202":{"this":{"__isSmartRef__":true,"id":3142}},"3203":{"timestamp":{"__isSmartRef__":true,"id":3204},"user":"jenslincke","tags":[]},"3204":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"3205":{"varMapping":{"__isSmartRef__":true,"id":3206},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":3211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3206":{"this":{"__isSmartRef__":true,"id":3142},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3207}},"3207":{"$super":{"__isSmartRef__":true,"id":3208}},"3208":{"varMapping":{"__isSmartRef__":true,"id":3209},"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":3210},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3209":{"obj":{"__isSmartRef__":true,"id":3142},"name":"getAutoCompletion"},"3210":{},"3211":{"timestamp":{"__isSmartRef__":true,"id":3212},"user":"jenslincke","tags":[]},"3212":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"3213":{"varMapping":{"__isSmartRef__":true,"id":3214},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":3215},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3214":{"this":{"__isSmartRef__":true,"id":3142}},"3215":{"timestamp":{"__isSmartRef__":true,"id":3216},"user":"jenslincke","tags":[]},"3216":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"3217":{"varMapping":{"__isSmartRef__":true,"id":3218},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3218":{"this":{"__isSmartRef__":true,"id":3142},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3219}},"3219":{"$super":{"__isSmartRef__":true,"id":3220}},"3220":{"varMapping":{"__isSmartRef__":true,"id":3221},"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":3222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3221":{"obj":{"__isSmartRef__":true,"id":3142},"name":"getLastWordRange"},"3222":{},"3223":{"timestamp":{"__isSmartRef__":true,"id":3224},"user":"jenslincke","tags":[]},"3224":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"3225":{"submorphs":[],"scripts":[],"id":"4D073D66-DB15-40AF-8DA8-E42C4F578967","shape":{"__isSmartRef__":true,"id":3226},"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":3227},"textChunks":[{"__isSmartRef__":true,"id":3243}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3245},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3117},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3246},"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)"},"3226":{"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(138.3,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3227":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3228},{"__isSmartRef__":true,"id":3230},{"__isSmartRef__":true,"id":3232},{"__isSmartRef__":true,"id":3234},{"__isSmartRef__":true,"id":3236},{"__isSmartRef__":true,"id":3238},{"__isSmartRef__":true,"id":3240}],"lastModifiedDate":{"__isSmartRef__":true,"id":3242},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3228":{"date":{"__isSmartRef__":true,"id":3229},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3229":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3230":{"date":{"__isSmartRef__":true,"id":3231},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3231":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3232":{"date":{"__isSmartRef__":true,"id":3233},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3233":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3234":{"date":{"__isSmartRef__":true,"id":3235},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3235":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3236":{"date":{"__isSmartRef__":true,"id":3237},"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"},"3237":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3238":{"date":{"__isSmartRef__":true,"id":3239},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3239":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3240":{"date":{"__isSmartRef__":true,"id":3241},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3241":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3242":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3243":{"style":{"__isSmartRef__":true,"id":3244},"chunkOwner":{"__isSmartRef__":true,"id":3225},"_id":"_11220","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3244":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3245":{"morph":{"__isSmartRef__":true,"id":3225},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3246":{"moveVertical":true,"resizeWidth":true},"3247":{"submorphs":[],"scripts":[],"id":"3283E591-2114-41FE-89C7-E10861706124","shape":{"__isSmartRef__":true,"id":3248},"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":3249},"textChunks":[{"__isSmartRef__":true,"id":3265}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3267},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3117},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":3268}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3270},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"3248":{"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(131.8,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3249":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3250},{"__isSmartRef__":true,"id":3252},{"__isSmartRef__":true,"id":3254},{"__isSmartRef__":true,"id":3256},{"__isSmartRef__":true,"id":3258},{"__isSmartRef__":true,"id":3260},{"__isSmartRef__":true,"id":3262}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":3264},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3250":{"date":{"__isSmartRef__":true,"id":3251},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3251":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3252":{"date":{"__isSmartRef__":true,"id":3253},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3253":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3254":{"date":{"__isSmartRef__":true,"id":3255},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3255":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3256":{"date":{"__isSmartRef__":true,"id":3257},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3257":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3258":{"date":{"__isSmartRef__":true,"id":3259},"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"},"3259":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3260":{"date":{"__isSmartRef__":true,"id":3261},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3261":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3262":{"date":{"__isSmartRef__":true,"id":3263},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3263":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3264":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3265":{"style":{"__isSmartRef__":true,"id":3266},"chunkOwner":{"__isSmartRef__":true,"id":3247},"_id":"_11197","storedString":"Energy: 0\nMax: 360","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3266":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3267":{"morph":{"__isSmartRef__":true,"id":3247},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3268":{"sourceObj":{"__isSmartRef__":true,"id":3247},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3117},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":3269},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3269":{"source":{"__isSmartRef__":true,"id":3247},"target":{"__isSmartRef__":true,"id":3117}},"3270":{"resizeWidth":true},"3271":{"_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)"},"3272":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":3273},{"__isSmartRef__":true,"id":3275},{"__isSmartRef__":true,"id":3277},{"__isSmartRef__":true,"id":3279},{"__isSmartRef__":true,"id":3281},{"__isSmartRef__":true,"id":3283},{"__isSmartRef__":true,"id":3285},{"__isSmartRef__":true,"id":3287},{"__isSmartRef__":true,"id":3289},{"__isSmartRef__":true,"id":3291},{"__isSmartRef__":true,"id":3293},{"__isSmartRef__":true,"id":3295},{"__isSmartRef__":true,"id":3297},{"__isSmartRef__":true,"id":3299},{"__isSmartRef__":true,"id":3301},{"__isSmartRef__":true,"id":3303},{"__isSmartRef__":true,"id":3305},{"__isSmartRef__":true,"id":3307},{"__isSmartRef__":true,"id":3309},{"__isSmartRef__":true,"id":3311},{"__isSmartRef__":true,"id":3313},{"__isSmartRef__":true,"id":3315},{"__isSmartRef__":true,"id":3317},{"__isSmartRef__":true,"id":3319},{"__isSmartRef__":true,"id":3321},{"__isSmartRef__":true,"id":3323},{"__isSmartRef__":true,"id":3325},{"__isSmartRef__":true,"id":3327},{"__isSmartRef__":true,"id":3329}],"lastModifiedDate":{"__isSmartRef__":true,"id":3331},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3273":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":3274}},"3274":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"3275":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":3276}},"3276":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"3277":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":3278}},"3278":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"3279":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":3280}},"3280":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3281":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":3282}},"3282":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3283":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":3284}},"3284":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3285":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":3286}},"3286":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3287":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":3288}},"3288":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3289":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":3290}},"3290":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3291":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":3292}},"3292":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"3293":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":3294}},"3294":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"3295":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":3296}},"3296":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"3297":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":3298}},"3298":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"3299":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":3300}},"3300":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"3301":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":3302}},"3302":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"3303":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":3304}},"3304":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"3305":{"date":{"__isSmartRef__":true,"id":3306},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"3306":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"3307":{"date":{"__isSmartRef__":true,"id":3308},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"3308":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"3309":{"date":{"__isSmartRef__":true,"id":3310},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"3310":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"3311":{"date":{"__isSmartRef__":true,"id":3312},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"3312":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"3313":{"date":{"__isSmartRef__":true,"id":3314},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"3314":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"3315":{"date":{"__isSmartRef__":true,"id":3316},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"3316":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"3317":{"date":{"__isSmartRef__":true,"id":3318},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"3318":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"3319":{"date":{"__isSmartRef__":true,"id":3320},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"3320":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"3321":{"date":{"__isSmartRef__":true,"id":3322},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"3322":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"3323":{"date":{"__isSmartRef__":true,"id":3324},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"3324":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"3325":{"date":{"__isSmartRef__":true,"id":3326},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"3326":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"3327":{"date":{"__isSmartRef__":true,"id":3328},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"3328":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"3329":{"date":{"__isSmartRef__":true,"id":3330},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"3330":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"3331":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"3332":{"morph":{"__isSmartRef__":true,"id":3117},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3333":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3334}},"3334":{"test01IsMorph":{"__isSmartRef__":true,"id":3335}},"3335":{"varMapping":{"__isSmartRef__":true,"id":3336},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3337},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3336":{"this":{"__isSmartRef__":true,"id":3333}},"3337":{},"3338":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3339":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3340":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3341":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3342":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3343":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3344":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3345":{"morph":{"__isSmartRef__":true,"id":3117},"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)"},"3346":{"adjustForNewBounds":true},"3347":{"Energy":0,"Max":360},"3348":{"sourceObj":{"__isSmartRef__":true,"id":3117},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":3118},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":3349},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3349":{"source":{"__isSmartRef__":true,"id":3117},"target":{"__isSmartRef__":true,"id":3118}},"3350":{},"3351":{"referencedBy":{"__isSmartRef__":true,"id":3352},"references":{"__isSmartRef__":true,"id":3353}},"3352":{},"3353":{},"3354":{"migrateFrom":{"__isSmartRef__":true,"id":3355},"parsePropeties":{"__isSmartRef__":true,"id":3359},"printProperties":{"__isSmartRef__":true,"id":3363},"parseSimulationSource":{"__isSmartRef__":true,"id":3367},"simulateStep":{"__isSmartRef__":true,"id":3371},"showError":{"__isSmartRef__":true,"id":3374},"throwSimulationProblem":{"__isSmartRef__":true,"id":3378},"updateUI":{"__isSmartRef__":true,"id":3382},"resetStatus":{"__isSmartRef__":true,"id":3386},"simulateOneStep":{"__isSmartRef__":true,"id":3390},"reset":{"__isSmartRef__":true,"id":3394},"resetScriptAnalysis":{"__isSmartRef__":true,"id":3398},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":3402},"logReference":{"__isSmartRef__":true,"id":3406},"showScriptAnalysis":{"__isSmartRef__":true,"id":3410},"showReferenceTo":{"__isSmartRef__":true,"id":3414},"resetSourceHighlighting":{"__isSmartRef__":true,"id":3418},"showNameReference":{"__isSmartRef__":true,"id":3422}},"3355":{"varMapping":{"__isSmartRef__":true,"id":3356},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":3357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3356":{"this":{"__isSmartRef__":true,"id":3117}},"3357":{"timestamp":{"__isSmartRef__":true,"id":3358},"user":"jenslincke","tags":[]},"3358":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"3359":{"varMapping":{"__isSmartRef__":true,"id":3360},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":3361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3360":{"this":{"__isSmartRef__":true,"id":3117}},"3361":{"timestamp":{"__isSmartRef__":true,"id":3362},"user":"jenslincke","tags":[]},"3362":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"3363":{"varMapping":{"__isSmartRef__":true,"id":3364},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":3365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3364":{"this":{"__isSmartRef__":true,"id":3117}},"3365":{"timestamp":{"__isSmartRef__":true,"id":3366},"user":"jenslincke","tags":[]},"3366":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"3367":{"varMapping":{"__isSmartRef__":true,"id":3368},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":3369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3368":{"this":{"__isSmartRef__":true,"id":3117}},"3369":{"timestamp":{"__isSmartRef__":true,"id":3370},"user":"jenslincke","tags":[]},"3370":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"3371":{"varMapping":{"__isSmartRef__":true,"id":3372},"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":3373},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3372":{"this":{"__isSmartRef__":true,"id":3117}},"3373":{},"3374":{"varMapping":{"__isSmartRef__":true,"id":3375},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":3376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3375":{"this":{"__isSmartRef__":true,"id":3117}},"3376":{"timestamp":{"__isSmartRef__":true,"id":3377},"user":"jenslincke","tags":[]},"3377":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"3378":{"varMapping":{"__isSmartRef__":true,"id":3379},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":3380},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3379":{"this":{"__isSmartRef__":true,"id":3117}},"3380":{"timestamp":{"__isSmartRef__":true,"id":3381},"user":"jenslincke","tags":[]},"3381":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"3382":{"varMapping":{"__isSmartRef__":true,"id":3383},"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":3384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3383":{"this":{"__isSmartRef__":true,"id":3117}},"3384":{"timestamp":{"__isSmartRef__":true,"id":3385},"user":"jenslincke","tags":[]},"3385":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"3386":{"varMapping":{"__isSmartRef__":true,"id":3387},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":3388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3387":{"this":{"__isSmartRef__":true,"id":3117}},"3388":{"timestamp":{"__isSmartRef__":true,"id":3389},"user":"jenslincke","tags":[]},"3389":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"3390":{"varMapping":{"__isSmartRef__":true,"id":3391},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3392},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3391":{"this":{"__isSmartRef__":true,"id":3117}},"3392":{"timestamp":{"__isSmartRef__":true,"id":3393},"user":"jenslincke","tags":[]},"3393":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"3394":{"varMapping":{"__isSmartRef__":true,"id":3395},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":3396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3395":{"this":{"__isSmartRef__":true,"id":3117}},"3396":{"timestamp":{"__isSmartRef__":true,"id":3397},"user":"jenslincke","tags":[]},"3397":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"3398":{"varMapping":{"__isSmartRef__":true,"id":3399},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":3400},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3399":{"this":{"__isSmartRef__":true,"id":3117}},"3400":{"timestamp":{"__isSmartRef__":true,"id":3401},"user":"jenslincke","tags":[]},"3401":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"3402":{"varMapping":{"__isSmartRef__":true,"id":3403},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":3404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3403":{"this":{"__isSmartRef__":true,"id":3117}},"3404":{"timestamp":{"__isSmartRef__":true,"id":3405},"user":"jenslincke","tags":[]},"3405":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"3406":{"varMapping":{"__isSmartRef__":true,"id":3407},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":3408},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3407":{"this":{"__isSmartRef__":true,"id":3117}},"3408":{"timestamp":{"__isSmartRef__":true,"id":3409},"user":"jenslincke","tags":[]},"3409":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"3410":{"varMapping":{"__isSmartRef__":true,"id":3411},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":3412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3411":{"this":{"__isSmartRef__":true,"id":3117}},"3412":{"timestamp":{"__isSmartRef__":true,"id":3413},"user":"jenslincke","tags":[]},"3413":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"3414":{"varMapping":{"__isSmartRef__":true,"id":3415},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":3416},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3415":{"this":{"__isSmartRef__":true,"id":3117}},"3416":{"timestamp":{"__isSmartRef__":true,"id":3417},"user":"jenslincke","tags":[]},"3417":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"3418":{"varMapping":{"__isSmartRef__":true,"id":3419},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":3420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3419":{"this":{"__isSmartRef__":true,"id":3117}},"3420":{"timestamp":{"__isSmartRef__":true,"id":3421},"user":"jenslincke","tags":[]},"3421":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"3422":{"varMapping":{"__isSmartRef__":true,"id":3423},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":3424},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3423":{"this":{"__isSmartRef__":true,"id":3117}},"3424":{"timestamp":{"__isSmartRef__":true,"id":3425},"user":"jenslincke","tags":[]},"3425":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"3426":{"submorphs":[{"__isSmartRef__":true,"id":3427},{"__isSmartRef__":true,"id":3451},{"__isSmartRef__":true,"id":3831},{"__isSmartRef__":true,"id":3853}],"scripts":[],"id":"294A616D-161E-4DE5-8CA2-592699707F67","shape":{"__isSmartRef__":true,"id":3877},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":3878},"eventHandler":{"__isSmartRef__":true,"id":3938},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":3939},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":3944},{"__isSmartRef__":true,"id":3945},{"__isSmartRef__":true,"id":3946},{"__isSmartRef__":true,"id":3947},{"__isSmartRef__":true,"id":3948},{"__isSmartRef__":true,"id":3949},{"__isSmartRef__":true,"id":3950},{"__isSmartRef__":true,"id":3951}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":3952},"$":{"__isSmartRef__":true,"id":3953},"name":"ResetSimulation","attributeConnections":[{"__isSmartRef__":true,"id":3954}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":3956},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":3957},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3960},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(6.8,173.3)"},"3427":{"submorphs":[],"scripts":[],"id":"10B2CDDD-702E-4088-A6A6-624D89F22D94","shape":{"__isSmartRef__":true,"id":3428},"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":3429},"textChunks":[{"__isSmartRef__":true,"id":3431}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":3433},{"__isSmartRef__":true,"id":3434}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":3435},"owner":{"__isSmartRef__":true,"id":3426},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":3426},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3436},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"3428":{"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)"},"3429":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":3430},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3430":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"3431":{"style":{"__isSmartRef__":true,"id":3432},"chunkOwner":{"__isSmartRef__":true,"id":3427},"_id":"_5557","storedString":"ResetSimulation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3432":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3433":{"sourceObj":{"__isSmartRef__":true,"id":3427},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":3427},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3434":{"sourceObj":{"__isSmartRef__":true,"id":3427},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3427},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3435":{"morph":{"__isSmartRef__":true,"id":3427},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3436":{"updateLabel":{"__isSmartRef__":true,"id":3437},"renameOwner":{"__isSmartRef__":true,"id":3440},"onFocus":{"__isSmartRef__":true,"id":3443}},"3437":{"varMapping":{"__isSmartRef__":true,"id":3438},"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":3439},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3438":{"this":{"__isSmartRef__":true,"id":3427}},"3439":{},"3440":{"varMapping":{"__isSmartRef__":true,"id":3441},"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":3442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3441":{"this":{"__isSmartRef__":true,"id":3427}},"3442":{},"3443":{"varMapping":{"__isSmartRef__":true,"id":3444},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":3449},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3444":{"this":{"__isSmartRef__":true,"id":3427},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3445}},"3445":{"$super":{"__isSmartRef__":true,"id":3446}},"3446":{"varMapping":{"__isSmartRef__":true,"id":3447},"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":3448},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3447":{"obj":{"__isSmartRef__":true,"id":3427},"name":"onFocus"},"3448":{},"3449":{"timestamp":{"__isSmartRef__":true,"id":3450},"user":"jenslincke","tags":[]},"3450":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"3451":{"submorphs":[],"scripts":[],"id":"3FF23545-3528-45F0-9673-6E078BDA19CA","shape":{"__isSmartRef__":true,"id":3452},"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":3453},"textChunks":[{"__isSmartRef__":true,"id":3469},{"__isSmartRef__":true,"id":3471},{"__isSmartRef__":true,"id":3474},{"__isSmartRef__":true,"id":3476},{"__isSmartRef__":true,"id":3478},{"__isSmartRef__":true,"id":3480},{"__isSmartRef__":true,"id":3482},{"__isSmartRef__":true,"id":3484},{"__isSmartRef__":true,"id":3486},{"__isSmartRef__":true,"id":3488},{"__isSmartRef__":true,"id":3490},{"__isSmartRef__":true,"id":3493},{"__isSmartRef__":true,"id":3495},{"__isSmartRef__":true,"id":3497},{"__isSmartRef__":true,"id":3499},{"__isSmartRef__":true,"id":3501},{"__isSmartRef__":true,"id":3504},{"__isSmartRef__":true,"id":3506},{"__isSmartRef__":true,"id":3508},{"__isSmartRef__":true,"id":3510},{"__isSmartRef__":true,"id":3512},{"__isSmartRef__":true,"id":3515},{"__isSmartRef__":true,"id":3517},{"__isSmartRef__":true,"id":3519},{"__isSmartRef__":true,"id":3521},{"__isSmartRef__":true,"id":3523},{"__isSmartRef__":true,"id":3525},{"__isSmartRef__":true,"id":3527},{"__isSmartRef__":true,"id":3529},{"__isSmartRef__":true,"id":3531},{"__isSmartRef__":true,"id":3533},{"__isSmartRef__":true,"id":3535},{"__isSmartRef__":true,"id":3537},{"__isSmartRef__":true,"id":3539},{"__isSmartRef__":true,"id":3541},{"__isSmartRef__":true,"id":3544},{"__isSmartRef__":true,"id":3546},{"__isSmartRef__":true,"id":3548},{"__isSmartRef__":true,"id":3550},{"__isSmartRef__":true,"id":3552},{"__isSmartRef__":true,"id":3554},{"__isSmartRef__":true,"id":3556},{"__isSmartRef__":true,"id":3559},{"__isSmartRef__":true,"id":3561},{"__isSmartRef__":true,"id":3563},{"__isSmartRef__":true,"id":3565},{"__isSmartRef__":true,"id":3567},{"__isSmartRef__":true,"id":3569},{"__isSmartRef__":true,"id":3571},{"__isSmartRef__":true,"id":3574},{"__isSmartRef__":true,"id":3576},{"__isSmartRef__":true,"id":3578},{"__isSmartRef__":true,"id":3580},{"__isSmartRef__":true,"id":3582},{"__isSmartRef__":true,"id":3584},{"__isSmartRef__":true,"id":3586},{"__isSmartRef__":true,"id":3589},{"__isSmartRef__":true,"id":3591},{"__isSmartRef__":true,"id":3593},{"__isSmartRef__":true,"id":3595},{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3599},{"__isSmartRef__":true,"id":3601},{"__isSmartRef__":true,"id":3604},{"__isSmartRef__":true,"id":3606},{"__isSmartRef__":true,"id":3608},{"__isSmartRef__":true,"id":3610},{"__isSmartRef__":true,"id":3612},{"__isSmartRef__":true,"id":3614},{"__isSmartRef__":true,"id":3616},{"__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":3634},{"__isSmartRef__":true,"id":3636},{"__isSmartRef__":true,"id":3638},{"__isSmartRef__":true,"id":3640},{"__isSmartRef__":true,"id":3642},{"__isSmartRef__":true,"id":3644},{"__isSmartRef__":true,"id":3646},{"__isSmartRef__":true,"id":3649},{"__isSmartRef__":true,"id":3651},{"__isSmartRef__":true,"id":3653},{"__isSmartRef__":true,"id":3655},{"__isSmartRef__":true,"id":3657},{"__isSmartRef__":true,"id":3659},{"__isSmartRef__":true,"id":3661},{"__isSmartRef__":true,"id":3664},{"__isSmartRef__":true,"id":3666},{"__isSmartRef__":true,"id":3668},{"__isSmartRef__":true,"id":3670},{"__isSmartRef__":true,"id":3672},{"__isSmartRef__":true,"id":3674},{"__isSmartRef__":true,"id":3676},{"__isSmartRef__":true,"id":3679},{"__isSmartRef__":true,"id":3681},{"__isSmartRef__":true,"id":3683},{"__isSmartRef__":true,"id":3685},{"__isSmartRef__":true,"id":3687},{"__isSmartRef__":true,"id":3689},{"__isSmartRef__":true,"id":3691},{"__isSmartRef__":true,"id":3694},{"__isSmartRef__":true,"id":3696},{"__isSmartRef__":true,"id":3698},{"__isSmartRef__":true,"id":3700},{"__isSmartRef__":true,"id":3702},{"__isSmartRef__":true,"id":3704},{"__isSmartRef__":true,"id":3706},{"__isSmartRef__":true,"id":3709},{"__isSmartRef__":true,"id":3711},{"__isSmartRef__":true,"id":3713},{"__isSmartRef__":true,"id":3715},{"__isSmartRef__":true,"id":3717},{"__isSmartRef__":true,"id":3719},{"__isSmartRef__":true,"id":3721},{"__isSmartRef__":true,"id":3723},{"__isSmartRef__":true,"id":3725},{"__isSmartRef__":true,"id":3727},{"__isSmartRef__":true,"id":3729},{"__isSmartRef__":true,"id":3731},{"__isSmartRef__":true,"id":3734},{"__isSmartRef__":true,"id":3736},{"__isSmartRef__":true,"id":3738},{"__isSmartRef__":true,"id":3740},{"__isSmartRef__":true,"id":3742},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3746},{"__isSmartRef__":true,"id":3748},{"__isSmartRef__":true,"id":3750},{"__isSmartRef__":true,"id":3752},{"__isSmartRef__":true,"id":3754},{"__isSmartRef__":true,"id":3756},{"__isSmartRef__":true,"id":3759},{"__isSmartRef__":true,"id":3761},{"__isSmartRef__":true,"id":3763},{"__isSmartRef__":true,"id":3766}],"charsReplaced":"","lastFindLoc":584,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3768},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":3769},{"__isSmartRef__":true,"id":3770},{"__isSmartRef__":true,"id":3771},{"__isSmartRef__":true,"id":3772},{"__isSmartRef__":true,"id":3773},{"__isSmartRef__":true,"id":3774},{"__isSmartRef__":true,"id":3775},{"__isSmartRef__":true,"id":3776}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3777},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":3426},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":3778},{"__isSmartRef__":true,"id":3780}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":172,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"#MeasureData.$.Time = Date.now() / 1000\n#MeasureData.$.Start = #MeasureData.$.Time\n#Fuel.$.Gas = 5 * 2 * 3600 // two hours gas\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#Battery.$.Max = 0.1 * 3600 // 1h 2kw\n#HeatStorage.$.Max = 0.1 * 3600 // 1h 3kw\n#SimulationResults.resetData()\n#SimulationResults.showData()\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3782},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"3452":{"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(327.5,291.4)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3453":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3454},{"__isSmartRef__":true,"id":3456},{"__isSmartRef__":true,"id":3458},{"__isSmartRef__":true,"id":3460},{"__isSmartRef__":true,"id":3462},{"__isSmartRef__":true,"id":3464},{"__isSmartRef__":true,"id":3466}],"lastModifiedDate":{"__isSmartRef__":true,"id":3468},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3454":{"date":{"__isSmartRef__":true,"id":3455},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3455":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3456":{"date":{"__isSmartRef__":true,"id":3457},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3457":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3458":{"date":{"__isSmartRef__":true,"id":3459},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3459":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3460":{"date":{"__isSmartRef__":true,"id":3461},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3461":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3462":{"date":{"__isSmartRef__":true,"id":3463},"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"},"3463":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3464":{"date":{"__isSmartRef__":true,"id":3465},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3465":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3466":{"date":{"__isSmartRef__":true,"id":3467},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3467":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3468":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3469":{"style":{"__isSmartRef__":true,"id":3470},"chunkOwner":{"__isSmartRef__":true,"id":3451},"_id":"_15","storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3470":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3471":{"_id":"_286","style":{"__isSmartRef__":true,"id":3472},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"MeasureData","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3472":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3473},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3473":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"MeasureData\")","context":{"__isSmartRef__":true,"id":3426}},"3474":{"_id":"_285","style":{"__isSmartRef__":true,"id":3475},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3475":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3476":{"_id":"_287","style":{"__isSmartRef__":true,"id":3477},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Time","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3477":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3478":{"_id":"_288","style":{"__isSmartRef__":true,"id":3479},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3479":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3480":{"_id":"_235","style":{"__isSmartRef__":true,"id":3481},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Date","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3481":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(255,20,147)"},"3482":{"_id":"_236","style":{"__isSmartRef__":true,"id":3483},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".now() / ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3483":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3484":{"_id":"_237","style":{"__isSmartRef__":true,"id":3485},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"1000","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3485":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3486":{"_id":"_238","style":{"__isSmartRef__":true,"id":3487},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3487":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3488":{"_id":"_289","style":{"__isSmartRef__":true,"id":3489},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3489":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3490":{"_id":"_291","style":{"__isSmartRef__":true,"id":3491},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"MeasureData","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3491":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3492},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3492":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"MeasureData\")","context":{"__isSmartRef__":true,"id":3426}},"3493":{"_id":"_290","style":{"__isSmartRef__":true,"id":3494},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3494":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3495":{"_id":"_292","style":{"__isSmartRef__":true,"id":3496},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Start","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3496":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3497":{"_id":"_293","style":{"__isSmartRef__":true,"id":3498},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3498":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3499":{"_id":"_294","style":{"__isSmartRef__":true,"id":3500},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3500":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3501":{"_id":"_296","style":{"__isSmartRef__":true,"id":3502},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"MeasureData","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3502":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3503},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3503":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"MeasureData\")","context":{"__isSmartRef__":true,"id":3426}},"3504":{"_id":"_295","style":{"__isSmartRef__":true,"id":3505},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3505":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3506":{"_id":"_297","style":{"__isSmartRef__":true,"id":3507},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Time","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3507":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3508":{"_id":"_298","style":{"__isSmartRef__":true,"id":3509},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3509":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3510":{"_id":"_299","style":{"__isSmartRef__":true,"id":3511},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3511":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3512":{"_id":"_301","style":{"__isSmartRef__":true,"id":3513},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3513":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3514},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3514":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Fuel\")","context":{"__isSmartRef__":true,"id":3426}},"3515":{"_id":"_300","style":{"__isSmartRef__":true,"id":3516},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3516":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3517":{"_id":"_302","style":{"__isSmartRef__":true,"id":3518},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3518":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3519":{"_id":"_303","style":{"__isSmartRef__":true,"id":3520},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3520":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3521":{"_id":"_239","style":{"__isSmartRef__":true,"id":3522},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3522":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3523":{"_id":"_240","style":{"__isSmartRef__":true,"id":3524},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3524":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3525":{"_id":"_241","style":{"__isSmartRef__":true,"id":3526},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"2","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3526":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3527":{"_id":"_242","style":{"__isSmartRef__":true,"id":3528},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3528":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3529":{"_id":"_243","style":{"__isSmartRef__":true,"id":3530},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"3600","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3530":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3531":{"_id":"_244","style":{"__isSmartRef__":true,"id":3532},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3532":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3533":{"_id":"_245","style":{"__isSmartRef__":true,"id":3534},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3534":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"3535":{"_id":"_246","style":{"__isSmartRef__":true,"id":3536},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" two hours gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3536":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3537":{"_id":"_247","style":{"__isSmartRef__":true,"id":3538},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3538":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3539":{"_id":"_304","style":{"__isSmartRef__":true,"id":3540},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3540":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3541":{"_id":"_306","style":{"__isSmartRef__":true,"id":3542},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3542":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3543},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3543":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":3426}},"3544":{"_id":"_305","style":{"__isSmartRef__":true,"id":3545},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3545":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3546":{"_id":"_307","style":{"__isSmartRef__":true,"id":3547},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3547":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3548":{"_id":"_308","style":{"__isSmartRef__":true,"id":3549},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3549":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3550":{"_id":"_248","style":{"__isSmartRef__":true,"id":3551},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3551":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3552":{"_id":"_249","style":{"__isSmartRef__":true,"id":3553},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3553":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3554":{"_id":"_309","style":{"__isSmartRef__":true,"id":3555},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3555":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3556":{"_id":"_311","style":{"__isSmartRef__":true,"id":3557},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3557":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3558":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":3426}},"3559":{"_id":"_310","style":{"__isSmartRef__":true,"id":3560},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3560":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3561":{"_id":"_312","style":{"__isSmartRef__":true,"id":3562},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3562":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3563":{"_id":"_313","style":{"__isSmartRef__":true,"id":3564},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3564":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3565":{"_id":"_250","style":{"__isSmartRef__":true,"id":3566},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3566":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3567":{"_id":"_251","style":{"__isSmartRef__":true,"id":3568},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" \n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3568":{"__serializedExpressions__":["backgroundColor"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","backgroundColor":"Color.rgba(204,204,0,0.4)"},"3569":{"_id":"_252","style":{"__isSmartRef__":true,"id":3570},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3570":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3571":{"_id":"_315","style":{"__isSmartRef__":true,"id":3572},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"ElectricConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3572":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3573},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3573":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"ElectricConsumer\")","context":{"__isSmartRef__":true,"id":3426}},"3574":{"_id":"_314","style":{"__isSmartRef__":true,"id":3575},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3575":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3576":{"_id":"_316","style":{"__isSmartRef__":true,"id":3577},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Consumed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3577":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3578":{"_id":"_317","style":{"__isSmartRef__":true,"id":3579},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3579":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3580":{"_id":"_253","style":{"__isSmartRef__":true,"id":3581},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3581":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3582":{"_id":"_254","style":{"__isSmartRef__":true,"id":3583},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3583":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3584":{"_id":"_318","style":{"__isSmartRef__":true,"id":3585},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3585":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3586":{"_id":"_320","style":{"__isSmartRef__":true,"id":3587},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"ElectricConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3587":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3588},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3588":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"ElectricConsumer\")","context":{"__isSmartRef__":true,"id":3426}},"3589":{"_id":"_319","style":{"__isSmartRef__":true,"id":3590},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3590":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3591":{"_id":"_321","style":{"__isSmartRef__":true,"id":3592},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Demand","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3592":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3593":{"_id":"_322","style":{"__isSmartRef__":true,"id":3594},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3594":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3595":{"_id":"_255","style":{"__isSmartRef__":true,"id":3596},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"1.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3596":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3597":{"_id":"_256","style":{"__isSmartRef__":true,"id":3598},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3598":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3599":{"_id":"_323","style":{"__isSmartRef__":true,"id":3600},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3600":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3601":{"_id":"_325","style":{"__isSmartRef__":true,"id":3602},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"ElectricConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3602":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3603},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3603":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"ElectricConsumer\")","context":{"__isSmartRef__":true,"id":3426}},"3604":{"_id":"_324","style":{"__isSmartRef__":true,"id":3605},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3605":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3606":{"_id":"_326","style":{"__isSmartRef__":true,"id":3607},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Extra","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3607":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3608":{"_id":"_327","style":{"__isSmartRef__":true,"id":3609},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3609":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3610":{"_id":"_257","style":{"__isSmartRef__":true,"id":3611},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3611":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3612":{"_id":"_258","style":{"__isSmartRef__":true,"id":3613},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3613":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3614":{"_id":"_328","style":{"__isSmartRef__":true,"id":3615},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3615":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3616":{"_id":"_330","style":{"__isSmartRef__":true,"id":3617},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"HeatConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3617":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3618},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3618":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatConsumer\")","context":{"__isSmartRef__":true,"id":3426}},"3619":{"_id":"_329","style":{"__isSmartRef__":true,"id":3620},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3620":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3621":{"_id":"_331","style":{"__isSmartRef__":true,"id":3622},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Consumed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3622":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3623":{"_id":"_332","style":{"__isSmartRef__":true,"id":3624},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3624":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3625":{"_id":"_259","style":{"__isSmartRef__":true,"id":3626},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3626":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3627":{"_id":"_260","style":{"__isSmartRef__":true,"id":3628},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3628":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3629":{"_id":"_333","style":{"__isSmartRef__":true,"id":3630},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3630":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3631":{"_id":"_335","style":{"__isSmartRef__":true,"id":3632},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"HeatConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3632":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3633},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3633":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatConsumer\")","context":{"__isSmartRef__":true,"id":3426}},"3634":{"_id":"_334","style":{"__isSmartRef__":true,"id":3635},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3635":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3636":{"_id":"_336","style":{"__isSmartRef__":true,"id":3637},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Demand","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3637":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3638":{"_id":"_337","style":{"__isSmartRef__":true,"id":3639},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3639":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3640":{"_id":"_261","style":{"__isSmartRef__":true,"id":3641},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"3","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3641":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3642":{"_id":"_262","style":{"__isSmartRef__":true,"id":3643},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3643":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3644":{"_id":"_338","style":{"__isSmartRef__":true,"id":3645},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3645":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3646":{"_id":"_340","style":{"__isSmartRef__":true,"id":3647},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"HeatConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3647":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3648},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3648":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatConsumer\")","context":{"__isSmartRef__":true,"id":3426}},"3649":{"_id":"_339","style":{"__isSmartRef__":true,"id":3650},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3650":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3651":{"_id":"_341","style":{"__isSmartRef__":true,"id":3652},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Extra","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3652":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3653":{"_id":"_342","style":{"__isSmartRef__":true,"id":3654},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3654":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3655":{"_id":"_263","style":{"__isSmartRef__":true,"id":3656},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3656":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3657":{"_id":"_264","style":{"__isSmartRef__":true,"id":3658},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3658":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3659":{"_id":"_343","style":{"__isSmartRef__":true,"id":3660},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3660":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3661":{"_id":"_345","style":{"__isSmartRef__":true,"id":3662},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"ThermalPowerStation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3662":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3663},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3663":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"ThermalPowerStation\")","context":{"__isSmartRef__":true,"id":3426}},"3664":{"_id":"_344","style":{"__isSmartRef__":true,"id":3665},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3665":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3666":{"_id":"_346","style":{"__isSmartRef__":true,"id":3667},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3667":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3668":{"_id":"_347","style":{"__isSmartRef__":true,"id":3669},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3669":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3670":{"_id":"_265","style":{"__isSmartRef__":true,"id":3671},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3671":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3672":{"_id":"_266","style":{"__isSmartRef__":true,"id":3673},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3673":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3674":{"_id":"_348","style":{"__isSmartRef__":true,"id":3675},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3675":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3676":{"_id":"_350","style":{"__isSmartRef__":true,"id":3677},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"HeatingSystem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3677":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3678},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3678":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatingSystem\")","context":{"__isSmartRef__":true,"id":3426}},"3679":{"_id":"_349","style":{"__isSmartRef__":true,"id":3680},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3680":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3681":{"_id":"_351","style":{"__isSmartRef__":true,"id":3682},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3682":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3683":{"_id":"_352","style":{"__isSmartRef__":true,"id":3684},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3684":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3685":{"_id":"_267","style":{"__isSmartRef__":true,"id":3686},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3686":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3687":{"_id":"_268","style":{"__isSmartRef__":true,"id":3688},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3688":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3689":{"_id":"_353","style":{"__isSmartRef__":true,"id":3690},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3690":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3691":{"_id":"_355","style":{"__isSmartRef__":true,"id":3692},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"MeasureData","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3692":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3693},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3693":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"MeasureData\")","context":{"__isSmartRef__":true,"id":3426}},"3694":{"_id":"_354","style":{"__isSmartRef__":true,"id":3695},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3695":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3696":{"_id":"_356","style":{"__isSmartRef__":true,"id":3697},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Counter","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3697":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3698":{"_id":"_357","style":{"__isSmartRef__":true,"id":3699},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3699":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3700":{"_id":"_269","style":{"__isSmartRef__":true,"id":3701},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"10000","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3701":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3702":{"_id":"_270","style":{"__isSmartRef__":true,"id":3703},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3703":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3704":{"_id":"_358","style":{"__isSmartRef__":true,"id":3705},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3705":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3706":{"_id":"_360","style":{"__isSmartRef__":true,"id":3707},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3707":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3708},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3708":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":3426}},"3709":{"_id":"_359","style":{"__isSmartRef__":true,"id":3710},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3710":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3711":{"_id":"_361","style":{"__isSmartRef__":true,"id":3712},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3712":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3713":{"_id":"_362","style":{"__isSmartRef__":true,"id":3714},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3714":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3715":{"_id":"_271","style":{"__isSmartRef__":true,"id":3716},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0.1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3716":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3717":{"_id":"_272","style":{"__isSmartRef__":true,"id":3718},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3718":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3719":{"_id":"_273","style":{"__isSmartRef__":true,"id":3720},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"3600","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3720":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3721":{"_id":"_274","style":{"__isSmartRef__":true,"id":3722},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3722":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3723":{"_id":"_275","style":{"__isSmartRef__":true,"id":3724},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3724":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"3725":{"_id":"_276","style":{"__isSmartRef__":true,"id":3726},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" 1h 2kw","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3726":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3727":{"_id":"_277","style":{"__isSmartRef__":true,"id":3728},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3728":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3729":{"_id":"_363","style":{"__isSmartRef__":true,"id":3730},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3730":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3731":{"_id":"_365","style":{"__isSmartRef__":true,"id":3732},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3732":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3733},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3733":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":3426}},"3734":{"_id":"_364","style":{"__isSmartRef__":true,"id":3735},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3735":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"3736":{"_id":"_366","style":{"__isSmartRef__":true,"id":3737},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"Max","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3737":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3738":{"_id":"_367","style":{"__isSmartRef__":true,"id":3739},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3739":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3740":{"_id":"_278","style":{"__isSmartRef__":true,"id":3741},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"0.1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3741":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3742":{"_id":"_279","style":{"__isSmartRef__":true,"id":3743},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3743":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3744":{"_id":"_280","style":{"__isSmartRef__":true,"id":3745},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"3600","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3745":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"3746":{"_id":"_281","style":{"__isSmartRef__":true,"id":3747},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3747":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3748":{"_id":"_282","style":{"__isSmartRef__":true,"id":3749},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3749":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"3750":{"_id":"_283","style":{"__isSmartRef__":true,"id":3751},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":" 1h 3kw","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3751":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"3752":{"_id":"_284","style":{"__isSmartRef__":true,"id":3753},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3753":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3754":{"_id":"_368","style":{"__isSmartRef__":true,"id":3755},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3755":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3756":{"_id":"_370","style":{"__isSmartRef__":true,"id":3757},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"SimulationResults","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3757":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3758},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3758":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"SimulationResults\")","context":{"__isSmartRef__":true,"id":3426}},"3759":{"_id":"_369","style":{"__isSmartRef__":true,"id":3760},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".resetData()\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3760":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3761":{"_id":"_371","style":{"__isSmartRef__":true,"id":3762},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3762":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3763":{"_id":"_373","style":{"__isSmartRef__":true,"id":3764},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":"SimulationResults","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3764":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":3765},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"3765":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"SimulationResults\")","context":{"__isSmartRef__":true,"id":3426}},"3766":{"_id":"_372","style":{"__isSmartRef__":true,"id":3767},"chunkOwner":{"__isSmartRef__":true,"id":3451},"storedString":".showData()\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3767":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"3768":{"morph":{"__isSmartRef__":true,"id":3451},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3769":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3770":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3771":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3772":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3773":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3774":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3775":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3776":{"morph":{"__isSmartRef__":true,"id":3451},"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)"},"3777":{"resizeWidth":true,"resizeHeight":true},"3778":{"sourceObj":{"__isSmartRef__":true,"id":3451},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3426},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":3779},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3779":{"source":{"__isSmartRef__":true,"id":3451},"target":{"__isSmartRef__":true,"id":3426}},"3780":{"sourceObj":{"__isSmartRef__":true,"id":3451},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3451},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":3781},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3781":{"source":{"__isSmartRef__":true,"id":3451},"target":{"__isSmartRef__":true,"id":3451}},"3782":{"boundEval":{"__isSmartRef__":true,"id":3783},"getDoitContext":{"__isSmartRef__":true,"id":3791},"installLayers":{"__isSmartRef__":true,"id":3799},"onLoad":{"__isSmartRef__":true,"id":3803},"highligtScriptNames":{"__isSmartRef__":true,"id":3807},"getAutoCompletion":{"__isSmartRef__":true,"id":3811},"reset":{"__isSmartRef__":true,"id":3819},"getLastWordRange":{"__isSmartRef__":true,"id":3823}},"3783":{"varMapping":{"__isSmartRef__":true,"id":3784},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3789},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3784":{"this":{"__isSmartRef__":true,"id":3451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3785}},"3785":{"$super":{"__isSmartRef__":true,"id":3786}},"3786":{"varMapping":{"__isSmartRef__":true,"id":3787},"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":3788},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3787":{"obj":{"__isSmartRef__":true,"id":3451},"name":"boundEval"},"3788":{},"3789":{"timestamp":{"__isSmartRef__":true,"id":3790},"user":"jenslincke","tags":[]},"3790":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"3791":{"varMapping":{"__isSmartRef__":true,"id":3792},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":3797},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3792":{"this":{"__isSmartRef__":true,"id":3451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3793}},"3793":{"$super":{"__isSmartRef__":true,"id":3794}},"3794":{"varMapping":{"__isSmartRef__":true,"id":3795},"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":3796},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3795":{"obj":{"__isSmartRef__":true,"id":3451},"name":"getDoitContext"},"3796":{},"3797":{"timestamp":{"__isSmartRef__":true,"id":3798},"user":"jenslincke","tags":[]},"3798":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"3799":{"varMapping":{"__isSmartRef__":true,"id":3800},"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":3801},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3800":{"this":{"__isSmartRef__":true,"id":3451}},"3801":{"timestamp":{"__isSmartRef__":true,"id":3802},"user":"jenslincke","tags":[]},"3802":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"3803":{"varMapping":{"__isSmartRef__":true,"id":3804},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":3805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3804":{"this":{"__isSmartRef__":true,"id":3451}},"3805":{"timestamp":{"__isSmartRef__":true,"id":3806},"user":"jenslincke","tags":[]},"3806":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"3807":{"varMapping":{"__isSmartRef__":true,"id":3808},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":3809},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3808":{"this":{"__isSmartRef__":true,"id":3451}},"3809":{"timestamp":{"__isSmartRef__":true,"id":3810},"user":"jenslincke","tags":[]},"3810":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"3811":{"varMapping":{"__isSmartRef__":true,"id":3812},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":3817},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3812":{"this":{"__isSmartRef__":true,"id":3451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3813}},"3813":{"$super":{"__isSmartRef__":true,"id":3814}},"3814":{"varMapping":{"__isSmartRef__":true,"id":3815},"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":3816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3815":{"obj":{"__isSmartRef__":true,"id":3451},"name":"getAutoCompletion"},"3816":{},"3817":{"timestamp":{"__isSmartRef__":true,"id":3818},"user":"jenslincke","tags":[]},"3818":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"3819":{"varMapping":{"__isSmartRef__":true,"id":3820},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":3821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3820":{"this":{"__isSmartRef__":true,"id":3451}},"3821":{"timestamp":{"__isSmartRef__":true,"id":3822},"user":"jenslincke","tags":[]},"3822":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"3823":{"varMapping":{"__isSmartRef__":true,"id":3824},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3824":{"this":{"__isSmartRef__":true,"id":3451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3825}},"3825":{"$super":{"__isSmartRef__":true,"id":3826}},"3826":{"varMapping":{"__isSmartRef__":true,"id":3827},"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":3828},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3827":{"obj":{"__isSmartRef__":true,"id":3451},"name":"getLastWordRange"},"3828":{},"3829":{"timestamp":{"__isSmartRef__":true,"id":3830},"user":"jenslincke","tags":[]},"3830":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"3831":{"submorphs":[],"scripts":[],"id":"63BCCD66-A3EA-4C8E-8F37-69A233EE6D4C","shape":{"__isSmartRef__":true,"id":3832},"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":3833},"textChunks":[{"__isSmartRef__":true,"id":3849}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3851},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3426},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3852},"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,376.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)"},"3832":{"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(319.6,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3833":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3834},{"__isSmartRef__":true,"id":3836},{"__isSmartRef__":true,"id":3838},{"__isSmartRef__":true,"id":3840},{"__isSmartRef__":true,"id":3842},{"__isSmartRef__":true,"id":3844},{"__isSmartRef__":true,"id":3846}],"lastModifiedDate":{"__isSmartRef__":true,"id":3848},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3834":{"date":{"__isSmartRef__":true,"id":3835},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3835":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3836":{"date":{"__isSmartRef__":true,"id":3837},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3837":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3838":{"date":{"__isSmartRef__":true,"id":3839},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3839":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3840":{"date":{"__isSmartRef__":true,"id":3841},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3841":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3842":{"date":{"__isSmartRef__":true,"id":3843},"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"},"3843":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3844":{"date":{"__isSmartRef__":true,"id":3845},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3845":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3846":{"date":{"__isSmartRef__":true,"id":3847},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3847":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3848":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3849":{"style":{"__isSmartRef__":true,"id":3850},"chunkOwner":{"__isSmartRef__":true,"id":3831},"_id":"_11222","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3850":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3851":{"morph":{"__isSmartRef__":true,"id":3831},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3852":{"moveVertical":true,"resizeWidth":true},"3853":{"submorphs":[],"scripts":[],"id":"7325C08F-7DFE-484C-96CF-EB88EA38F2A5","shape":{"__isSmartRef__":true,"id":3854},"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":3855},"textChunks":[{"__isSmartRef__":true,"id":3871}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":3873},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":3426},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":3874}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":3876},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"3854":{"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(313.1,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"3855":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":3856},{"__isSmartRef__":true,"id":3858},{"__isSmartRef__":true,"id":3860},{"__isSmartRef__":true,"id":3862},{"__isSmartRef__":true,"id":3864},{"__isSmartRef__":true,"id":3866},{"__isSmartRef__":true,"id":3868}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":3870},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3856":{"date":{"__isSmartRef__":true,"id":3857},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"3857":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"3858":{"date":{"__isSmartRef__":true,"id":3859},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"3859":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"3860":{"date":{"__isSmartRef__":true,"id":3861},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"3861":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"3862":{"date":{"__isSmartRef__":true,"id":3863},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"3863":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"3864":{"date":{"__isSmartRef__":true,"id":3865},"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"},"3865":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"3866":{"date":{"__isSmartRef__":true,"id":3867},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"3867":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"3868":{"date":{"__isSmartRef__":true,"id":3869},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"3869":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"3870":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"3871":{"style":{"__isSmartRef__":true,"id":3872},"chunkOwner":{"__isSmartRef__":true,"id":3853},"_id":"_11198","storedString":"Stopped: true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3872":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3873":{"morph":{"__isSmartRef__":true,"id":3853},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3874":{"sourceObj":{"__isSmartRef__":true,"id":3853},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3426},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":3875},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3875":{"source":{"__isSmartRef__":true,"id":3853},"target":{"__isSmartRef__":true,"id":3426}},"3876":{"resizeWidth":true},"3877":{"_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(341.4,394.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)"},"3878":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":3879},{"__isSmartRef__":true,"id":3881},{"__isSmartRef__":true,"id":3883},{"__isSmartRef__":true,"id":3885},{"__isSmartRef__":true,"id":3887},{"__isSmartRef__":true,"id":3889},{"__isSmartRef__":true,"id":3891},{"__isSmartRef__":true,"id":3893},{"__isSmartRef__":true,"id":3895},{"__isSmartRef__":true,"id":3897},{"__isSmartRef__":true,"id":3899},{"__isSmartRef__":true,"id":3901},{"__isSmartRef__":true,"id":3903},{"__isSmartRef__":true,"id":3905},{"__isSmartRef__":true,"id":3907},{"__isSmartRef__":true,"id":3909},{"__isSmartRef__":true,"id":3911},{"__isSmartRef__":true,"id":3913},{"__isSmartRef__":true,"id":3915},{"__isSmartRef__":true,"id":3917},{"__isSmartRef__":true,"id":3919},{"__isSmartRef__":true,"id":3921},{"__isSmartRef__":true,"id":3923},{"__isSmartRef__":true,"id":3925},{"__isSmartRef__":true,"id":3927},{"__isSmartRef__":true,"id":3929},{"__isSmartRef__":true,"id":3931},{"__isSmartRef__":true,"id":3933},{"__isSmartRef__":true,"id":3935}],"lastModifiedDate":{"__isSmartRef__":true,"id":3937},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"3879":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":3880}},"3880":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"3881":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":3882}},"3882":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"3883":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":3884}},"3884":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"3885":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":3886}},"3886":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"3887":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":3888}},"3888":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"3889":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":3890}},"3890":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"3891":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":3892}},"3892":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"3893":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":3894}},"3894":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"3895":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":3896}},"3896":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"3897":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":3898}},"3898":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"3899":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":3900}},"3900":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"3901":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":3902}},"3902":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"3903":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":3904}},"3904":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"3905":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":3906}},"3906":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"3907":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":3908}},"3908":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"3909":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":3910}},"3910":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"3911":{"date":{"__isSmartRef__":true,"id":3912},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"3912":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"3913":{"date":{"__isSmartRef__":true,"id":3914},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"3914":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"3915":{"date":{"__isSmartRef__":true,"id":3916},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"3916":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"3917":{"date":{"__isSmartRef__":true,"id":3918},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"3918":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"3919":{"date":{"__isSmartRef__":true,"id":3920},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"3920":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"3921":{"date":{"__isSmartRef__":true,"id":3922},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"3922":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"3923":{"date":{"__isSmartRef__":true,"id":3924},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"3924":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"3925":{"date":{"__isSmartRef__":true,"id":3926},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"3926":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"3927":{"date":{"__isSmartRef__":true,"id":3928},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"3928":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"3929":{"date":{"__isSmartRef__":true,"id":3930},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"3930":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"3931":{"date":{"__isSmartRef__":true,"id":3932},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"3932":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"3933":{"date":{"__isSmartRef__":true,"id":3934},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"3934":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"3935":{"date":{"__isSmartRef__":true,"id":3936},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"3936":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"3937":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"3938":{"morph":{"__isSmartRef__":true,"id":3426},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3939":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3940}},"3940":{"test01IsMorph":{"__isSmartRef__":true,"id":3941}},"3941":{"varMapping":{"__isSmartRef__":true,"id":3942},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":3943},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3942":{"this":{"__isSmartRef__":true,"id":3939}},"3943":{},"3944":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3945":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3946":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3947":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3948":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3949":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3950":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3951":{"morph":{"__isSmartRef__":true,"id":3426},"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)"},"3952":{"adjustForNewBounds":true},"3953":{"Stopped":true},"3954":{"sourceObj":{"__isSmartRef__":true,"id":3426},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":3427},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":3955},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"3955":{"source":{"__isSmartRef__":true,"id":3426},"target":{"__isSmartRef__":true,"id":3427}},"3956":{},"3957":{"referencedBy":{"__isSmartRef__":true,"id":3958},"references":{"__isSmartRef__":true,"id":3959}},"3958":{},"3959":{},"3960":{"migrateFrom":{"__isSmartRef__":true,"id":3961},"parsePropeties":{"__isSmartRef__":true,"id":3965},"printProperties":{"__isSmartRef__":true,"id":3969},"parseSimulationSource":{"__isSmartRef__":true,"id":3973},"simulateStep":{"__isSmartRef__":true,"id":3977},"showError":{"__isSmartRef__":true,"id":3980},"throwSimulationProblem":{"__isSmartRef__":true,"id":3984},"updateUI":{"__isSmartRef__":true,"id":3988},"resetStatus":{"__isSmartRef__":true,"id":3992},"simulateOneStep":{"__isSmartRef__":true,"id":3996},"reset":{"__isSmartRef__":true,"id":4000},"resetScriptAnalysis":{"__isSmartRef__":true,"id":4004},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":4008},"logReference":{"__isSmartRef__":true,"id":4012},"showScriptAnalysis":{"__isSmartRef__":true,"id":4016},"showReferenceTo":{"__isSmartRef__":true,"id":4020},"resetSourceHighlighting":{"__isSmartRef__":true,"id":4024},"showNameReference":{"__isSmartRef__":true,"id":4028}},"3961":{"varMapping":{"__isSmartRef__":true,"id":3962},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":3963},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3962":{"this":{"__isSmartRef__":true,"id":3426}},"3963":{"timestamp":{"__isSmartRef__":true,"id":3964},"user":"jenslincke","tags":[]},"3964":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"3965":{"varMapping":{"__isSmartRef__":true,"id":3966},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":3967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3966":{"this":{"__isSmartRef__":true,"id":3426}},"3967":{"timestamp":{"__isSmartRef__":true,"id":3968},"user":"jenslincke","tags":[]},"3968":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"3969":{"varMapping":{"__isSmartRef__":true,"id":3970},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":3971},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3970":{"this":{"__isSmartRef__":true,"id":3426}},"3971":{"timestamp":{"__isSmartRef__":true,"id":3972},"user":"jenslincke","tags":[]},"3972":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"3973":{"varMapping":{"__isSmartRef__":true,"id":3974},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":3975},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3974":{"this":{"__isSmartRef__":true,"id":3426}},"3975":{"timestamp":{"__isSmartRef__":true,"id":3976},"user":"jenslincke","tags":[]},"3976":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"3977":{"varMapping":{"__isSmartRef__":true,"id":3978},"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 * 2 * 3600 // two hours gas\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('Battery').$.Max = 0.1 * 3600 // 1h 2kw\nthis.get('HeatStorage').$.Max = 0.1 * 3600 // 1h 3kw\nthis.get('SimulationResults').resetData()\nthis.get('SimulationResults').showData()\n\n\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":3979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3978":{"this":{"__isSmartRef__":true,"id":3426}},"3979":{},"3980":{"varMapping":{"__isSmartRef__":true,"id":3981},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":3982},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3981":{"this":{"__isSmartRef__":true,"id":3426}},"3982":{"timestamp":{"__isSmartRef__":true,"id":3983},"user":"jenslincke","tags":[]},"3983":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"3984":{"varMapping":{"__isSmartRef__":true,"id":3985},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":3986},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3985":{"this":{"__isSmartRef__":true,"id":3426}},"3986":{"timestamp":{"__isSmartRef__":true,"id":3987},"user":"jenslincke","tags":[]},"3987":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"3988":{"varMapping":{"__isSmartRef__":true,"id":3989},"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":3990},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3989":{"this":{"__isSmartRef__":true,"id":3426}},"3990":{"timestamp":{"__isSmartRef__":true,"id":3991},"user":"jenslincke","tags":[]},"3991":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"3992":{"varMapping":{"__isSmartRef__":true,"id":3993},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":3994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3993":{"this":{"__isSmartRef__":true,"id":3426}},"3994":{"timestamp":{"__isSmartRef__":true,"id":3995},"user":"jenslincke","tags":[]},"3995":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"3996":{"varMapping":{"__isSmartRef__":true,"id":3997},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":3998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3997":{"this":{"__isSmartRef__":true,"id":3426}},"3998":{"timestamp":{"__isSmartRef__":true,"id":3999},"user":"jenslincke","tags":[]},"3999":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"4000":{"varMapping":{"__isSmartRef__":true,"id":4001},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":4002},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4001":{"this":{"__isSmartRef__":true,"id":3426}},"4002":{"timestamp":{"__isSmartRef__":true,"id":4003},"user":"jenslincke","tags":[]},"4003":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"4004":{"varMapping":{"__isSmartRef__":true,"id":4005},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":4006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4005":{"this":{"__isSmartRef__":true,"id":3426}},"4006":{"timestamp":{"__isSmartRef__":true,"id":4007},"user":"jenslincke","tags":[]},"4007":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"4008":{"varMapping":{"__isSmartRef__":true,"id":4009},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":4010},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4009":{"this":{"__isSmartRef__":true,"id":3426}},"4010":{"timestamp":{"__isSmartRef__":true,"id":4011},"user":"jenslincke","tags":[]},"4011":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"4012":{"varMapping":{"__isSmartRef__":true,"id":4013},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":4014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4013":{"this":{"__isSmartRef__":true,"id":3426}},"4014":{"timestamp":{"__isSmartRef__":true,"id":4015},"user":"jenslincke","tags":[]},"4015":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"4016":{"varMapping":{"__isSmartRef__":true,"id":4017},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":4018},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4017":{"this":{"__isSmartRef__":true,"id":3426}},"4018":{"timestamp":{"__isSmartRef__":true,"id":4019},"user":"jenslincke","tags":[]},"4019":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"4020":{"varMapping":{"__isSmartRef__":true,"id":4021},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":4022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4021":{"this":{"__isSmartRef__":true,"id":3426}},"4022":{"timestamp":{"__isSmartRef__":true,"id":4023},"user":"jenslincke","tags":[]},"4023":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"4024":{"varMapping":{"__isSmartRef__":true,"id":4025},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":4026},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4025":{"this":{"__isSmartRef__":true,"id":3426}},"4026":{"timestamp":{"__isSmartRef__":true,"id":4027},"user":"jenslincke","tags":[]},"4027":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"4028":{"varMapping":{"__isSmartRef__":true,"id":4029},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":4030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4029":{"this":{"__isSmartRef__":true,"id":3426}},"4030":{"timestamp":{"__isSmartRef__":true,"id":4031},"user":"jenslincke","tags":[]},"4031":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"4032":{"submorphs":[{"__isSmartRef__":true,"id":4033},{"__isSmartRef__":true,"id":4067}],"scripts":[],"id":"45437653-A6FB-4518-BAD1-87B0A18EDDD2","shape":{"__isSmartRef__":true,"id":4213},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"SimulationResults","partsBinMetaInfo":{"__isSmartRef__":true,"id":4214},"eventHandler":{"__isSmartRef__":true,"id":4250},"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":4251},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1516},"prevScroll":[0,0],"data":null,"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":4256},"#startLetters":"","table":null,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4257},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(17.8,1261.9)","distanceToDragEvent":"lively.pt(612.8,-8.8)"},"4033":{"submorphs":[{"__isSmartRef__":true,"id":4034}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4039},"eventHandler":{"__isSmartRef__":true,"id":4040},"_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":4034},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":4041},{"__isSmartRef__":true,"id":4043}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button6","partsBinMetaInfo":{"__isSmartRef__":true,"id":4045},"pinSpecs":[{"__isSmartRef__":true,"id":4061}],"owner":{"__isSmartRef__":true,"id":4032},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4062},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(10.5,5.0)","distanceToDragEvent":"lively.pt(73.9,-15.2)"},"4034":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4035},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4036}],"eventHandler":{"__isSmartRef__":true,"id":4038},"_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":4033},"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)"},"4035":{"_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)"},"4036":{"style":{"__isSmartRef__":true,"id":4037},"chunkOwner":{"__isSmartRef__":true,"id":4034},"_id":"_1301000","storedString":"show","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4037":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4038":{"morph":{"__isSmartRef__":true,"id":4034},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4039":{"_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)"},"4040":{"morph":{"__isSmartRef__":true,"id":4033},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4041":{"sourceObj":{"__isSmartRef__":true,"id":4033},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4033},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":4042},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4042":{"source":{"__isSmartRef__":true,"id":4033},"target":{"__isSmartRef__":true,"id":4033}},"4043":{"sourceObj":{"__isSmartRef__":true,"id":4033},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4032},"targetMethodName":"showData","varMapping":{"__isSmartRef__":true,"id":4044},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4044":{"source":{"__isSmartRef__":true,"id":4033},"target":{"__isSmartRef__":true,"id":4032}},"4045":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":4046},{"__isSmartRef__":true,"id":4048},{"__isSmartRef__":true,"id":4050},{"__isSmartRef__":true,"id":4052},{"__isSmartRef__":true,"id":4054},{"__isSmartRef__":true,"id":4056},{"__isSmartRef__":true,"id":4058}],"migrationLevel":7,"lastModifiedDate":{"__isSmartRef__":true,"id":4060},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4046":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","date":{"__isSmartRef__":true,"id":4047}},"4047":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"4048":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","date":{"__isSmartRef__":true,"id":4049}},"4049":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"4050":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","date":{"__isSmartRef__":true,"id":4051}},"4051":{"isSerializedDate":true,"string":"Wed May 01 2013 05:34:25 GMT+0200 (CEST)"},"4052":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","date":{"__isSmartRef__":true,"id":4053}},"4053":{"isSerializedDate":true,"string":"Wed May 01 2013 05:35:59 GMT+0200 (CEST)"},"4054":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","date":{"__isSmartRef__":true,"id":4055}},"4055":{"isSerializedDate":true,"string":"Wed May 01 2013 05:36:30 GMT+0200 (CEST)"},"4056":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","date":{"__isSmartRef__":true,"id":4057}},"4057":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:22:38 GMT+0200 (CEST)"},"4058":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","date":{"__isSmartRef__":true,"id":4059}},"4059":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:24:50 GMT+0200 (CEST)"},"4060":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"4061":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"4062":{"doAction":{"__isSmartRef__":true,"id":4063}},"4063":{"varMapping":{"__isSmartRef__":true,"id":4064},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":4065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4064":{"this":{"__isSmartRef__":true,"id":4033}},"4065":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":4066}},"4066":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"4067":{"submorphs":[{"__isSmartRef__":true,"id":4068}],"scripts":[],"id":"8A39C369-64F2-49E2-B969-300BE3FA2DAD","shape":{"__isSmartRef__":true,"id":4163},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"SelectTableClip","partsBinMetaInfo":{"__isSmartRef__":true,"id":4164},"eventHandler":{"__isSmartRef__":true,"id":4206},"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":4207},"_ClipMode":"scroll","moved":true,"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"layout":{"__isSmartRef__":true,"id":4212},"owner":{"__isSmartRef__":true,"id":4032},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(41.6,59.6)","distanceToDragEvent":"lively.pt(895.0,-14.0)"},"4068":{"submorphs":[],"scripts":[],"id":"5602496D-C9FB-4C09-9EA7-08E1F179B848","shape":{"__isSmartRef__":true,"id":4069},"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":4070},"textChunks":[{"__isSmartRef__":true,"id":4090}],"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":4092},"_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":4093},"#startLetters":"empha","undoSelectionRange":[110306,110306],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_PreviousBorderWidth":1.48,"table":{"__isSmartRef__":true,"id":4094},"lastSortedColumn":"Time","owner":{"__isSmartRef__":true,"id":4067},"previousSelection":[0,1265],"selectedIndex":5,"connections":{"__isSmartRef__":true,"id":4095},"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":4098}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"selection":{"__isSmartRef__":true,"id":4100},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4102},"__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)"},"4069":{"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)"},"4070":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":4,"comment":"A Lively quick and dirty text based table, with sorting support. ","partName":"QuickTable","changes":[{"__isSmartRef__":true,"id":4071},{"__isSmartRef__":true,"id":4073},{"__isSmartRef__":true,"id":4075},{"__isSmartRef__":true,"id":4077},{"__isSmartRef__":true,"id":4079},{"__isSmartRef__":true,"id":4081},{"__isSmartRef__":true,"id":4083},{"__isSmartRef__":true,"id":4085},{"__isSmartRef__":true,"id":4087}],"lastModifiedDate":{"__isSmartRef__":true,"id":4089},"revisionOnLoad":198869,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4071":{"date":{"__isSmartRef__":true,"id":4072},"author":"jenslincke","message":"no comment","id":"F894103D-2AFC-4A59-B45B-FD2194723ECC"},"4072":{"isSerializedDate":true,"string":"Sat Aug 17 2013 19:54:22 GMT+0200 (CEST)"},"4073":{"date":{"__isSmartRef__":true,"id":4074},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4074":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4075":{"date":{"__isSmartRef__":true,"id":4076},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4076":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4077":{"date":{"__isSmartRef__":true,"id":4078},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4078":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4079":{"date":{"__isSmartRef__":true,"id":4080},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4080":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4081":{"date":{"__isSmartRef__":true,"id":4082},"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"},"4082":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4083":{"date":{"__isSmartRef__":true,"id":4084},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4084":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4085":{"date":{"__isSmartRef__":true,"id":4086},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4086":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4087":{"date":{"__isSmartRef__":true,"id":4088},"author":"jenslincke","message":"no comment","id":"93CE95E3-4E54-4AEF-AF54-7EF6CA88FE4E"},"4088":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:32:37 GMT+0200 (CEST)"},"4089":{"isSerializedDate":true,"string":"Sat Aug 17 2013 19:49:33 GMT+0200 (CEST)"},"4090":{"style":{"__isSmartRef__":true,"id":4091},"chunkOwner":{"__isSmartRef__":true,"id":4068},"_id":"_11192","storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4091":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4092":{"morph":{"__isSmartRef__":true,"id":4068},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4093":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"4094":{"columns":[],"data":[]},"4095":{"selection":{"__isSmartRef__":true,"id":4096},"selectionIndex":{"__isSmartRef__":true,"id":4097}},"4096":{},"4097":{},"4098":{"sourceObj":{"__isSmartRef__":true,"id":4068},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":4099},"targetMethodName":"selectFile","varMapping":{"__isSmartRef__":true,"id":4101},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4099":{"isCopyMorphRef":true,"morphRefId":1,"selectFile":{"__isSmartRef__":true,"id":4100}},"4100":{"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},"4101":{"source":{"__isSmartRef__":true,"id":4068},"target":{"__isSmartRef__":true,"id":4099}},"4102":{"onrestore":{"__isSmartRef__":true,"id":4103},"setTableTSV":{"__isSmartRef__":true,"id":4111},"setTable":{"__isSmartRef__":true,"id":4115},"printTableSortedBy":{"__isSmartRef__":true,"id":4119},"sortTableBy":{"__isSmartRef__":true,"id":4123},"onMouseUp":{"__isSmartRef__":true,"id":4127},"reset":{"__isSmartRef__":true,"id":4135},"setPlainText":{"__isSmartRef__":true,"id":4139},"selectRow":{"__isSmartRef__":true,"id":4143},"onDownPressed":{"__isSmartRef__":true,"id":4147},"onUpPressed":{"__isSmartRef__":true,"id":4155}},"4103":{"varMapping":{"__isSmartRef__":true,"id":4104},"source":"function onrestore() {\n // hack, is fixedWidth not persisted?\n this.applyStyle({fixedWidth: false})\n}","funcProperties":{"__isSmartRef__":true,"id":4109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4104":{"this":{"__isSmartRef__":true,"id":4068},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4105}},"4105":{"$super":{"__isSmartRef__":true,"id":4106}},"4106":{"varMapping":{"__isSmartRef__":true,"id":4107},"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":4108},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4107":{"obj":{"__isSmartRef__":true,"id":4068},"name":"onrestore"},"4108":{},"4109":{"timestamp":{"__isSmartRef__":true,"id":4110},"user":"jenslincke","tags":[]},"4110":{"isSerializedDate":true,"string":"Thu Apr 18 2013 11:53:11 GMT+0200 (CEST)"},"4111":{"varMapping":{"__isSmartRef__":true,"id":4112},"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":4113},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4112":{"this":{"__isSmartRef__":true,"id":4068}},"4113":{"timestamp":{"__isSmartRef__":true,"id":4114},"user":"jenslincke","tags":[]},"4114":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:16:18 GMT+0200 (CEST)"},"4115":{"varMapping":{"__isSmartRef__":true,"id":4116},"source":"function setTable(table) {\n this.table = table\n this.printTableSortedBy(table)\n}","funcProperties":{"__isSmartRef__":true,"id":4117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4116":{"this":{"__isSmartRef__":true,"id":4068}},"4117":{"timestamp":{"__isSmartRef__":true,"id":4118},"user":"jenslincke","tags":[]},"4118":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:19:21 GMT+0200 (CEST)"},"4119":{"varMapping":{"__isSmartRef__":true,"id":4120},"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":4121},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4120":{"this":{"__isSmartRef__":true,"id":4068}},"4121":{"timestamp":{"__isSmartRef__":true,"id":4122},"user":"jenslincke","tags":[]},"4122":{"isSerializedDate":true,"string":"Sat Jan 04 2014 23:17:38 GMT+0100 (CET)"},"4123":{"varMapping":{"__isSmartRef__":true,"id":4124},"source":"function sortTableBy(columnName) {\n this.printTableSortedBy(this.table, columnName);\n}","funcProperties":{"__isSmartRef__":true,"id":4125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4124":{"this":{"__isSmartRef__":true,"id":4068}},"4125":{"timestamp":{"__isSmartRef__":true,"id":4126},"user":"jenslincke","tags":[]},"4126":{"isSerializedDate":true,"string":"Tue Aug 13 2013 17:19:30 GMT+0200 (CEST)"},"4127":{"varMapping":{"__isSmartRef__":true,"id":4128},"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":4133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4128":{"this":{"__isSmartRef__":true,"id":4068},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4129}},"4129":{"$super":{"__isSmartRef__":true,"id":4130}},"4130":{"varMapping":{"__isSmartRef__":true,"id":4131},"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":4132},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4131":{"obj":{"__isSmartRef__":true,"id":4068},"name":"onMouseUp"},"4132":{},"4133":{"timestamp":{"__isSmartRef__":true,"id":4134},"user":"jenslincke","tags":[]},"4134":{"isSerializedDate":true,"string":"Sat Jan 04 2014 23:29:28 GMT+0100 (CET)"},"4135":{"varMapping":{"__isSmartRef__":true,"id":4136},"source":"function reset() {\n this.connections = {selection: {}, selectionIndex: {}}\n}","funcProperties":{"__isSmartRef__":true,"id":4137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4136":{"this":{"__isSmartRef__":true,"id":4068}},"4137":{"timestamp":{"__isSmartRef__":true,"id":4138},"user":"jenslincke","tags":[]},"4138":{"isSerializedDate":true,"string":"Fri Dec 20 2013 14:40:39 GMT+0100 (CET)"},"4139":{"varMapping":{"__isSmartRef__":true,"id":4140},"source":"function setPlainText(s) {\n this.isSelectingOnClick = false\n this.textString = s\n}","funcProperties":{"__isSmartRef__":true,"id":4141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4140":{"this":{"__isSmartRef__":true,"id":4068}},"4141":{"timestamp":{"__isSmartRef__":true,"id":4142},"user":"jenslincke","tags":[]},"4142":{"isSerializedDate":true,"string":"Tue Dec 31 2013 15:24:12 GMT+0100 (CET)"},"4143":{"varMapping":{"__isSmartRef__":true,"id":4144},"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":4145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4144":{"this":{"__isSmartRef__":true,"id":4068}},"4145":{"timestamp":{"__isSmartRef__":true,"id":4146},"user":"jenslincke","tags":[]},"4146":{"isSerializedDate":true,"string":"Sat Jan 04 2014 23:27:27 GMT+0100 (CET)"},"4147":{"varMapping":{"__isSmartRef__":true,"id":4148},"source":"function onDownPressed() {\n if(!this.isSelectingOnClick) return $super(evt)\n this.selectRow(this.selectedIndex + 1)\n}","funcProperties":{"__isSmartRef__":true,"id":4153},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4148":{"this":{"__isSmartRef__":true,"id":4068},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4149}},"4149":{"$super":{"__isSmartRef__":true,"id":4150}},"4150":{"varMapping":{"__isSmartRef__":true,"id":4151},"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":4152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4151":{"obj":{"__isSmartRef__":true,"id":4068},"name":"onDownPressed"},"4152":{},"4153":{"timestamp":{"__isSmartRef__":true,"id":4154},"user":"jenslincke","tags":[]},"4154":{"isSerializedDate":true,"string":"Wed Jan 01 2014 23:38:26 GMT+0100 (CET)"},"4155":{"varMapping":{"__isSmartRef__":true,"id":4156},"source":"function onUpPressed() {\n if(!this.isSelectingOnClick) return $super(evt)\n this.selectRow(this.selectedIndex - 1)\n}","funcProperties":{"__isSmartRef__":true,"id":4161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4156":{"this":{"__isSmartRef__":true,"id":4068},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4157}},"4157":{"$super":{"__isSmartRef__":true,"id":4158}},"4158":{"varMapping":{"__isSmartRef__":true,"id":4159},"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":4160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4159":{"obj":{"__isSmartRef__":true,"id":4068},"name":"onUpPressed"},"4160":{},"4161":{"timestamp":{"__isSmartRef__":true,"id":4162},"user":"jenslincke","tags":[]},"4162":{"isSerializedDate":true,"string":"Wed Jan 01 2014 23:38:40 GMT+0100 (CET)"},"4163":{"_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(1010.0,568.9)","_BorderColor":"Color.rgb(219,219,219)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"4164":{"partsSpaceName":"PartsBin/Widgets/","comment":"A quick and dirty table with clip","migrationLevel":4,"partName":"SelectTableClip","changes":[{"__isSmartRef__":true,"id":4165},{"__isSmartRef__":true,"id":4167},{"__isSmartRef__":true,"id":4169},{"__isSmartRef__":true,"id":4171},{"__isSmartRef__":true,"id":4173},{"__isSmartRef__":true,"id":4175},{"__isSmartRef__":true,"id":4177},{"__isSmartRef__":true,"id":4179},{"__isSmartRef__":true,"id":4181},{"__isSmartRef__":true,"id":4183},{"__isSmartRef__":true,"id":4185},{"__isSmartRef__":true,"id":4187},{"__isSmartRef__":true,"id":4189},{"__isSmartRef__":true,"id":4191},{"__isSmartRef__":true,"id":4193},{"__isSmartRef__":true,"id":4195},{"__isSmartRef__":true,"id":4197},{"__isSmartRef__":true,"id":4199},{"__isSmartRef__":true,"id":4201},{"__isSmartRef__":true,"id":4203}],"lastModifiedDate":{"__isSmartRef__":true,"id":4205},"revisionOnLoad":204376,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4165":{"date":{"__isSmartRef__":true,"id":4166},"author":"jenslincke","message":"no comment","id":"B9BE1BEE-DAE1-4747-9D07-40017E825BC0"},"4166":{"isSerializedDate":true,"string":"Sat Jan 25 2014 12:37:34 GMT+0100 (CET)"},"4167":{"date":{"__isSmartRef__":true,"id":4168},"author":"jenslincke","message":"no comment","id":"E4C7498C-EAC9-4C91-A754-EE39F951E6F8"},"4168":{"isSerializedDate":true,"string":"Wed Dec 04 2013 15:26:15 GMT+0100 (CET)"},"4169":{"date":{"__isSmartRef__":true,"id":4170},"author":"jenslincke","message":"no comment","id":"711F9AD5-2F47-444A-883D-F445555F6B29"},"4170":{"isSerializedDate":true,"string":"Wed Dec 04 2013 15:25:56 GMT+0100 (CET)"},"4171":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":4172}},"4172":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"4173":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":4174}},"4174":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"4175":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":4176}},"4176":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"4177":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":4178}},"4178":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"4179":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":4180}},"4180":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"4181":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":4182}},"4182":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"4183":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":4184}},"4184":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"4185":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":4186}},"4186":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"4187":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":4188}},"4188":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"4189":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":4190}},"4190":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"4191":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":4192}},"4192":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"4193":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":4194}},"4194":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"4195":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":4196}},"4196":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"4197":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":4198}},"4198":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"4199":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":4200}},"4200":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"4201":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":4202}},"4202":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"4203":{"date":{"__isSmartRef__":true,"id":4204},"author":"jenslincke","message":"no comment","id":"CD00CB2E-7C38-470A-AFBD-420B0B8E7A73"},"4204":{"isSerializedDate":true,"string":"Sat Jan 04 2014 22:05:34 GMT+0100 (CET)"},"4205":{"isSerializedDate":true,"string":"Sat Jan 25 2014 12:36:33 GMT+0100 (CET)"},"4206":{"morph":{"__isSmartRef__":true,"id":4067},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4207":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4208}},"4208":{"test01IsMorph":{"__isSmartRef__":true,"id":4209}},"4209":{"varMapping":{"__isSmartRef__":true,"id":4210},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":4211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4210":{"this":{"__isSmartRef__":true,"id":4207}},"4211":{},"4212":{"resizeWidth":true,"resizeHeight":true},"4213":{"_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(1065.1,635.6)","_BorderColor":"Color.rgb(200,187,187)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"4214":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":4,"partName":"ValueInput","changes":[{"__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}],"lastModifiedDate":{"__isSmartRef__":true,"id":4249},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4215":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":4216}},"4216":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"4217":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":4218}},"4218":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"4219":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":4220}},"4220":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"4221":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":4222}},"4222":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"4223":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":4224}},"4224":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"4225":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":4226}},"4226":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"4227":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":4228}},"4228":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"4229":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":4230}},"4230":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"4231":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":4232}},"4232":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"4233":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":4234}},"4234":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"4235":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":4236}},"4236":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"4237":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":4238}},"4238":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"4239":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":4240}},"4240":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"4241":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":4242}},"4242":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"4243":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":4244}},"4244":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"4245":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":4246}},"4246":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"4247":{"date":{"__isSmartRef__":true,"id":4248},"author":"jenslincke","message":"no comment","id":"D32C43BE-72DA-4F02-84D0-AFA7B3DFFA74"},"4248":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:19:45 GMT+0100 (CET)"},"4249":{"isSerializedDate":true,"string":"Thu Aug 15 2013 21:21:30 GMT+0200 (CEST)"},"4250":{"morph":{"__isSmartRef__":true,"id":4032},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4251":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4252}},"4252":{"test01IsMorph":{"__isSmartRef__":true,"id":4253}},"4253":{"varMapping":{"__isSmartRef__":true,"id":4254},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":4255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4254":{"this":{"__isSmartRef__":true,"id":4251}},"4255":{},"4256":{"adjustForNewBounds":true},"4257":{"addData":{"__isSmartRef__":true,"id":4258},"resetData":{"__isSmartRef__":true,"id":4262},"showData":{"__isSmartRef__":true,"id":4266}},"4258":{"varMapping":{"__isSmartRef__":true,"id":4259},"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":4260},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4259":{"this":{"__isSmartRef__":true,"id":4032}},"4260":{"timestamp":{"__isSmartRef__":true,"id":4261},"user":"jenslincke","tags":[]},"4261":{"isSerializedDate":true,"string":"Sat Jan 25 2014 12:43:11 GMT+0100 (CET)"},"4262":{"varMapping":{"__isSmartRef__":true,"id":4263},"source":"function resetData(date) {\n this.table = null\n}","funcProperties":{"__isSmartRef__":true,"id":4264},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4263":{"this":{"__isSmartRef__":true,"id":4032}},"4264":{"timestamp":{"__isSmartRef__":true,"id":4265},"user":"jenslincke","tags":[]},"4265":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:51:34 GMT+0100 (CET)"},"4266":{"varMapping":{"__isSmartRef__":true,"id":4267},"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":4268},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4267":{"this":{"__isSmartRef__":true,"id":4032}},"4268":{"timestamp":{"__isSmartRef__":true,"id":4269},"user":"jenslincke","tags":[]},"4269":{"isSerializedDate":true,"string":"Sat Jan 25 2014 23:21:11 GMT+0100 (CET)"},"4270":{"#startLetters":"d3","_ClipMode":"visible","_traitConfig_":[{"__isSmartRef__":true,"id":4271},{"__isSmartRef__":true,"id":4273}],"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":4275},"halosEnabled":true,"id":"D5302711-DBC5-4969-ADA0-F60EDC50FAA8","isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4276},"name":"Visualization","partsBinMetaInfo":{"__isSmartRef__":true,"id":4277},"prevScroll":[0,0],"scripts":[],"shape":{"__isSmartRef__":true,"id":4297},"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":4343},"_StyleClassNames":["Morph","HtmlWrapperMorph"],"isCopyMorphRef":true,"morphRefId":1,"owner":{"__isSmartRef__":true,"id":1516},"scaleDetail":0.045,"attributeConnections":[{"__isSmartRef__":true,"id":4300},{"__isSmartRef__":true,"id":4331}],"target":{"__isSmartRef__":true,"id":4353},"_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":4354},"__LivelyClassName__":"lively.morphic.HtmlWrapperMorph","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","distanceToDragEvent":"lively.pt(713.8,-7.0)","updateDelayed":"lively.pt(1071.0,465.0)","_Position":"lively.pt(14.6,779.7)"},"4271":{"options":{"__isSmartRef__":true,"id":4272},"traitName":"d3WrapperTrait"},"4272":{},"4273":{"options":{"__isSmartRef__":true,"id":4274},"traitName":"apps.d3Interface.d3WrapperTrait"},"4274":{},"4275":{"morph":{"__isSmartRef__":true,"id":4270},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4276":{"resizeHeight":true,"resizeWidth":true,"adjustForNewBounds":true},"4277":{"#startLetters":"","partName":"MultiLineChart","requiredModules":["apps.d3Interface"],"partsSpaceName":"PartsBin/Visualization/","comment":"A simple D3 Line Chart","changes":[{"__isSmartRef__":true,"id":4278},{"__isSmartRef__":true,"id":4280},{"__isSmartRef__":true,"id":4282},{"__isSmartRef__":true,"id":4284},{"__isSmartRef__":true,"id":4286},{"__isSmartRef__":true,"id":4288},{"__isSmartRef__":true,"id":4290},{"__isSmartRef__":true,"id":4292},{"__isSmartRef__":true,"id":4294}],"migrationLevel":4,"lastModifiedDate":{"__isSmartRef__":true,"id":4296},"revisionOnLoad":204389,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4278":{"date":{"__isSmartRef__":true,"id":4279},"author":"jenslincke","message":"no comment","id":"900E924E-3DCD-4D36-8A5E-D127326B5E11"},"4279":{"isSerializedDate":true,"string":"Fri Jan 18 2013 11:57:37 GMT+0100 (CET)"},"4280":{"date":{"__isSmartRef__":true,"id":4281},"author":"jenslincke","message":"no comment","id":"EA8F98BC-8C7A-4CAE-AE29-018891B193BD"},"4281":{"isSerializedDate":true,"string":"Tue Dec 18 2012 13:13:31 GMT+0100 (CET)"},"4282":{"date":{"__isSmartRef__":true,"id":4283},"author":"jenslincke","message":"no comment","id":"0755F3DA-DF64-42F7-ABDB-3C44A0BB26AE"},"4283":{"isSerializedDate":true,"string":"Tue Dec 18 2012 13:13:06 GMT+0100 (CET)"},"4284":{"date":{"__isSmartRef__":true,"id":4285},"author":"jenslincke","message":"no comment","id":"7D1101AA-8EAA-45A3-815A-CD8CA3E33E22"},"4285":{"isSerializedDate":true,"string":"Fri Jan 18 2013 14:24:46 GMT+0100 (CET)"},"4286":{"date":{"__isSmartRef__":true,"id":4287},"author":"jenslincke","message":"no comment","id":"1DF7B5DC-D35D-48A1-96CC-D41D3A09E32D"},"4287":{"isSerializedDate":true,"string":"Fri Jan 18 2013 14:26:16 GMT+0100 (CET)"},"4288":{"date":{"__isSmartRef__":true,"id":4289},"author":"jenslincke","message":"no comment","id":"49533FF8-27AF-4D61-AF07-8C2333C56248"},"4289":{"isSerializedDate":true,"string":"Fri Jan 18 2013 15:16:13 GMT+0100 (CET)"},"4290":{"date":{"__isSmartRef__":true,"id":4291},"author":"jenslincke","message":"no comment","id":"A98DE527-3D34-4333-9255-890015DC8B5E"},"4291":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:24:08 GMT+0100 (CET)"},"4292":{"date":{"__isSmartRef__":true,"id":4293},"author":"jenslincke","message":"no comment","id":"77112C1B-2C37-4754-B188-C360914F510C"},"4293":{"isSerializedDate":true,"string":"Sat Jan 25 2014 11:01:33 GMT+0100 (CET)"},"4294":{"date":{"__isSmartRef__":true,"id":4295},"author":"jenslincke","message":"no comment","id":"561EE98D-611F-4EBF-B30F-A46912687098"},"4295":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:24:57 GMT+0100 (CET)"},"4296":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:23:56 GMT+0100 (CET)"},"4297":{"_BorderRadius":0,"_BorderStyle":"solid","_BorderWidth":0,"_Opacity":1,"stringifiedShapeNode":"","_AppearanceStylingMode":false,"_BorderStylingMode":true,"attributeConnections":[{"__isSmartRef__":true,"id":4298},{"__isSmartRef__":true,"id":4329},{"__isSmartRef__":true,"id":4307},{"__isSmartRef__":true,"id":4333}],"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(1071.0,465.0)","_Extent":"lively.pt(1071.0,465.0)"},"4298":{"sourceObj":{"__isSmartRef__":true,"id":4297},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":4270},"targetMethodName":"updateDelayed","varMapping":{"__isSmartRef__":true,"id":4299},"dependedBy":{"__isSmartRef__":true,"id":4300},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4299":{"source":{"__isSmartRef__":true,"id":4297},"target":{"__isSmartRef__":true,"id":4270}},"4300":{"dependendConnections":[{"__isSmartRef__":true,"id":4301},{"__isSmartRef__":true,"id":4301},{"__isSmartRef__":true,"id":4301},{"__isSmartRef__":true,"id":4301},{"__isSmartRef__":true,"id":4304},{"__isSmartRef__":true,"id":4298},{"__isSmartRef__":true,"id":4307}],"sourceAttrName":"extent","sourceObj":{"__isSmartRef__":true,"id":4270},"targetMethodName":"updateDelayed","targetObj":{"__isSmartRef__":true,"id":4270},"attributeConnections":[{"__isSmartRef__":true,"id":4309},{"__isSmartRef__":true,"id":4311},{"__isSmartRef__":true,"id":4313},{"__isSmartRef__":true,"id":4315},{"__isSmartRef__":true,"id":4317},{"__isSmartRef__":true,"id":4319},{"__isSmartRef__":true,"id":4321},{"__isSmartRef__":true,"id":4323},{"__isSmartRef__":true,"id":4325},{"__isSmartRef__":true,"id":4327}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"4301":{"dependedBy":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"_Extent","sourceObj":{"__isSmartRef__":true,"id":4302},"targetMethodName":"updateDelayed","targetObj":{"__isSmartRef__":true,"id":4270},"varMapping":{"__isSmartRef__":true,"id":4303},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4302":{"_BorderRadius":0,"_BorderStyle":"solid","_BorderWidth":0,"_Opacity":1,"attributeConnections":[{"__isSmartRef__":true,"id":4301}],"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)"},"4303":{"source":{"__isSmartRef__":true,"id":4302},"target":{"__isSmartRef__":true,"id":4270}},"4304":{"sourceObj":{"__isSmartRef__":true,"id":4305},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":4270},"targetMethodName":"updateDelayed","varMapping":{"__isSmartRef__":true,"id":4306},"dependedBy":{"__isSmartRef__":true,"id":4300},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4305":{"_BorderRadius":0,"_BorderStyle":"solid","_BorderWidth":0,"_Opacity":1,"stringifiedShapeNode":"","_AppearanceStylingMode":false,"_BorderStylingMode":true,"attributeConnections":[{"__isSmartRef__":true,"id":4304}],"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)"},"4306":{"source":{"__isSmartRef__":true,"id":4305},"target":{"__isSmartRef__":true,"id":4270}},"4307":{"sourceObj":{"__isSmartRef__":true,"id":4297},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":4300},"targetMethodName":"update","varMapping":{"__isSmartRef__":true,"id":4308},"dependedBy":{"__isSmartRef__":true,"id":4300},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4308":{"source":{"__isSmartRef__":true,"id":4297},"target":{"__isSmartRef__":true,"id":4300}},"4309":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":4301},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":4310},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4310":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4301}},"4311":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":4301},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":4312},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4312":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4301}},"4313":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":4301},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":4314},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4314":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4301}},"4315":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":4304},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":4316},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4316":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4304}},"4317":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":4304},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":4318},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4318":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4304}},"4319":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":4304},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":4320},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4320":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4304}},"4321":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":4298},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":4322},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4322":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4298}},"4323":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":4298},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":4324},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4324":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4298}},"4325":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":4298},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":4326},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4326":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4298}},"4327":{"sourceObj":{"__isSmartRef__":true,"id":4300},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":4307},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":4328},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4328":{"source":{"__isSmartRef__":true,"id":4300},"target":{"__isSmartRef__":true,"id":4307}},"4329":{"sourceObj":{"__isSmartRef__":true,"id":4297},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":4270},"targetMethodName":"draw","varMapping":{"__isSmartRef__":true,"id":4330},"dependedBy":{"__isSmartRef__":true,"id":4331},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4330":{"source":{"__isSmartRef__":true,"id":4297},"target":{"__isSmartRef__":true,"id":4270}},"4331":{"sourceObj":{"__isSmartRef__":true,"id":4270},"sourceAttrName":"extent","targetObj":{"__isSmartRef__":true,"id":4270},"targetMethodName":"draw","varMapping":{"__isSmartRef__":true,"id":4332},"dependendConnections":[{"__isSmartRef__":true,"id":4329},{"__isSmartRef__":true,"id":4333}],"attributeConnections":[{"__isSmartRef__":true,"id":4335},{"__isSmartRef__":true,"id":4337},{"__isSmartRef__":true,"id":4339},{"__isSmartRef__":true,"id":4341}],"doNotSerialize":["$$converterString","$$updaterString","$$varMapping"],"doNotCopyProperties":["$$converterString","$$updaterString","$$varMapping"],"__LivelyClassName__":"lively.morphic.GeometryConnection","__SourceModuleName__":"Global.lively.bindings.GeometryBindings"},"4332":{"source":{"__isSmartRef__":true,"id":4270},"target":{"__isSmartRef__":true,"id":4270}},"4333":{"sourceObj":{"__isSmartRef__":true,"id":4297},"sourceAttrName":"_Extent","targetObj":{"__isSmartRef__":true,"id":4331},"targetMethodName":"update","varMapping":{"__isSmartRef__":true,"id":4334},"dependedBy":{"__isSmartRef__":true,"id":4331},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4334":{"source":{"__isSmartRef__":true,"id":4297},"target":{"__isSmartRef__":true,"id":4331}},"4335":{"sourceObj":{"__isSmartRef__":true,"id":4331},"sourceAttrName":"converterString","targetObj":{"__isSmartRef__":true,"id":4329},"targetMethodName":"setConverter","varMapping":{"__isSmartRef__":true,"id":4336},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4336":{"source":{"__isSmartRef__":true,"id":4331},"target":{"__isSmartRef__":true,"id":4329}},"4337":{"sourceObj":{"__isSmartRef__":true,"id":4331},"sourceAttrName":"updaterString","targetObj":{"__isSmartRef__":true,"id":4329},"targetMethodName":"setUpdater","varMapping":{"__isSmartRef__":true,"id":4338},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4338":{"source":{"__isSmartRef__":true,"id":4331},"target":{"__isSmartRef__":true,"id":4329}},"4339":{"sourceObj":{"__isSmartRef__":true,"id":4331},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":4329},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":4340},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4340":{"source":{"__isSmartRef__":true,"id":4331},"target":{"__isSmartRef__":true,"id":4329}},"4341":{"sourceObj":{"__isSmartRef__":true,"id":4331},"sourceAttrName":"varMapping","targetObj":{"__isSmartRef__":true,"id":4333},"targetMethodName":"varMapping","varMapping":{"__isSmartRef__":true,"id":4342},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4342":{"source":{"__isSmartRef__":true,"id":4331},"target":{"__isSmartRef__":true,"id":4333}},"4343":{"rules":[{"__isSmartRef__":true,"id":4344},{"__isSmartRef__":true,"id":4348},{"__isSmartRef__":true,"id":4349}],"originMorph":{"__isSmartRef__":true,"id":4270},"__LivelyClassName__":"lively.morphic.StyleSheet","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4344":{"declarations":[{"__isSmartRef__":true,"id":4345},{"__isSmartRef__":true,"id":4346},{"__isSmartRef__":true,"id":4347}],"styleSheet":{"__isSmartRef__":true,"id":4343},"selector":".axis path, .axis line","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4345":{"values":["none"],"rule":{"__isSmartRef__":true,"id":4344},"property":"fill","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4346":{"values":["#000"],"rule":{"__isSmartRef__":true,"id":4344},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4347":{"values":["crispEdges"],"rule":{"__isSmartRef__":true,"id":4344},"property":"shape-rendering","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4348":{"declarations":[],"styleSheet":{"__isSmartRef__":true,"id":4343},"selector":".x.axis path","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4349":{"declarations":[{"__isSmartRef__":true,"id":4350},{"__isSmartRef__":true,"id":4351},{"__isSmartRef__":true,"id":4352}],"styleSheet":{"__isSmartRef__":true,"id":4343},"selector":".line","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4350":{"values":["none"],"rule":{"__isSmartRef__":true,"id":4349},"property":"fill","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4351":{"values":["steelblue"],"rule":{"__isSmartRef__":true,"id":4349},"property":"stroke","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4352":{"values":["1.5px"],"rule":{"__isSmartRef__":true,"id":4349},"property":"stroke-width","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"4353":{"name":"root","submorphs":[null]},"4354":{"reset":{"__isSmartRef__":true,"id":4355},"update":{"__isSmartRef__":true,"id":4359},"draw":{"__isSmartRef__":true,"id":4363},"getChart":{"__isSmartRef__":true,"id":4367},"onrestore":{"__isSmartRef__":true,"id":4371},"installLayers":{"__isSmartRef__":true,"id":4379},"clear":{"__isSmartRef__":true,"id":4383},"getD3Transform":{"__isSmartRef__":true,"id":4387},"setD3Transform":{"__isSmartRef__":true,"id":4391},"onExport":{"__isSmartRef__":true,"id":4395},"catchErrors":{"__isSmartRef__":true,"id":4399},"getData":{"__isSmartRef__":true,"id":4403},"getExampleData":{"__isSmartRef__":true,"id":4407}},"4355":{"varMapping":{"__isSmartRef__":true,"id":4356},"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":4357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4356":{"this":{"__isSmartRef__":true,"id":4270}},"4357":{"timestamp":{"__isSmartRef__":true,"id":4358},"tags":[]},"4358":{"isSerializedDate":true,"string":"Sat Jan 25 2014 10:03:49 GMT+0100 (CET)"},"4359":{"varMapping":{"__isSmartRef__":true,"id":4360},"source":"function update() {\n\n this.draw();\n\n this.d3TransistionNodes()\n}","funcProperties":{"__isSmartRef__":true,"id":4361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4360":{"this":{"__isSmartRef__":true,"id":4270}},"4361":{"timestamp":{"__isSmartRef__":true,"id":4362},"user":"jenslincke","tags":[]},"4362":{"isSerializedDate":true,"string":"Wed Oct 02 2013 18:22:41 GMT+0200 (CEST)"},"4363":{"varMapping":{"__isSmartRef__":true,"id":4364},"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":4365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4364":{"this":{"__isSmartRef__":true,"id":4270}},"4365":{"timestamp":{"__isSmartRef__":true,"id":4366},"user":"jenslincke","tags":[]},"4366":{"isSerializedDate":true,"string":"Sun Jan 26 2014 23:34:19 GMT+0100 (CET)"},"4367":{"varMapping":{"__isSmartRef__":true,"id":4368},"source":"function getChart() {\n return d3.select(this.renderContext().shapeNode);\n}","funcProperties":{"__isSmartRef__":true,"id":4369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4368":{"this":{"__isSmartRef__":true,"id":4270}},"4369":{"timestamp":{"__isSmartRef__":true,"id":4370},"user":"markoroeder","tags":[]},"4370":{"isSerializedDate":true,"string":"Mon Dec 17 2012 11:04:18 GMT+0100 (CET)"},"4371":{"varMapping":{"__isSmartRef__":true,"id":4372},"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":4377},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4372":{"this":{"__isSmartRef__":true,"id":4270},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4373}},"4373":{"$super":{"__isSmartRef__":true,"id":4374}},"4374":{"varMapping":{"__isSmartRef__":true,"id":4375},"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":4376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4375":{"obj":{"__isSmartRef__":true,"id":4270},"name":"onrestore"},"4376":{},"4377":{"timestamp":{"__isSmartRef__":true,"id":4378},"user":"jenslincke","tags":[]},"4378":{"isSerializedDate":true,"string":"Thu Jul 18 2013 16:44:41 GMT+0200 (CEST)"},"4379":{"varMapping":{"__isSmartRef__":true,"id":4380},"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":4381},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4380":{"this":{"__isSmartRef__":true,"id":4270}},"4381":{"timestamp":{"__isSmartRef__":true,"id":4382},"user":"jenslincke","tags":[]},"4382":{"isSerializedDate":true,"string":"Thu Jul 18 2013 16:48:40 GMT+0200 (CEST)"},"4383":{"varMapping":{"__isSmartRef__":true,"id":4384},"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":4385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4384":{"this":{"__isSmartRef__":true,"id":4270}},"4385":{"timestamp":{"__isSmartRef__":true,"id":4386},"user":"jenslincke","tags":[]},"4386":{"isSerializedDate":true,"string":"Wed Oct 02 2013 15:55:11 GMT+0200 (CEST)"},"4387":{"varMapping":{"__isSmartRef__":true,"id":4388},"source":"function getD3Transform() {\n if (!this.svgNode) return;\n return this.svgNode.attr(\"transform\")\n\n}","funcProperties":{"__isSmartRef__":true,"id":4389},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4388":{"this":{"__isSmartRef__":true,"id":4270}},"4389":{"timestamp":{"__isSmartRef__":true,"id":4390},"user":"jenslincke","tags":[]},"4390":{"isSerializedDate":true,"string":"Tue Jul 16 2013 16:32:35 GMT+0200 (CEST)"},"4391":{"varMapping":{"__isSmartRef__":true,"id":4392},"source":"function setD3Transform(value) {\n if (!this.svgNode || !value) return;\n\n return this.svgNode.attr(\"transform\", value)\n\n}","funcProperties":{"__isSmartRef__":true,"id":4393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4392":{"this":{"__isSmartRef__":true,"id":4270}},"4393":{"timestamp":{"__isSmartRef__":true,"id":4394},"user":"jenslincke","tags":[]},"4394":{"isSerializedDate":true,"string":"Tue Jul 16 2013 16:32:45 GMT+0200 (CEST)"},"4395":{"varMapping":{"__isSmartRef__":true,"id":4396},"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":4397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4396":{"this":{"__isSmartRef__":true,"id":4270}},"4397":{"timestamp":{"__isSmartRef__":true,"id":4398},"user":"jenslincke","tags":[]},"4398":{"isSerializedDate":true,"string":"Wed Jul 17 2013 17:50:09 GMT+0200 (CEST)"},"4399":{"varMapping":{"__isSmartRef__":true,"id":4400},"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":4401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4400":{"this":{"__isSmartRef__":true,"id":4270}},"4401":{"timestamp":{"__isSmartRef__":true,"id":4402},"user":"jenslincke","tags":[]},"4402":{"isSerializedDate":true,"string":"Thu Jul 18 2013 13:52:05 GMT+0200 (CEST)"},"4403":{"varMapping":{"__isSmartRef__":true,"id":4404},"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":4405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4404":{"this":{"__isSmartRef__":true,"id":4270}},"4405":{"timestamp":{"__isSmartRef__":true,"id":4406},"user":"jenslincke","tags":[]},"4406":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:43:31 GMT+0100 (CET)"},"4407":{"varMapping":{"__isSmartRef__":true,"id":4408},"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":4409},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4408":{"this":{"__isSmartRef__":true,"id":4270}},"4409":{"timestamp":{"__isSmartRef__":true,"id":4410},"user":"jenslincke","tags":[]},"4410":{"isSerializedDate":true,"string":"Sat Jan 25 2014 16:20:52 GMT+0100 (CET)"},"4411":{"submorphs":[{"__isSmartRef__":true,"id":4412},{"__isSmartRef__":true,"id":4446},{"__isSmartRef__":true,"id":4462},{"__isSmartRef__":true,"id":4504},{"__isSmartRef__":true,"id":4526},{"__isSmartRef__":true,"id":4531},{"__isSmartRef__":true,"id":4552},{"__isSmartRef__":true,"id":4575},{"__isSmartRef__":true,"id":4596}],"scripts":[],"id":"E219886F-77C6-49BC-A9C7-F23E4ADA38C9","shape":{"__isSmartRef__":true,"id":4619},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Buttons","partsBinMetaInfo":{"__isSmartRef__":true,"id":4620},"eventHandler":{"__isSmartRef__":true,"id":4654},"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":4655},"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":1516},"prevScroll":[0,0],"isBeingDragged":false,"startTime":1391552228953,"steps":12,"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4660},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(11.3,16.6)","distanceToDragEvent":"lively.pt(167.6,-12.6)"},"4412":{"submorphs":[{"__isSmartRef__":true,"id":4413}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4418},"eventHandler":{"__isSmartRef__":true,"id":4419},"_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":4413},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":4420},{"__isSmartRef__":true,"id":4422}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button3","partsBinMetaInfo":{"__isSmartRef__":true,"id":4424},"pinSpecs":[{"__isSmartRef__":true,"id":4440}],"owner":{"__isSmartRef__":true,"id":4411},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4441},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(87.5,7.3)","distanceToDragEvent":"lively.pt(36.7,-10.2)"},"4413":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4414},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4415}],"eventHandler":{"__isSmartRef__":true,"id":4417},"_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":4412},"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)"},"4414":{"_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)"},"4415":{"style":{"__isSmartRef__":true,"id":4416},"chunkOwner":{"__isSmartRef__":true,"id":4413},"_id":"_222753","storedString":"Step","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4416":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4417":{"morph":{"__isSmartRef__":true,"id":4413},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4418":{"_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)"},"4419":{"morph":{"__isSmartRef__":true,"id":4412},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4420":{"sourceObj":{"__isSmartRef__":true,"id":4412},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4412},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":4421},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4421":{"source":{"__isSmartRef__":true,"id":4412},"target":{"__isSmartRef__":true,"id":4412}},"4422":{"sourceObj":{"__isSmartRef__":true,"id":4412},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4411},"targetMethodName":"onStep","varMapping":{"__isSmartRef__":true,"id":4423},"isAutoConnected":true,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4423":{"source":{"__isSmartRef__":true,"id":4412},"target":{"__isSmartRef__":true,"id":4411}},"4424":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":4425},{"__isSmartRef__":true,"id":4427},{"__isSmartRef__":true,"id":4429},{"__isSmartRef__":true,"id":4431},{"__isSmartRef__":true,"id":4433},{"__isSmartRef__":true,"id":4435},{"__isSmartRef__":true,"id":4437}],"migrationLevel":7,"lastModifiedDate":{"__isSmartRef__":true,"id":4439},"revisionOnLoad":203770,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4425":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","date":{"__isSmartRef__":true,"id":4426}},"4426":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:15:42 GMT+0100 (CET)"},"4427":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","date":{"__isSmartRef__":true,"id":4428}},"4428":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:53:16 GMT+0100 (CET)"},"4429":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","date":{"__isSmartRef__":true,"id":4430}},"4430":{"isSerializedDate":true,"string":"Wed May 01 2013 05:34:25 GMT+0200 (CEST)"},"4431":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","date":{"__isSmartRef__":true,"id":4432}},"4432":{"isSerializedDate":true,"string":"Wed May 01 2013 05:35:59 GMT+0200 (CEST)"},"4433":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","date":{"__isSmartRef__":true,"id":4434}},"4434":{"isSerializedDate":true,"string":"Wed May 01 2013 05:36:30 GMT+0200 (CEST)"},"4435":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","date":{"__isSmartRef__":true,"id":4436}},"4436":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:22:38 GMT+0200 (CEST)"},"4437":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","date":{"__isSmartRef__":true,"id":4438}},"4438":{"isSerializedDate":true,"string":"Mon Jun 17 2013 19:24:50 GMT+0200 (CEST)"},"4439":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"4440":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"4441":{"doAction":{"__isSmartRef__":true,"id":4442}},"4442":{"varMapping":{"__isSmartRef__":true,"id":4443},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":4444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4443":{"this":{"__isSmartRef__":true,"id":4412}},"4444":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":4445}},"4445":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"4446":{"submorphs":[{"__isSmartRef__":true,"id":4447}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4452},"eventHandler":{"__isSmartRef__":true,"id":4453},"_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":4447},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":4454}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button5","partsBinMetaInfo":{"__isSmartRef__":true,"id":4045},"pinSpecs":[{"__isSmartRef__":true,"id":4456}],"owner":{"__isSmartRef__":true,"id":4411},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4457},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(131.6,6.0)","distanceToDragEvent":"lively.pt(77.4,-9.9)"},"4447":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4448},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4449}],"eventHandler":{"__isSmartRef__":true,"id":4451},"_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":4446},"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)"},"4448":{"_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)"},"4449":{"style":{"__isSmartRef__":true,"id":4450},"chunkOwner":{"__isSmartRef__":true,"id":4447},"_id":"_578952","storedString":"Reset","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4450":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4451":{"morph":{"__isSmartRef__":true,"id":4447},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4452":{"_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)"},"4453":{"morph":{"__isSmartRef__":true,"id":4446},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4454":{"sourceObj":{"__isSmartRef__":true,"id":4446},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4446},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":4455},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4455":{"source":{"__isSmartRef__":true,"id":4446},"target":{"__isSmartRef__":true,"id":4446}},"4456":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"4457":{"doAction":{"__isSmartRef__":true,"id":4458}},"4458":{"varMapping":{"__isSmartRef__":true,"id":4459},"source":"function doAction() {\n this.get(\"ResetSimulation\").parseSimulationSource()\n cop.withLayers([ForceNameFoundLayer], function() {\n this.get(\"ResetSimulation\").simulateStep()\n }.bind(this))\n this.get(\"EnergySimulation\").showAllProperties()\n this.get(\"EnergySimulation\").initSimulation()\n}","funcProperties":{"__isSmartRef__":true,"id":4460},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4459":{"this":{"__isSmartRef__":true,"id":4446}},"4460":{"timestamp":{"__isSmartRef__":true,"id":4461},"user":"jenslincke","tags":[]},"4461":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:32:04 GMT+0100 (CET)"},"4462":{"submorphs":[{"__isSmartRef__":true,"id":4463}],"scripts":[],"id":"9531A49F-3442-403E-B66C-71EC48F827BA","shape":{"__isSmartRef__":true,"id":4468},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4469},"lighterFill":{"__isSmartRef__":true,"id":4474},"label":{"__isSmartRef__":true,"id":4463},"name":"ToggleButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4479},"attributeConnections":[{"__isSmartRef__":true,"id":4485},{"__isSmartRef__":true,"id":4486},{"__isSmartRef__":true,"id":4488}],"doNotSerialize":["$$fire","$$enable","$$disable"],"doNotCopyProperties":["$$fire","$$enable","$$disable"],"eventHandler":{"__isSmartRef__":true,"id":4490},"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":4491},"moved":true,"owner":{"__isSmartRef__":true,"id":4411},"prevScroll":[0,0],"_PreviousBorderWidth":1.1840000000000002,"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4495},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(9.1,6.2)","distanceToDragEvent":"lively.pt(50.5,-10.1)"},"4463":{"submorphs":[],"scripts":[],"id":"017079A3-BC59-4CF2-AEE6-7C2E5A94E864","shape":{"__isSmartRef__":true,"id":4464},"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":4462},"isLabel":true,"eventsAreIgnored":true,"_ClipMode":"hidden","textChunks":[{"__isSmartRef__":true,"id":4465}],"_Align":"center","eventHandler":{"__isSmartRef__":true,"id":4467},"_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)"},"4464":{"_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)"},"4465":{"style":{"__isSmartRef__":true,"id":4466},"chunkOwner":{"__isSmartRef__":true,"id":4463},"_id":"_11169","storedString":"start","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4466":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4467":{"morph":{"__isSmartRef__":true,"id":4463},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4468":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":4469},"_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)"},"4469":{"stops":[{"__isSmartRef__":true,"id":4470},{"__isSmartRef__":true,"id":4471},{"__isSmartRef__":true,"id":4472},{"__isSmartRef__":true,"id":4473}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"4470":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"4471":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"4472":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(209,209,209)"},"4473":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"4474":{"stops":[{"__isSmartRef__":true,"id":4475},{"__isSmartRef__":true,"id":4476},{"__isSmartRef__":true,"id":4477},{"__isSmartRef__":true,"id":4478}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"4475":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(250,250,250)"},"4476":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"4477":{"offset":0.6,"__serializedExpressions__":["color"],"color":"Color.rgb(232,232,232)"},"4478":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(248,248,248)"},"4479":{"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":4480},{"__isSmartRef__":true,"id":4482}],"lastModifiedDate":{"__isSmartRef__":true,"id":4484},"revisionOnLoad":203770,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4480":{"date":{"__isSmartRef__":true,"id":4481},"author":"jenslincke","message":"no comment","id":"7471CE07-F2C0-4149-9684-90E843DB8DCE"},"4481":{"isSerializedDate":true,"string":"Fri Feb 08 2013 10:43:34 GMT+0100 (CET)"},"4482":{"date":{"__isSmartRef__":true,"id":4483},"author":"jenslincke","message":"no comment","id":"02AB5A6F-7748-4A48-8C36-D334F97FC321"},"4483":{"isSerializedDate":true,"string":"Thu Feb 07 2013 17:57:46 GMT+0100 (CET)"},"4484":{"isSerializedDate":true,"string":"Thu Jan 16 2014 10:23:15 GMT+0100 (CET)"},"4485":{"sourceObj":{"__isSmartRef__":true,"id":4462},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4462},"targetMethodName":"onFire","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4486":{"sourceObj":{"__isSmartRef__":true,"id":4462},"sourceAttrName":"enable","targetObj":{"__isSmartRef__":true,"id":4411},"targetMethodName":"onStart","varMapping":{"__isSmartRef__":true,"id":4487},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4487":{"source":{"__isSmartRef__":true,"id":4462},"target":{"__isSmartRef__":true,"id":4411}},"4488":{"sourceObj":{"__isSmartRef__":true,"id":4462},"sourceAttrName":"disable","targetObj":{"__isSmartRef__":true,"id":4411},"targetMethodName":"onStop","varMapping":{"__isSmartRef__":true,"id":4489},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4489":{"source":{"__isSmartRef__":true,"id":4462},"target":{"__isSmartRef__":true,"id":4411}},"4490":{"morph":{"__isSmartRef__":true,"id":4462},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4491":{"enable":{"__isSmartRef__":true,"id":4492},"disable":{"__isSmartRef__":true,"id":4493},"toggle":{"__isSmartRef__":true,"id":4494}},"4492":{},"4493":{},"4494":{},"4495":{"onFire":{"__isSmartRef__":true,"id":4496},"reset":{"__isSmartRef__":true,"id":4500}},"4496":{"varMapping":{"__isSmartRef__":true,"id":4497},"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":4498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4497":{"this":{"__isSmartRef__":true,"id":4462}},"4498":{"timestamp":{"__isSmartRef__":true,"id":4499},"user":"jenslincke","tags":[]},"4499":{"isSerializedDate":true,"string":"Fri Jan 24 2014 22:29:42 GMT+0100 (CET)"},"4500":{"varMapping":{"__isSmartRef__":true,"id":4501},"source":"function reset() {\n this.connections = {\"enable\": { }, \"disable\": { }, \"toggle\": { }}\n}","funcProperties":{"__isSmartRef__":true,"id":4502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4501":{"this":{"__isSmartRef__":true,"id":4462}},"4502":{"timestamp":{"__isSmartRef__":true,"id":4503},"user":"jenslincke","tags":[]},"4503":{"isSerializedDate":true,"string":"Fri Feb 08 2013 10:42:06 GMT+0100 (CET)"},"4504":{"submorphs":[{"__isSmartRef__":true,"id":4505}],"scripts":[],"id":"206DC5DE-6B6B-47EA-A4D8-A113837EC22F","shape":{"__isSmartRef__":true,"id":4512},"__layered_droppingEnabled__":true,"halosEnabled":true,"attributeConnections":[{"__isSmartRef__":true,"id":4517},{"__isSmartRef__":true,"id":4518}],"doNotSerialize":["$$value"],"doNotCopyProperties":["$$value"],"value":1,"sliderExtent":0.1,"valueScale":1,"sliderKnob":{"__isSmartRef__":true,"id":4505},"styleClass":["slider_background_horizontal"],"showsHalos":false,"name":"SimulationVelocity","partsBinMetaInfo":{"__isSmartRef__":true,"id":4520},"eventHandler":{"__isSmartRef__":true,"id":4524},"layout":{"__isSmartRef__":true,"id":4525},"derivationIds":[2631,"E6C0AF56-6D3E-41C8-AE8E-A0520F495C6B"],"_ClipMode":"visible","moved":true,"owner":{"__isSmartRef__":true,"id":4411},"prevScroll":[0,0],"isBeingDragged":false,"grabbingEnabled":false,"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__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)"},"4505":{"submorphs":[],"scripts":[],"id":"86092F15-D80F-4ED6-B68F-803BF755D102","shape":{"__isSmartRef__":true,"id":4506},"__layered_droppingEnabled__":true,"halosEnabled":true,"draggingEnabled":true,"slider":{"__isSmartRef__":true,"id":4504},"owner":{"__isSmartRef__":true,"id":4504},"styleClass":["slider_horizontal"],"eventHandler":{"__isSmartRef__":true,"id":4511},"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(202.1,0.0)","hitPoint":"lively.pt(1059.7,499.8)"},"4506":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":4507},"_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)"},"4507":{"stops":[{"__isSmartRef__":true,"id":4508},{"__isSmartRef__":true,"id":4509},{"__isSmartRef__":true,"id":4510}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"4508":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(196,211,221)"},"4509":{"offset":0.5,"__serializedExpressions__":["color"],"color":"Color.rgb(137,167,187)"},"4510":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(96,130,153)"},"4511":{"morph":{"__isSmartRef__":true,"id":4505},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4512":{"_BorderWidth":1,"_Fill":{"__isSmartRef__":true,"id":4513},"_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)"},"4513":{"stops":[{"__isSmartRef__":true,"id":4514},{"__isSmartRef__":true,"id":4515},{"__isSmartRef__":true,"id":4516}],"__serializedExpressions__":["vector"],"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes","vector":"lively.rect(0,0,0,1)"},"4514":{"offset":0,"__serializedExpressions__":["color"],"color":"Color.rgb(204,204,204)"},"4515":{"offset":0.4,"__serializedExpressions__":["color"],"color":"Color.rgb(240,240,240)"},"4516":{"offset":1,"__serializedExpressions__":["color"],"color":"Color.rgb(245,245,245)"},"4517":{"sourceObj":{"__isSmartRef__":true,"id":4504},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":4504},"targetMethodName":"adjustSliderParts","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4518":{"sourceObj":{"__isSmartRef__":true,"id":4504},"sourceAttrName":"value","targetObj":{"__isSmartRef__":true,"id":4411},"targetMethodName":"updateVelocity","varMapping":{"__isSmartRef__":true,"id":4519},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4519":{"source":{"__isSmartRef__":true,"id":4504},"target":{"__isSmartRef__":true,"id":4411}},"4520":{"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":4521}],"lastModifiedDate":{"__isSmartRef__":true,"id":4523},"revisionOnLoad":186558,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4521":{"date":{"__isSmartRef__":true,"id":4522},"author":"dustin.glaeser","message":"no comment","id":"9CD9677C-9A79-4D71-85C1-E5C72C253D16"},"4522":{"isSerializedDate":true,"string":"Thu Dec 13 2012 11:34:16 GMT+0100 (CET)"},"4523":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"4524":{"morph":{"__isSmartRef__":true,"id":4504},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4525":{},"4526":{"submorphs":[],"scripts":[],"id":"03173221-CA46-4D80-A388-2397892B3B8B","shape":{"__isSmartRef__":true,"id":4527},"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":873},"textChunks":[{"__isSmartRef__":true,"id":4528}],"charsReplaced":"foo!?","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4530},"_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":4411},"draggingEnabled":false,"_Rotation":0,"_Scale":1,"__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)"},"4527":{"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)"},"4528":{"style":{"__isSmartRef__":true,"id":4529},"chunkOwner":{"__isSmartRef__":true,"id":4526},"_id":"_11170","storedString":"stopped","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4529":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4530":{"morph":{"__isSmartRef__":true,"id":4526},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4531":{"submorphs":[],"scripts":[],"id":"6553D65D-D821-4102-BD21-F597B1283D3A","shape":{"__isSmartRef__":true,"id":4532},"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":4533},"textChunks":[{"__isSmartRef__":true,"id":4549}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4551},"_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":4411},"priorSelectionRange":[3,3],"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__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)"},"4532":{"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)"},"4533":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4534},{"__isSmartRef__":true,"id":4536},{"__isSmartRef__":true,"id":4538},{"__isSmartRef__":true,"id":4540},{"__isSmartRef__":true,"id":4542},{"__isSmartRef__":true,"id":4544},{"__isSmartRef__":true,"id":4546}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":4548},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4534":{"date":{"__isSmartRef__":true,"id":4535},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4535":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4536":{"date":{"__isSmartRef__":true,"id":4537},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4537":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4538":{"date":{"__isSmartRef__":true,"id":4539},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4539":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4540":{"date":{"__isSmartRef__":true,"id":4541},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4541":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4542":{"date":{"__isSmartRef__":true,"id":4543},"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"},"4543":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4544":{"date":{"__isSmartRef__":true,"id":4545},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4545":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4546":{"date":{"__isSmartRef__":true,"id":4547},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4547":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4548":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4549":{"style":{"__isSmartRef__":true,"id":4550},"morph":{"__isSmartRef__":true,"id":4531},"chunkOwner":{"__isSmartRef__":true,"id":4531},"storedString":"Steps:","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4550":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4551":{"morph":{"__isSmartRef__":true,"id":4531},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4552":{"submorphs":[],"scripts":[],"id":"EBC3B0E5-7768-43D9-92A0-75AA9B71C8F9","shape":{"__isSmartRef__":true,"id":4553},"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":4554},"textChunks":[{"__isSmartRef__":true,"id":4570}],"charsReplaced":"50","lastFindLoc":2,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4572},"_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":4411},"isInputLine":true,"_WordBreak":"break-all","_InputAllowed":true,"_HandStyle":null,"allowInput":true,"attributeConnections":[{"__isSmartRef__":true,"id":4573}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"50","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__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)"},"4553":{"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)"},"4554":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4555},{"__isSmartRef__":true,"id":4557},{"__isSmartRef__":true,"id":4559},{"__isSmartRef__":true,"id":4561},{"__isSmartRef__":true,"id":4563},{"__isSmartRef__":true,"id":4565},{"__isSmartRef__":true,"id":4567}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":4569},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4555":{"date":{"__isSmartRef__":true,"id":4556},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4556":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4557":{"date":{"__isSmartRef__":true,"id":4558},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4558":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4559":{"date":{"__isSmartRef__":true,"id":4560},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4560":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4561":{"date":{"__isSmartRef__":true,"id":4562},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4562":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4563":{"date":{"__isSmartRef__":true,"id":4564},"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"},"4564":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4565":{"date":{"__isSmartRef__":true,"id":4566},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4566":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4567":{"date":{"__isSmartRef__":true,"id":4568},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4568":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4569":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4570":{"style":{"__isSmartRef__":true,"id":4571},"morph":{"__isSmartRef__":true,"id":4552},"chunkOwner":{"__isSmartRef__":true,"id":4552},"storedString":"50","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4571":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4572":{"morph":{"__isSmartRef__":true,"id":4552},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4573":{"sourceObj":{"__isSmartRef__":true,"id":4552},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1516},"targetMethodName":"simStepsAtOnce","varMapping":{"__isSmartRef__":true,"id":4574},"converterString":"function converter(value) {\n return Number(value)\n}","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4574":{"source":{"__isSmartRef__":true,"id":4552},"target":{"__isSmartRef__":true,"id":1516}},"4575":{"submorphs":[],"scripts":[],"id":"58A0F8ED-8A21-46C8-BE4F-3D83815957F1","shape":{"__isSmartRef__":true,"id":4576},"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":4577},"textChunks":[{"__isSmartRef__":true,"id":4593}],"charsReplaced":"Steps","lastFindLoc":5,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4595},"_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":4411},"_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)"},"4576":{"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)"},"4577":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4578},{"__isSmartRef__":true,"id":4580},{"__isSmartRef__":true,"id":4582},{"__isSmartRef__":true,"id":4584},{"__isSmartRef__":true,"id":4586},{"__isSmartRef__":true,"id":4588},{"__isSmartRef__":true,"id":4590}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":4592},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4578":{"date":{"__isSmartRef__":true,"id":4579},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4579":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4580":{"date":{"__isSmartRef__":true,"id":4581},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4581":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4582":{"date":{"__isSmartRef__":true,"id":4583},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4583":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4584":{"date":{"__isSmartRef__":true,"id":4585},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4585":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4586":{"date":{"__isSmartRef__":true,"id":4587},"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"},"4587":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4588":{"date":{"__isSmartRef__":true,"id":4589},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4589":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4590":{"date":{"__isSmartRef__":true,"id":4591},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4591":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4592":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4593":{"style":{"__isSmartRef__":true,"id":4594},"morph":{"__isSmartRef__":true,"id":4575},"chunkOwner":{"__isSmartRef__":true,"id":4575},"storedString":"Time:","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4594":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4595":{"morph":{"__isSmartRef__":true,"id":4575},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4596":{"submorphs":[],"scripts":[],"id":"6E626760-6587-4CAD-9293-F6DC453C190B","shape":{"__isSmartRef__":true,"id":4597},"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":4598},"textChunks":[{"__isSmartRef__":true,"id":4614}],"charsReplaced":"0.2","lastFindLoc":3,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4616},"_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":4411},"isInputLine":true,"_WordBreak":"break-all","_InputAllowed":true,"_HandStyle":null,"allowInput":true,"attributeConnections":[{"__isSmartRef__":true,"id":4617}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"0.1","_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__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)"},"4597":{"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)"},"4598":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4599},{"__isSmartRef__":true,"id":4601},{"__isSmartRef__":true,"id":4603},{"__isSmartRef__":true,"id":4605},{"__isSmartRef__":true,"id":4607},{"__isSmartRef__":true,"id":4609},{"__isSmartRef__":true,"id":4611}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":4613},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4599":{"date":{"__isSmartRef__":true,"id":4600},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4600":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4601":{"date":{"__isSmartRef__":true,"id":4602},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4602":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4603":{"date":{"__isSmartRef__":true,"id":4604},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4604":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4605":{"date":{"__isSmartRef__":true,"id":4606},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4606":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4607":{"date":{"__isSmartRef__":true,"id":4608},"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"},"4608":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4609":{"date":{"__isSmartRef__":true,"id":4610},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4610":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4611":{"date":{"__isSmartRef__":true,"id":4612},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4612":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4613":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4614":{"style":{"__isSmartRef__":true,"id":4615},"morph":{"__isSmartRef__":true,"id":4596},"chunkOwner":{"__isSmartRef__":true,"id":4596},"storedString":"0.1","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4615":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4616":{"morph":{"__isSmartRef__":true,"id":4596},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4617":{"sourceObj":{"__isSmartRef__":true,"id":4596},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1516},"targetMethodName":"deltaTime","varMapping":{"__isSmartRef__":true,"id":4618},"converterString":"function converter(value) {\n return Number(value)\n}","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4618":{"source":{"__isSmartRef__":true,"id":4596},"target":{"__isSmartRef__":true,"id":1516}},"4619":{"_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)"},"4620":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":4621},{"__isSmartRef__":true,"id":4623},{"__isSmartRef__":true,"id":4625},{"__isSmartRef__":true,"id":4627},{"__isSmartRef__":true,"id":4629},{"__isSmartRef__":true,"id":4631},{"__isSmartRef__":true,"id":4633},{"__isSmartRef__":true,"id":4635},{"__isSmartRef__":true,"id":4637},{"__isSmartRef__":true,"id":4639},{"__isSmartRef__":true,"id":4641},{"__isSmartRef__":true,"id":4643},{"__isSmartRef__":true,"id":4645},{"__isSmartRef__":true,"id":4647},{"__isSmartRef__":true,"id":4649},{"__isSmartRef__":true,"id":4651}],"lastModifiedDate":{"__isSmartRef__":true,"id":4653},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4621":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":4622}},"4622":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"4623":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":4624}},"4624":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"4625":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":4626}},"4626":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"4627":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":4628}},"4628":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"4629":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":4630}},"4630":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"4631":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":4632}},"4632":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"4633":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":4634}},"4634":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"4635":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":4636}},"4636":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"4637":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":4638}},"4638":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"4639":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":4640}},"4640":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"4641":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":4642}},"4642":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"4643":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":4644}},"4644":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"4645":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":4646}},"4646":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"4647":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":4648}},"4648":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"4649":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":4650}},"4650":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"4651":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":4652}},"4652":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"4653":{"isSerializedDate":true,"string":"Thu Aug 15 2013 21:21:30 GMT+0200 (CEST)"},"4654":{"morph":{"__isSmartRef__":true,"id":4411},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4655":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4656}},"4656":{"test01IsMorph":{"__isSmartRef__":true,"id":4657}},"4657":{"varMapping":{"__isSmartRef__":true,"id":4658},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":4659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4658":{"this":{"__isSmartRef__":true,"id":4655}},"4659":{},"4660":{"onStart":{"__isSmartRef__":true,"id":4661},"onStop":{"__isSmartRef__":true,"id":4665},"updateVelocity":{"__isSmartRef__":true,"id":4669},"countSteps":{"__isSmartRef__":true,"id":4673},"onStep":{"__isSmartRef__":true,"id":4677}},"4661":{"varMapping":{"__isSmartRef__":true,"id":4662},"source":"function onStart() {\n this.updateVelocity()\n}","funcProperties":{"__isSmartRef__":true,"id":4663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4662":{"this":{"__isSmartRef__":true,"id":4411}},"4663":{"timestamp":{"__isSmartRef__":true,"id":4664},"user":"jenslincke","tags":[]},"4664":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:54:10 GMT+0100 (CET)"},"4665":{"varMapping":{"__isSmartRef__":true,"id":4666},"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":4667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4666":{"this":{"__isSmartRef__":true,"id":4411}},"4667":{"timestamp":{"__isSmartRef__":true,"id":4668},"user":"jenslincke","tags":[]},"4668":{"isSerializedDate":true,"string":"Fri Jan 24 2014 22:27:05 GMT+0100 (CET)"},"4669":{"varMapping":{"__isSmartRef__":true,"id":4670},"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":4671},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4670":{"this":{"__isSmartRef__":true,"id":4411}},"4671":{"timestamp":{"__isSmartRef__":true,"id":4672},"user":"jenslincke","tags":[]},"4672":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:59:39 GMT+0100 (CET)"},"4673":{"varMapping":{"__isSmartRef__":true,"id":4674},"source":"function countSteps() {\n this.steps ++\n var stepsPerSec = this.steps / (Date.now() - this.startTime) * 1000,\n simStepsPerSec = this.steps * this.owner.simStepsAtOnce / (Date.now() - this.startTime) * 1000\n this.get(\"Status\").textString =\"running\\n\" + this.steps + \" frames \\n\" + stepsPerSec.roundTo(0.1) + \" fps\\n\" +\n simStepsPerSec.roundTo(0.1) + \" steps/s\"\n\n\n this.get(\"SimulationResults\").showData()\n}","funcProperties":{"__isSmartRef__":true,"id":4675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4674":{"this":{"__isSmartRef__":true,"id":4411}},"4675":{"timestamp":{"__isSmartRef__":true,"id":4676},"user":"jenslincke","tags":[]},"4676":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:44:32 GMT+0100 (CET)"},"4677":{"varMapping":{"__isSmartRef__":true,"id":4678},"source":"function onStep() {\n this.owner.resetStatus()\n this.owner.simulateOneStep()\n this.get(\"SimulationResults\").showData()\n \n}","funcProperties":{"__isSmartRef__":true,"id":4679},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4678":{"this":{"__isSmartRef__":true,"id":4411}},"4679":{"timestamp":{"__isSmartRef__":true,"id":4680},"user":"jenslincke","tags":[]},"4680":{"isSerializedDate":true,"string":"Tue Jan 28 2014 14:37:50 GMT+0100 (CET)"},"4681":{"submorphs":[{"__isSmartRef__":true,"id":4682},{"__isSmartRef__":true,"id":4706},{"__isSmartRef__":true,"id":4883},{"__isSmartRef__":true,"id":4905}],"scripts":[],"id":"1333BEC5-C3E6-4A43-85C8-E0D4C2AB5DD6","shape":{"__isSmartRef__":true,"id":4929},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":4930},"eventHandler":{"__isSmartRef__":true,"id":4990},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":4991},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":4996},{"__isSmartRef__":true,"id":4997},{"__isSmartRef__":true,"id":4998},{"__isSmartRef__":true,"id":4999},{"__isSmartRef__":true,"id":5000},{"__isSmartRef__":true,"id":5001},{"__isSmartRef__":true,"id":5002},{"__isSmartRef__":true,"id":5003}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":5004},"$":{"__isSmartRef__":true,"id":5005},"name":"ElectricConsumer","attributeConnections":[{"__isSmartRef__":true,"id":5006}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":5008},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":5009},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5012},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(1396.4,352.4)"},"4682":{"submorphs":[],"scripts":[],"id":"A4A28463-72F5-4D4D-AF1A-06CA03942AF6","shape":{"__isSmartRef__":true,"id":4683},"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":4684},"textChunks":[{"__isSmartRef__":true,"id":4686}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":4688},{"__isSmartRef__":true,"id":4689}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":4690},"owner":{"__isSmartRef__":true,"id":4681},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":4681},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4691},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"4683":{"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)"},"4684":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":4685},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4685":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"4686":{"style":{"__isSmartRef__":true,"id":4687},"chunkOwner":{"__isSmartRef__":true,"id":4682},"_id":"_5567","storedString":"ElectricConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4687":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4688":{"sourceObj":{"__isSmartRef__":true,"id":4682},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":4682},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4689":{"sourceObj":{"__isSmartRef__":true,"id":4682},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":4682},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4690":{"morph":{"__isSmartRef__":true,"id":4682},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4691":{"updateLabel":{"__isSmartRef__":true,"id":4692},"renameOwner":{"__isSmartRef__":true,"id":4695},"onFocus":{"__isSmartRef__":true,"id":4698}},"4692":{"varMapping":{"__isSmartRef__":true,"id":4693},"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":4694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4693":{"this":{"__isSmartRef__":true,"id":4682}},"4694":{},"4695":{"varMapping":{"__isSmartRef__":true,"id":4696},"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":4697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4696":{"this":{"__isSmartRef__":true,"id":4682}},"4697":{},"4698":{"varMapping":{"__isSmartRef__":true,"id":4699},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":4704},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4699":{"this":{"__isSmartRef__":true,"id":4682},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4700}},"4700":{"$super":{"__isSmartRef__":true,"id":4701}},"4701":{"varMapping":{"__isSmartRef__":true,"id":4702},"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":4703},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4702":{"obj":{"__isSmartRef__":true,"id":4682},"name":"onFocus"},"4703":{},"4704":{"timestamp":{"__isSmartRef__":true,"id":4705},"user":"jenslincke","tags":[]},"4705":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"4706":{"submorphs":[],"scripts":[],"id":"6B0C49CD-BB3B-49A2-963F-9EBEE96E4CF6","shape":{"__isSmartRef__":true,"id":4707},"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":4708},"textChunks":[{"__isSmartRef__":true,"id":4724},{"__isSmartRef__":true,"id":4726},{"__isSmartRef__":true,"id":4728},{"__isSmartRef__":true,"id":4730},{"__isSmartRef__":true,"id":4732},{"__isSmartRef__":true,"id":4734},{"__isSmartRef__":true,"id":4736},{"__isSmartRef__":true,"id":4738},{"__isSmartRef__":true,"id":4740},{"__isSmartRef__":true,"id":4742},{"__isSmartRef__":true,"id":4744},{"__isSmartRef__":true,"id":4746},{"__isSmartRef__":true,"id":4748},{"__isSmartRef__":true,"id":4750},{"__isSmartRef__":true,"id":4752},{"__isSmartRef__":true,"id":4754},{"__isSmartRef__":true,"id":4756},{"__isSmartRef__":true,"id":4758},{"__isSmartRef__":true,"id":4760},{"__isSmartRef__":true,"id":4763},{"__isSmartRef__":true,"id":4765},{"__isSmartRef__":true,"id":4767},{"__isSmartRef__":true,"id":4769},{"__isSmartRef__":true,"id":4771},{"__isSmartRef__":true,"id":4773},{"__isSmartRef__":true,"id":4775},{"__isSmartRef__":true,"id":4778},{"__isSmartRef__":true,"id":4780},{"__isSmartRef__":true,"id":4782},{"__isSmartRef__":true,"id":4784},{"__isSmartRef__":true,"id":4786},{"__isSmartRef__":true,"id":4788},{"__isSmartRef__":true,"id":4790},{"__isSmartRef__":true,"id":4792},{"__isSmartRef__":true,"id":4794},{"__isSmartRef__":true,"id":4796},{"__isSmartRef__":true,"id":4798},{"__isSmartRef__":true,"id":4800},{"__isSmartRef__":true,"id":4802},{"__isSmartRef__":true,"id":4804},{"__isSmartRef__":true,"id":4806},{"__isSmartRef__":true,"id":4808},{"__isSmartRef__":true,"id":4810},{"__isSmartRef__":true,"id":4812},{"__isSmartRef__":true,"id":4814},{"__isSmartRef__":true,"id":4816},{"__isSmartRef__":true,"id":4818}],"charsReplaced":" ","lastFindLoc":409,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4820},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":4821},{"__isSmartRef__":true,"id":4822},{"__isSmartRef__":true,"id":4823},{"__isSmartRef__":true,"id":4824},{"__isSmartRef__":true,"id":4825},{"__isSmartRef__":true,"id":4826},{"__isSmartRef__":true,"id":4827},{"__isSmartRef__":true,"id":4828}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":4829},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":4681},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":4830},{"__isSmartRef__":true,"id":4832}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":78,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[301,301],"__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":4834},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"4707":{"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(396.1,147.2)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4708":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4709},{"__isSmartRef__":true,"id":4711},{"__isSmartRef__":true,"id":4713},{"__isSmartRef__":true,"id":4715},{"__isSmartRef__":true,"id":4717},{"__isSmartRef__":true,"id":4719},{"__isSmartRef__":true,"id":4721}],"lastModifiedDate":{"__isSmartRef__":true,"id":4723},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4709":{"date":{"__isSmartRef__":true,"id":4710},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4710":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4711":{"date":{"__isSmartRef__":true,"id":4712},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4712":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4713":{"date":{"__isSmartRef__":true,"id":4714},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4714":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4715":{"date":{"__isSmartRef__":true,"id":4716},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4716":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4717":{"date":{"__isSmartRef__":true,"id":4718},"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"},"4718":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4719":{"date":{"__isSmartRef__":true,"id":4720},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4720":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4721":{"date":{"__isSmartRef__":true,"id":4722},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4722":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4723":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4724":{"style":{"__isSmartRef__":true,"id":4725},"chunkOwner":{"__isSmartRef__":true,"id":4706},"_id":"_16","storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4725":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"4726":{"_id":"_396","style":{"__isSmartRef__":true,"id":4727},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":".Demand += (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4727":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4728":{"_id":"_374","style":{"__isSmartRef__":true,"id":4729},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Math","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4729":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(255,20,147)"},"4730":{"_id":"_375","style":{"__isSmartRef__":true,"id":4731},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":".random() - ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4731":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4732":{"_id":"_376","style":{"__isSmartRef__":true,"id":4733},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"0.5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4733":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"4734":{"_id":"_377","style":{"__isSmartRef__":true,"id":4735},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":") * ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4735":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4736":{"_id":"_378","style":{"__isSmartRef__":true,"id":4737},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"0.01","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4737":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"4738":{"_id":"_379","style":{"__isSmartRef__":true,"id":4739},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4739":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4740":{"_id":"_428","style":{"__isSmartRef__":true,"id":4741},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4741":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"4742":{"_id":"_380","style":{"__isSmartRef__":true,"id":4743},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4743":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"4744":{"_id":"_381","style":{"__isSmartRef__":true,"id":4745},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" delta =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4745":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4746":{"_id":"_420","style":{"__isSmartRef__":true,"id":4747},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4747":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"4748":{"_id":"_421","style":{"__isSmartRef__":true,"id":4749},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Demand","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4749":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4750":{"_id":"_419","style":{"__isSmartRef__":true,"id":4751},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" *","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4751":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4752":{"_id":"_429","style":{"__isSmartRef__":true,"id":4753},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4753":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"4754":{"_id":"_382","style":{"__isSmartRef__":true,"id":4755},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4755":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"4756":{"_id":"_383","style":{"__isSmartRef__":true,"id":4757},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" (","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4757":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4758":{"_id":"_409","style":{"__isSmartRef__":true,"id":4759},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4759":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4760":{"_id":"_411","style":{"__isSmartRef__":true,"id":4761},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4761":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":4762},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4762":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":4681}},"4763":{"_id":"_410","style":{"__isSmartRef__":true,"id":4764},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4764":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"4765":{"_id":"_412","style":{"__isSmartRef__":true,"id":4766},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4766":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4767":{"_id":"_413","style":{"__isSmartRef__":true,"id":4768},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" > delta) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4768":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4769":{"_id":"_384","style":{"__isSmartRef__":true,"id":4770},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4770":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"4771":{"_id":"_385","style":{"__isSmartRef__":true,"id":4772},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4772":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4773":{"_id":"_414","style":{"__isSmartRef__":true,"id":4774},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4774":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4775":{"_id":"_416","style":{"__isSmartRef__":true,"id":4776},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4776":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":4777},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4777":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":4681}},"4778":{"_id":"_415","style":{"__isSmartRef__":true,"id":4779},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4779":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"4780":{"_id":"_417","style":{"__isSmartRef__":true,"id":4781},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4781":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4782":{"_id":"_418","style":{"__isSmartRef__":true,"id":4783},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" -= delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4783":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4784":{"_id":"_423","style":{"__isSmartRef__":true,"id":4785},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4785":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"4786":{"_id":"_424","style":{"__isSmartRef__":true,"id":4787},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Consumed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4787":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4788":{"_id":"_422","style":{"__isSmartRef__":true,"id":4789},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" += delta\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4789":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4790":{"_id":"_386","style":{"__isSmartRef__":true,"id":4791},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4791":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"4792":{"_id":"_387","style":{"__isSmartRef__":true,"id":4793},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4793":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4794":{"_id":"_388","style":{"__isSmartRef__":true,"id":4795},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"else","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4795":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"4796":{"_id":"_389","style":{"__isSmartRef__":true,"id":4797},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4797":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4798":{"_id":"_390","style":{"__isSmartRef__":true,"id":4799},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4799":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"4800":{"_id":"_391","style":{"__isSmartRef__":true,"id":4801},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4801":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4802":{"_id":"_426","style":{"__isSmartRef__":true,"id":4803},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4803":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"4804":{"_id":"_427","style":{"__isSmartRef__":true,"id":4805},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"Extra","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4805":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"4806":{"_id":"_425","style":{"__isSmartRef__":true,"id":4807},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":" += delta\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4807":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4808":{"_id":"_407","style":{"__isSmartRef__":true,"id":4809},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"problem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4809":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"4810":{"_id":"_408","style":{"__isSmartRef__":true,"id":4811},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4811":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4812":{"_id":"_392","style":{"__isSmartRef__":true,"id":4813},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"\"EngeryToLow\"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4813":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,128)"},"4814":{"_id":"_393","style":{"__isSmartRef__":true,"id":4815},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4815":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4816":{"_id":"_394","style":{"__isSmartRef__":true,"id":4817},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4817":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"4818":{"_id":"_395","style":{"__isSmartRef__":true,"id":4819},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4819":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"4820":{"morph":{"__isSmartRef__":true,"id":4706},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4821":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4822":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4823":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4824":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4825":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4826":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4827":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4828":{"morph":{"__isSmartRef__":true,"id":4706},"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)"},"4829":{"resizeWidth":true,"resizeHeight":true},"4830":{"sourceObj":{"__isSmartRef__":true,"id":4706},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":4681},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":4831},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4831":{"source":{"__isSmartRef__":true,"id":4706},"target":{"__isSmartRef__":true,"id":4681}},"4832":{"sourceObj":{"__isSmartRef__":true,"id":4706},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":4706},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":4833},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4833":{"source":{"__isSmartRef__":true,"id":4706},"target":{"__isSmartRef__":true,"id":4706}},"4834":{"boundEval":{"__isSmartRef__":true,"id":4835},"getDoitContext":{"__isSmartRef__":true,"id":4843},"installLayers":{"__isSmartRef__":true,"id":4851},"onLoad":{"__isSmartRef__":true,"id":4855},"highligtScriptNames":{"__isSmartRef__":true,"id":4859},"getAutoCompletion":{"__isSmartRef__":true,"id":4863},"reset":{"__isSmartRef__":true,"id":4871},"getLastWordRange":{"__isSmartRef__":true,"id":4875}},"4835":{"varMapping":{"__isSmartRef__":true,"id":4836},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4841},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4836":{"this":{"__isSmartRef__":true,"id":4706},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4837}},"4837":{"$super":{"__isSmartRef__":true,"id":4838}},"4838":{"varMapping":{"__isSmartRef__":true,"id":4839},"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":4840},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4839":{"obj":{"__isSmartRef__":true,"id":4706},"name":"boundEval"},"4840":{},"4841":{"timestamp":{"__isSmartRef__":true,"id":4842},"user":"jenslincke","tags":[]},"4842":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"4843":{"varMapping":{"__isSmartRef__":true,"id":4844},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":4849},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4844":{"this":{"__isSmartRef__":true,"id":4706},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4845}},"4845":{"$super":{"__isSmartRef__":true,"id":4846}},"4846":{"varMapping":{"__isSmartRef__":true,"id":4847},"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":4848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4847":{"obj":{"__isSmartRef__":true,"id":4706},"name":"getDoitContext"},"4848":{},"4849":{"timestamp":{"__isSmartRef__":true,"id":4850},"user":"jenslincke","tags":[]},"4850":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"4851":{"varMapping":{"__isSmartRef__":true,"id":4852},"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":4853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4852":{"this":{"__isSmartRef__":true,"id":4706}},"4853":{"timestamp":{"__isSmartRef__":true,"id":4854},"user":"jenslincke","tags":[]},"4854":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"4855":{"varMapping":{"__isSmartRef__":true,"id":4856},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":4857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4856":{"this":{"__isSmartRef__":true,"id":4706}},"4857":{"timestamp":{"__isSmartRef__":true,"id":4858},"user":"jenslincke","tags":[]},"4858":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"4859":{"varMapping":{"__isSmartRef__":true,"id":4860},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":4861},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4860":{"this":{"__isSmartRef__":true,"id":4706}},"4861":{"timestamp":{"__isSmartRef__":true,"id":4862},"user":"jenslincke","tags":[]},"4862":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"4863":{"varMapping":{"__isSmartRef__":true,"id":4864},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":4869},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4864":{"this":{"__isSmartRef__":true,"id":4706},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4865}},"4865":{"$super":{"__isSmartRef__":true,"id":4866}},"4866":{"varMapping":{"__isSmartRef__":true,"id":4867},"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":4868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4867":{"obj":{"__isSmartRef__":true,"id":4706},"name":"getAutoCompletion"},"4868":{},"4869":{"timestamp":{"__isSmartRef__":true,"id":4870},"user":"jenslincke","tags":[]},"4870":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"4871":{"varMapping":{"__isSmartRef__":true,"id":4872},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":4873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4872":{"this":{"__isSmartRef__":true,"id":4706}},"4873":{"timestamp":{"__isSmartRef__":true,"id":4874},"user":"jenslincke","tags":[]},"4874":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"4875":{"varMapping":{"__isSmartRef__":true,"id":4876},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":4881},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4876":{"this":{"__isSmartRef__":true,"id":4706},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4877}},"4877":{"$super":{"__isSmartRef__":true,"id":4878}},"4878":{"varMapping":{"__isSmartRef__":true,"id":4879},"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":4880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4879":{"obj":{"__isSmartRef__":true,"id":4706},"name":"getLastWordRange"},"4880":{},"4881":{"timestamp":{"__isSmartRef__":true,"id":4882},"user":"jenslincke","tags":[]},"4882":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"4883":{"submorphs":[],"scripts":[],"id":"3906791B-AC62-4F73-B484-F7D1749C2CF5","shape":{"__isSmartRef__":true,"id":4884},"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":4885},"textChunks":[{"__isSmartRef__":true,"id":4901}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4903},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":4681},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":4904},"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(0,0,0)"},"4884":{"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.2,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4885":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4886},{"__isSmartRef__":true,"id":4888},{"__isSmartRef__":true,"id":4890},{"__isSmartRef__":true,"id":4892},{"__isSmartRef__":true,"id":4894},{"__isSmartRef__":true,"id":4896},{"__isSmartRef__":true,"id":4898}],"lastModifiedDate":{"__isSmartRef__":true,"id":4900},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4886":{"date":{"__isSmartRef__":true,"id":4887},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4887":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4888":{"date":{"__isSmartRef__":true,"id":4889},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4889":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4890":{"date":{"__isSmartRef__":true,"id":4891},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4891":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4892":{"date":{"__isSmartRef__":true,"id":4893},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4893":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4894":{"date":{"__isSmartRef__":true,"id":4895},"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"},"4895":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4896":{"date":{"__isSmartRef__":true,"id":4897},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4897":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4898":{"date":{"__isSmartRef__":true,"id":4899},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4899":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4900":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4901":{"style":{"__isSmartRef__":true,"id":4902},"chunkOwner":{"__isSmartRef__":true,"id":4883},"_id":"_11224","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4902":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4903":{"morph":{"__isSmartRef__":true,"id":4883},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4904":{"moveVertical":true,"resizeWidth":true},"4905":{"submorphs":[],"scripts":[],"id":"43ED00FA-7F58-4EC0-B415-844A99B2F484","shape":{"__isSmartRef__":true,"id":4906},"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":4907},"textChunks":[{"__isSmartRef__":true,"id":4923}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":4925},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":4681},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":4926}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":4928},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"4906":{"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(381.7,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"4907":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":4908},{"__isSmartRef__":true,"id":4910},{"__isSmartRef__":true,"id":4912},{"__isSmartRef__":true,"id":4914},{"__isSmartRef__":true,"id":4916},{"__isSmartRef__":true,"id":4918},{"__isSmartRef__":true,"id":4920}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":4922},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4908":{"date":{"__isSmartRef__":true,"id":4909},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"4909":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"4910":{"date":{"__isSmartRef__":true,"id":4911},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"4911":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"4912":{"date":{"__isSmartRef__":true,"id":4913},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"4913":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"4914":{"date":{"__isSmartRef__":true,"id":4915},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"4915":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"4916":{"date":{"__isSmartRef__":true,"id":4917},"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"},"4917":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"4918":{"date":{"__isSmartRef__":true,"id":4919},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"4919":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"4920":{"date":{"__isSmartRef__":true,"id":4921},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"4921":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"4922":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"4923":{"style":{"__isSmartRef__":true,"id":4924},"chunkOwner":{"__isSmartRef__":true,"id":4905},"_id":"_11199","storedString":"Consumed: 0\nDemand: 1.5\nExtra: 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4924":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4925":{"morph":{"__isSmartRef__":true,"id":4905},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4926":{"sourceObj":{"__isSmartRef__":true,"id":4905},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":4681},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":4927},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"4927":{"source":{"__isSmartRef__":true,"id":4905},"target":{"__isSmartRef__":true,"id":4681}},"4928":{"resizeWidth":true},"4929":{"_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)"},"4930":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":4931},{"__isSmartRef__":true,"id":4933},{"__isSmartRef__":true,"id":4935},{"__isSmartRef__":true,"id":4937},{"__isSmartRef__":true,"id":4939},{"__isSmartRef__":true,"id":4941},{"__isSmartRef__":true,"id":4943},{"__isSmartRef__":true,"id":4945},{"__isSmartRef__":true,"id":4947},{"__isSmartRef__":true,"id":4949},{"__isSmartRef__":true,"id":4951},{"__isSmartRef__":true,"id":4953},{"__isSmartRef__":true,"id":4955},{"__isSmartRef__":true,"id":4957},{"__isSmartRef__":true,"id":4959},{"__isSmartRef__":true,"id":4961},{"__isSmartRef__":true,"id":4963},{"__isSmartRef__":true,"id":4965},{"__isSmartRef__":true,"id":4967},{"__isSmartRef__":true,"id":4969},{"__isSmartRef__":true,"id":4971},{"__isSmartRef__":true,"id":4973},{"__isSmartRef__":true,"id":4975},{"__isSmartRef__":true,"id":4977},{"__isSmartRef__":true,"id":4979},{"__isSmartRef__":true,"id":4981},{"__isSmartRef__":true,"id":4983},{"__isSmartRef__":true,"id":4985},{"__isSmartRef__":true,"id":4987}],"lastModifiedDate":{"__isSmartRef__":true,"id":4989},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"4931":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":4932}},"4932":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"4933":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":4934}},"4934":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"4935":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":4936}},"4936":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"4937":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":4938}},"4938":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"4939":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":4940}},"4940":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"4941":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":4942}},"4942":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"4943":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":4944}},"4944":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"4945":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":4946}},"4946":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"4947":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":4948}},"4948":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"4949":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":4950}},"4950":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"4951":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":4952}},"4952":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"4953":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":4954}},"4954":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"4955":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":4956}},"4956":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"4957":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":4958}},"4958":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"4959":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":4960}},"4960":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"4961":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":4962}},"4962":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"4963":{"date":{"__isSmartRef__":true,"id":4964},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"4964":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"4965":{"date":{"__isSmartRef__":true,"id":4966},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"4966":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"4967":{"date":{"__isSmartRef__":true,"id":4968},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"4968":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"4969":{"date":{"__isSmartRef__":true,"id":4970},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"4970":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"4971":{"date":{"__isSmartRef__":true,"id":4972},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"4972":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"4973":{"date":{"__isSmartRef__":true,"id":4974},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"4974":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"4975":{"date":{"__isSmartRef__":true,"id":4976},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"4976":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"4977":{"date":{"__isSmartRef__":true,"id":4978},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"4978":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"4979":{"date":{"__isSmartRef__":true,"id":4980},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"4980":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"4981":{"date":{"__isSmartRef__":true,"id":4982},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"4982":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"4983":{"date":{"__isSmartRef__":true,"id":4984},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"4984":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"4985":{"date":{"__isSmartRef__":true,"id":4986},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"4986":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"4987":{"date":{"__isSmartRef__":true,"id":4988},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"4988":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"4989":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"4990":{"morph":{"__isSmartRef__":true,"id":4681},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4991":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4992}},"4992":{"test01IsMorph":{"__isSmartRef__":true,"id":4993}},"4993":{"varMapping":{"__isSmartRef__":true,"id":4994},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":4995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4994":{"this":{"__isSmartRef__":true,"id":4991}},"4995":{},"4996":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"4997":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"4998":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"4999":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"5000":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"5001":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"5002":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"5003":{"morph":{"__isSmartRef__":true,"id":4681},"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)"},"5004":{"adjustForNewBounds":true},"5005":{"Consumed":0,"Demand":1.5,"Extra":0},"5006":{"sourceObj":{"__isSmartRef__":true,"id":4681},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":4682},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":5007},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5007":{"source":{"__isSmartRef__":true,"id":4681},"target":{"__isSmartRef__":true,"id":4682}},"5008":{},"5009":{"referencedBy":{"__isSmartRef__":true,"id":5010},"references":{"__isSmartRef__":true,"id":5011}},"5010":{},"5011":{},"5012":{"migrateFrom":{"__isSmartRef__":true,"id":5013},"parsePropeties":{"__isSmartRef__":true,"id":5017},"printProperties":{"__isSmartRef__":true,"id":5021},"parseSimulationSource":{"__isSmartRef__":true,"id":5025},"simulateStep":{"__isSmartRef__":true,"id":5029},"showError":{"__isSmartRef__":true,"id":5032},"throwSimulationProblem":{"__isSmartRef__":true,"id":5036},"updateUI":{"__isSmartRef__":true,"id":5040},"resetStatus":{"__isSmartRef__":true,"id":5044},"simulateOneStep":{"__isSmartRef__":true,"id":5048},"reset":{"__isSmartRef__":true,"id":5052},"resetScriptAnalysis":{"__isSmartRef__":true,"id":5056},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":5060},"logReference":{"__isSmartRef__":true,"id":5064},"showScriptAnalysis":{"__isSmartRef__":true,"id":5068},"showReferenceTo":{"__isSmartRef__":true,"id":5072},"resetSourceHighlighting":{"__isSmartRef__":true,"id":5076},"showNameReference":{"__isSmartRef__":true,"id":5080}},"5013":{"varMapping":{"__isSmartRef__":true,"id":5014},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":5015},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5014":{"this":{"__isSmartRef__":true,"id":4681}},"5015":{"timestamp":{"__isSmartRef__":true,"id":5016},"user":"jenslincke","tags":[]},"5016":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"5017":{"varMapping":{"__isSmartRef__":true,"id":5018},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":5019},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5018":{"this":{"__isSmartRef__":true,"id":4681}},"5019":{"timestamp":{"__isSmartRef__":true,"id":5020},"user":"jenslincke","tags":[]},"5020":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"5021":{"varMapping":{"__isSmartRef__":true,"id":5022},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":5023},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5022":{"this":{"__isSmartRef__":true,"id":4681}},"5023":{"timestamp":{"__isSmartRef__":true,"id":5024},"user":"jenslincke","tags":[]},"5024":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"5025":{"varMapping":{"__isSmartRef__":true,"id":5026},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":5027},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5026":{"this":{"__isSmartRef__":true,"id":4681}},"5027":{"timestamp":{"__isSmartRef__":true,"id":5028},"user":"jenslincke","tags":[]},"5028":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"5029":{"varMapping":{"__isSmartRef__":true,"id":5030},"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":5031},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5030":{"this":{"__isSmartRef__":true,"id":4681}},"5031":{},"5032":{"varMapping":{"__isSmartRef__":true,"id":5033},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":5034},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5033":{"this":{"__isSmartRef__":true,"id":4681}},"5034":{"timestamp":{"__isSmartRef__":true,"id":5035},"user":"jenslincke","tags":[]},"5035":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"5036":{"varMapping":{"__isSmartRef__":true,"id":5037},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":5038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5037":{"this":{"__isSmartRef__":true,"id":4681}},"5038":{"timestamp":{"__isSmartRef__":true,"id":5039},"user":"jenslincke","tags":[]},"5039":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"5040":{"varMapping":{"__isSmartRef__":true,"id":5041},"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":5042},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5041":{"this":{"__isSmartRef__":true,"id":4681}},"5042":{"timestamp":{"__isSmartRef__":true,"id":5043},"user":"jenslincke","tags":[]},"5043":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"5044":{"varMapping":{"__isSmartRef__":true,"id":5045},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":5046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5045":{"this":{"__isSmartRef__":true,"id":4681}},"5046":{"timestamp":{"__isSmartRef__":true,"id":5047},"user":"jenslincke","tags":[]},"5047":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"5048":{"varMapping":{"__isSmartRef__":true,"id":5049},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5050},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5049":{"this":{"__isSmartRef__":true,"id":4681}},"5050":{"timestamp":{"__isSmartRef__":true,"id":5051},"user":"jenslincke","tags":[]},"5051":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"5052":{"varMapping":{"__isSmartRef__":true,"id":5053},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":5054},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5053":{"this":{"__isSmartRef__":true,"id":4681}},"5054":{"timestamp":{"__isSmartRef__":true,"id":5055},"user":"jenslincke","tags":[]},"5055":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"5056":{"varMapping":{"__isSmartRef__":true,"id":5057},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":5058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5057":{"this":{"__isSmartRef__":true,"id":4681}},"5058":{"timestamp":{"__isSmartRef__":true,"id":5059},"user":"jenslincke","tags":[]},"5059":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"5060":{"varMapping":{"__isSmartRef__":true,"id":5061},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":5062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5061":{"this":{"__isSmartRef__":true,"id":4681}},"5062":{"timestamp":{"__isSmartRef__":true,"id":5063},"user":"jenslincke","tags":[]},"5063":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"5064":{"varMapping":{"__isSmartRef__":true,"id":5065},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":5066},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5065":{"this":{"__isSmartRef__":true,"id":4681}},"5066":{"timestamp":{"__isSmartRef__":true,"id":5067},"user":"jenslincke","tags":[]},"5067":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"5068":{"varMapping":{"__isSmartRef__":true,"id":5069},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":5070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5069":{"this":{"__isSmartRef__":true,"id":4681}},"5070":{"timestamp":{"__isSmartRef__":true,"id":5071},"user":"jenslincke","tags":[]},"5071":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"5072":{"varMapping":{"__isSmartRef__":true,"id":5073},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5074},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5073":{"this":{"__isSmartRef__":true,"id":4681}},"5074":{"timestamp":{"__isSmartRef__":true,"id":5075},"user":"jenslincke","tags":[]},"5075":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"5076":{"varMapping":{"__isSmartRef__":true,"id":5077},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":5078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5077":{"this":{"__isSmartRef__":true,"id":4681}},"5078":{"timestamp":{"__isSmartRef__":true,"id":5079},"user":"jenslincke","tags":[]},"5079":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"5080":{"varMapping":{"__isSmartRef__":true,"id":5081},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":5082},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5081":{"this":{"__isSmartRef__":true,"id":4681}},"5082":{"timestamp":{"__isSmartRef__":true,"id":5083},"user":"jenslincke","tags":[]},"5083":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"5084":{"submorphs":[{"__isSmartRef__":true,"id":5085},{"__isSmartRef__":true,"id":5109},{"__isSmartRef__":true,"id":5398},{"__isSmartRef__":true,"id":5420}],"scripts":[],"id":"2594256E-78F8-49F2-8433-0673979C9CD8","shape":{"__isSmartRef__":true,"id":5444},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":5445},"eventHandler":{"__isSmartRef__":true,"id":5505},"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","BB62D9DB-5F5D-46D1-B13F-ECC2CFA93FFA","13370CD2-1232-4E30-9AB6-D43A7241AB79"],"partTests":{"__isSmartRef__":true,"id":5506},"_ClipMode":"visible","moved":true,"isBeingDragged":false,"isCopyMorphRef":true,"morphRefId":1,"magnets":[{"__isSmartRef__":true,"id":5511},{"__isSmartRef__":true,"id":5512},{"__isSmartRef__":true,"id":5513},{"__isSmartRef__":true,"id":5514},{"__isSmartRef__":true,"id":5515},{"__isSmartRef__":true,"id":5516},{"__isSmartRef__":true,"id":5517},{"__isSmartRef__":true,"id":5518}],"prevScroll":[0,0],"isEnergySimulationPart":true,"layout":{"__isSmartRef__":true,"id":5519},"$":{"__isSmartRef__":true,"id":5520},"name":"MeasureData","attributeConnections":[{"__isSmartRef__":true,"id":5521}],"doNotSerialize":["$$name"],"doNotCopyProperties":["$$name"],"units":{"__isSmartRef__":true,"id":5523},"_Rotation":0,"_Scale":1,"scriptAnalysis":{"__isSmartRef__":true,"id":5524},"lastNameReference":null,"owner":{"__isSmartRef__":true,"id":1516},"__serializedExpressions__":["distanceToDragEvent","_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5527},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","distanceToDragEvent":"lively.pt(386.6,-15.1)","_Position":"lively.pt(1254.7,787.1)"},"5085":{"submorphs":[],"scripts":[],"id":"F58E973D-2DF4-4961-9947-5391954FDA4D","shape":{"__isSmartRef__":true,"id":5086},"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":5087},"textChunks":[{"__isSmartRef__":true,"id":5089}],"charsReplaced":"EnergySimulationPart","lastFindLoc":20,"prevScroll":[0,0],"attributeConnections":[{"__isSmartRef__":true,"id":5091},{"__isSmartRef__":true,"id":5092}],"doNotSerialize":["$$owner","$$savedTextString"],"doNotCopyProperties":["$$owner","$$savedTextString"],"isInputLine":true,"savedTextString":"HeatingSystem","eventHandler":{"__isSmartRef__":true,"id":5093},"owner":{"__isSmartRef__":true,"id":5084},"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","567146D9-37F5-4BCC-AF7F-DB5A96EE8571","A112085C-FDC7-48D5-A582-CD39CA4E9117"],"_WhiteSpaceHandling":"pre-wrap","_ClipMode":"visible","moved":true,"oldOwner":{"__isSmartRef__":true,"id":5084},"isBeingDragged":false,"draggingEnabled":false,"_Rotation":0,"_Scale":0.9999999999999997,"__serializedExpressions__":["_Position","textColor","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5094},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(14.1,8.8)","textColor":"Color.rgb(0,0,0)","distanceToDragEvent":"lively.pt(130.4,-10.2)"},"5086":{"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)"},"5087":{"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"comment":"Label that shows the name of a morph. Updates automatically.","partName":"NameLabel","lastModifiedDate":{"__isSmartRef__":true,"id":5088},"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5088":{"isSerializedDate":true,"string":"Thu Mar 07 2013 01:25:14 GMT+0100 (CET)"},"5089":{"style":{"__isSmartRef__":true,"id":5090},"chunkOwner":{"__isSmartRef__":true,"id":5085},"_id":"_5578","storedString":"MeasureData","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5090":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5091":{"sourceObj":{"__isSmartRef__":true,"id":5085},"sourceAttrName":"owner","targetObj":{"__isSmartRef__":true,"id":5085},"targetMethodName":"updateLabel","converterString":null,"updaterString":null,"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5092":{"sourceObj":{"__isSmartRef__":true,"id":5085},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":5085},"targetMethodName":"renameOwner","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5093":{"morph":{"__isSmartRef__":true,"id":5085},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5094":{"updateLabel":{"__isSmartRef__":true,"id":5095},"renameOwner":{"__isSmartRef__":true,"id":5098},"onFocus":{"__isSmartRef__":true,"id":5101}},"5095":{"varMapping":{"__isSmartRef__":true,"id":5096},"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":5097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5096":{"this":{"__isSmartRef__":true,"id":5085}},"5097":{},"5098":{"varMapping":{"__isSmartRef__":true,"id":5099},"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":5100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5099":{"this":{"__isSmartRef__":true,"id":5085}},"5100":{},"5101":{"varMapping":{"__isSmartRef__":true,"id":5102},"source":"function onFocus(evt) {\n $super(evt)\n if (this.owner.showScriptAnalysis) this.owner.showScriptAnalysis()\n}","funcProperties":{"__isSmartRef__":true,"id":5107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5102":{"this":{"__isSmartRef__":true,"id":5085},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5103}},"5103":{"$super":{"__isSmartRef__":true,"id":5104}},"5104":{"varMapping":{"__isSmartRef__":true,"id":5105},"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":5106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5105":{"obj":{"__isSmartRef__":true,"id":5085},"name":"onFocus"},"5106":{},"5107":{"timestamp":{"__isSmartRef__":true,"id":5108},"user":"jenslincke","tags":[]},"5108":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:45:12 GMT+0100 (CET)"},"5109":{"submorphs":[],"scripts":[],"id":"330888AC-84F2-44A7-AC40-A79BA756AFEE","shape":{"__isSmartRef__":true,"id":5110},"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":5111},"textChunks":[{"__isSmartRef__":true,"id":5127},{"__isSmartRef__":true,"id":5129},{"__isSmartRef__":true,"id":5131},{"__isSmartRef__":true,"id":5133},{"__isSmartRef__":true,"id":5135},{"__isSmartRef__":true,"id":5137},{"__isSmartRef__":true,"id":5139},{"__isSmartRef__":true,"id":5141},{"__isSmartRef__":true,"id":5143},{"__isSmartRef__":true,"id":5145},{"__isSmartRef__":true,"id":5147},{"__isSmartRef__":true,"id":5149},{"__isSmartRef__":true,"id":5151},{"__isSmartRef__":true,"id":5153},{"__isSmartRef__":true,"id":5155},{"__isSmartRef__":true,"id":5157},{"__isSmartRef__":true,"id":5159},{"__isSmartRef__":true,"id":5161},{"__isSmartRef__":true,"id":5163},{"__isSmartRef__":true,"id":5165},{"__isSmartRef__":true,"id":5167},{"__isSmartRef__":true,"id":5169},{"__isSmartRef__":true,"id":5171},{"__isSmartRef__":true,"id":5173},{"__isSmartRef__":true,"id":5175},{"__isSmartRef__":true,"id":5177},{"__isSmartRef__":true,"id":5179},{"__isSmartRef__":true,"id":5181},{"__isSmartRef__":true,"id":5184},{"__isSmartRef__":true,"id":5186},{"__isSmartRef__":true,"id":5188},{"__isSmartRef__":true,"id":5190},{"__isSmartRef__":true,"id":5192},{"__isSmartRef__":true,"id":5194},{"__isSmartRef__":true,"id":5196},{"__isSmartRef__":true,"id":5199},{"__isSmartRef__":true,"id":5201},{"__isSmartRef__":true,"id":5203},{"__isSmartRef__":true,"id":5205},{"__isSmartRef__":true,"id":5207},{"__isSmartRef__":true,"id":5209},{"__isSmartRef__":true,"id":5211},{"__isSmartRef__":true,"id":5214},{"__isSmartRef__":true,"id":5216},{"__isSmartRef__":true,"id":5218},{"__isSmartRef__":true,"id":5220},{"__isSmartRef__":true,"id":5222},{"__isSmartRef__":true,"id":5224},{"__isSmartRef__":true,"id":5226},{"__isSmartRef__":true,"id":5229},{"__isSmartRef__":true,"id":5231},{"__isSmartRef__":true,"id":5233},{"__isSmartRef__":true,"id":5235},{"__isSmartRef__":true,"id":5237},{"__isSmartRef__":true,"id":5239},{"__isSmartRef__":true,"id":5241},{"__isSmartRef__":true,"id":5244},{"__isSmartRef__":true,"id":5246},{"__isSmartRef__":true,"id":5248},{"__isSmartRef__":true,"id":5250},{"__isSmartRef__":true,"id":5252},{"__isSmartRef__":true,"id":5254},{"__isSmartRef__":true,"id":5256},{"__isSmartRef__":true,"id":5259},{"__isSmartRef__":true,"id":5261},{"__isSmartRef__":true,"id":5263},{"__isSmartRef__":true,"id":5265},{"__isSmartRef__":true,"id":5267},{"__isSmartRef__":true,"id":5269},{"__isSmartRef__":true,"id":5271},{"__isSmartRef__":true,"id":5274},{"__isSmartRef__":true,"id":5276},{"__isSmartRef__":true,"id":5278},{"__isSmartRef__":true,"id":5280},{"__isSmartRef__":true,"id":5282},{"__isSmartRef__":true,"id":5284},{"__isSmartRef__":true,"id":5286},{"__isSmartRef__":true,"id":5288},{"__isSmartRef__":true,"id":5290},{"__isSmartRef__":true,"id":5292},{"__isSmartRef__":true,"id":5294},{"__isSmartRef__":true,"id":5296},{"__isSmartRef__":true,"id":5298},{"__isSmartRef__":true,"id":5300},{"__isSmartRef__":true,"id":5302},{"__isSmartRef__":true,"id":5304},{"__isSmartRef__":true,"id":5306},{"__isSmartRef__":true,"id":5308},{"__isSmartRef__":true,"id":5310},{"__isSmartRef__":true,"id":5312},{"__isSmartRef__":true,"id":5314},{"__isSmartRef__":true,"id":5316},{"__isSmartRef__":true,"id":5318},{"__isSmartRef__":true,"id":5320},{"__isSmartRef__":true,"id":5322},{"__isSmartRef__":true,"id":5324},{"__isSmartRef__":true,"id":5326},{"__isSmartRef__":true,"id":5328},{"__isSmartRef__":true,"id":5330},{"__isSmartRef__":true,"id":5333}],"charsReplaced":"#HeatConsumer","lastFindLoc":685,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":5335},"_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","08F797B1-9E4E-44A7-82A8-94AD5055DD06","4A08CEEF-4759-4921-AF85-D276309CF091"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"magnets":[{"__isSmartRef__":true,"id":5336},{"__isSmartRef__":true,"id":5337},{"__isSmartRef__":true,"id":5338},{"__isSmartRef__":true,"id":5339},{"__isSmartRef__":true,"id":5340},{"__isSmartRef__":true,"id":5341},{"__isSmartRef__":true,"id":5342},{"__isSmartRef__":true,"id":5343}],"lastSearchString":"","lastSearchIndex":0,"searchHighlights":[],"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":5344},"draggingEnabled":false,"_PreviousBorderWidth":1,"owner":{"__isSmartRef__":true,"id":5084},"savedTextString":"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}\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 ","attributeConnections":[{"__isSmartRef__":true,"id":5345},{"__isSmartRef__":true,"id":5347}],"doNotSerialize":["$$savedTextString","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","parseErrors","$$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"],"doNotCopyProperties":["$$savedTextString","$$textString"],"syntaxHighlightingWhileTyping":true,"_lastSyntaxHighlightTime":154,"_Rotation":0,"_Scale":1,"#startLetters":"emphasize","lastAutocompletionWord":null,"wordCompletionMorph":null,"previousSelection":[696,696],"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"textString":"$.Time += dt\n$.Counter += dt\nif ($.Counter < 5) 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)\n","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5349},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","withLayers":["Global.AutocompletionLayer"],"_Position":"lively.pt(10.6,91.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(343.9,-5.8)"},"5110":{"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(491.4,359.3)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"5111":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":5112},{"__isSmartRef__":true,"id":5114},{"__isSmartRef__":true,"id":5116},{"__isSmartRef__":true,"id":5118},{"__isSmartRef__":true,"id":5120},{"__isSmartRef__":true,"id":5122},{"__isSmartRef__":true,"id":5124}],"lastModifiedDate":{"__isSmartRef__":true,"id":5126},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5112":{"date":{"__isSmartRef__":true,"id":5113},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"5113":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"5114":{"date":{"__isSmartRef__":true,"id":5115},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"5115":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"5116":{"date":{"__isSmartRef__":true,"id":5117},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"5117":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"5118":{"date":{"__isSmartRef__":true,"id":5119},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"5119":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"5120":{"date":{"__isSmartRef__":true,"id":5121},"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"},"5121":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"5122":{"date":{"__isSmartRef__":true,"id":5123},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"5123":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"5124":{"date":{"__isSmartRef__":true,"id":5125},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"5125":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"5126":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"5127":{"style":{"__isSmartRef__":true,"id":5128},"chunkOwner":{"__isSmartRef__":true,"id":5109},"_id":"_18","storedString":"$","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5128":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"5129":{"_id":"_611","style":{"__isSmartRef__":true,"id":5130},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".Time +=","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5130":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5131":{"_id":"_676","style":{"__isSmartRef__":true,"id":5132},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5132":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"5133":{"_id":"_677","style":{"__isSmartRef__":true,"id":5134},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5134":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5135":{"_id":"_667","style":{"__isSmartRef__":true,"id":5136},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Counter","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5136":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5137":{"_id":"_666","style":{"__isSmartRef__":true,"id":5138},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" +=","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5138":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5139":{"_id":"_678","style":{"__isSmartRef__":true,"id":5140},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" dt\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5140":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,204,0)"},"5141":{"_id":"_568","style":{"__isSmartRef__":true,"id":5142},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"if","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5142":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"5143":{"_id":"_569","style":{"__isSmartRef__":true,"id":5144},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5144":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5145":{"_id":"_669","style":{"__isSmartRef__":true,"id":5146},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"($.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5146":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5147":{"_id":"_670","style":{"__isSmartRef__":true,"id":5148},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Counter","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5148":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5149":{"_id":"_668","style":{"__isSmartRef__":true,"id":5150},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" < ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5150":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5151":{"_id":"_570","style":{"__isSmartRef__":true,"id":5152},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5152":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"5153":{"_id":"_571","style":{"__isSmartRef__":true,"id":5154},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":") ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5154":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5155":{"_id":"_572","style":{"__isSmartRef__":true,"id":5156},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"return","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5156":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"5157":{"_id":"_573","style":{"__isSmartRef__":true,"id":5158},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"\n$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5158":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5159":{"_id":"_672","style":{"__isSmartRef__":true,"id":5160},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Counter","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5160":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5161":{"_id":"_671","style":{"__isSmartRef__":true,"id":5162},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5162":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5163":{"_id":"_574","style":{"__isSmartRef__":true,"id":5164},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5164":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"5165":{"_id":"_575","style":{"__isSmartRef__":true,"id":5166},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5166":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5167":{"_id":"_576","style":{"__isSmartRef__":true,"id":5168},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5168":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"5169":{"_id":"_577","style":{"__isSmartRef__":true,"id":5170},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" data = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5170":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5171":{"_id":"_578","style":{"__isSmartRef__":true,"id":5172},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5172":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"5173":{"_id":"_579","style":{"__isSmartRef__":true,"id":5174},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5174":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5175":{"_id":"_580","style":{"__isSmartRef__":true,"id":5176},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Gas:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5176":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5177":{"_id":"_581","style":{"__isSmartRef__":true,"id":5178},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5178":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5179":{"_id":"_628","style":{"__isSmartRef__":true,"id":5180},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5180":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5181":{"_id":"_630","style":{"__isSmartRef__":true,"id":5182},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Fuel","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5182":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5183},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5183":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Fuel\")","context":{"__isSmartRef__":true,"id":5084}},"5184":{"_id":"_629","style":{"__isSmartRef__":true,"id":5185},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5185":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5186":{"_id":"_631","style":{"__isSmartRef__":true,"id":5187},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Gas","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5187":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5188":{"_id":"_632","style":{"__isSmartRef__":true,"id":5189},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5189":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5190":{"_id":"_582","style":{"__isSmartRef__":true,"id":5191},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Heat:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5191":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5192":{"_id":"_583","style":{"__isSmartRef__":true,"id":5193},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5193":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5194":{"_id":"_633","style":{"__isSmartRef__":true,"id":5195},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5195":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5196":{"_id":"_635","style":{"__isSmartRef__":true,"id":5197},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"HeatStorage","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5197":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5198},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5198":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatStorage\")","context":{"__isSmartRef__":true,"id":5084}},"5199":{"_id":"_634","style":{"__isSmartRef__":true,"id":5200},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5200":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5201":{"_id":"_636","style":{"__isSmartRef__":true,"id":5202},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5202":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5203":{"_id":"_637","style":{"__isSmartRef__":true,"id":5204},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5204":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5205":{"_id":"_584","style":{"__isSmartRef__":true,"id":5206},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Battery:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5206":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5207":{"_id":"_585","style":{"__isSmartRef__":true,"id":5208},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5208":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5209":{"_id":"_638","style":{"__isSmartRef__":true,"id":5210},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5210":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5211":{"_id":"_640","style":{"__isSmartRef__":true,"id":5212},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Battery","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5212":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5213},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5213":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"Battery\")","context":{"__isSmartRef__":true,"id":5084}},"5214":{"_id":"_639","style":{"__isSmartRef__":true,"id":5215},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5215":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5216":{"_id":"_641","style":{"__isSmartRef__":true,"id":5217},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Energy","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5217":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5218":{"_id":"_642","style":{"__isSmartRef__":true,"id":5219},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5219":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5220":{"_id":"_586","style":{"__isSmartRef__":true,"id":5221},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"ConsumedPower:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5221":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5222":{"_id":"_587","style":{"__isSmartRef__":true,"id":5223},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5223":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5224":{"_id":"_643","style":{"__isSmartRef__":true,"id":5225},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5225":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5226":{"_id":"_645","style":{"__isSmartRef__":true,"id":5227},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"ElectricConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5227":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5228},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5228":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"ElectricConsumer\")","context":{"__isSmartRef__":true,"id":5084}},"5229":{"_id":"_644","style":{"__isSmartRef__":true,"id":5230},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5230":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5231":{"_id":"_646","style":{"__isSmartRef__":true,"id":5232},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Consumed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5232":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5233":{"_id":"_647","style":{"__isSmartRef__":true,"id":5234},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5234":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5235":{"_id":"_588","style":{"__isSmartRef__":true,"id":5236},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"ConsumedHeat:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5236":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5237":{"_id":"_589","style":{"__isSmartRef__":true,"id":5238},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5238":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5239":{"_id":"_648","style":{"__isSmartRef__":true,"id":5240},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5240":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5241":{"_id":"_650","style":{"__isSmartRef__":true,"id":5242},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"HeatConsumer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5242":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5243},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5243":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatConsumer\")","context":{"__isSmartRef__":true,"id":5084}},"5244":{"_id":"_649","style":{"__isSmartRef__":true,"id":5245},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5245":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5246":{"_id":"_651","style":{"__isSmartRef__":true,"id":5247},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Consumed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5247":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5248":{"_id":"_652","style":{"__isSmartRef__":true,"id":5249},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5249":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5250":{"_id":"_590","style":{"__isSmartRef__":true,"id":5251},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"TWP:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5251":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5252":{"_id":"_591","style":{"__isSmartRef__":true,"id":5253},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5253":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5254":{"_id":"_653","style":{"__isSmartRef__":true,"id":5255},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5255":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5256":{"_id":"_655","style":{"__isSmartRef__":true,"id":5257},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"ThermalPowerStation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5257":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5258},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5258":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"ThermalPowerStation\")","context":{"__isSmartRef__":true,"id":5084}},"5259":{"_id":"_654","style":{"__isSmartRef__":true,"id":5260},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5260":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5261":{"_id":"_656","style":{"__isSmartRef__":true,"id":5262},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5262":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5263":{"_id":"_657","style":{"__isSmartRef__":true,"id":5264},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5264":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5265":{"_id":"_592","style":{"__isSmartRef__":true,"id":5266},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"HS:","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5266":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(139,0,0)"},"5267":{"_id":"_593","style":{"__isSmartRef__":true,"id":5268},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5268":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5269":{"_id":"_658","style":{"__isSmartRef__":true,"id":5270},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5270":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5271":{"_id":"_660","style":{"__isSmartRef__":true,"id":5272},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"HeatingSystem","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5272":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5273},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5273":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"HeatingSystem\")","context":{"__isSmartRef__":true,"id":5084}},"5274":{"_id":"_659","style":{"__isSmartRef__":true,"id":5275},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".$.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5275":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5276":{"_id":"_661","style":{"__isSmartRef__":true,"id":5277},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Heat","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5277":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5278":{"_id":"_662","style":{"__isSmartRef__":true,"id":5279},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5279":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5280":{"_id":"_594","style":{"__isSmartRef__":true,"id":5281},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5281":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"5282":{"_id":"_595","style":{"__isSmartRef__":true,"id":5283},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"\ndata.Total = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5283":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5284":{"_id":"_622","style":{"__isSmartRef__":true,"id":5285},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5285":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"5286":{"_id":"_623","style":{"__isSmartRef__":true,"id":5287},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".values(data).sum()\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5287":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5288":{"_id":"_596","style":{"__isSmartRef__":true,"id":5289},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"var","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5289":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,128)"},"5290":{"_id":"_597","style":{"__isSmartRef__":true,"id":5291},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" factor = ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5291":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5292":{"_id":"_598","style":{"__isSmartRef__":true,"id":5293},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"0.01","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5293":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"5294":{"_id":"_599","style":{"__isSmartRef__":true,"id":5295},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5295":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5296":{"_id":"_600","style":{"__isSmartRef__":true,"id":5297},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"//","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5297":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(128,0,0)"},"5298":{"_id":"_601","style":{"__isSmartRef__":true,"id":5299},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" scale, so that it fits into vis","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5299":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"5300":{"_id":"_602","style":{"__isSmartRef__":true,"id":5301},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"\ndata.Gas *= factor\ndata.ConsumedPower *= factor\ndata.ConsumedHeat *= factor\ndata.Total *= factor\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5301":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5302":{"_id":"_624","style":{"__isSmartRef__":true,"id":5303},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5303":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,0,0)"},"5304":{"_id":"_625","style":{"__isSmartRef__":true,"id":5305},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".own(data).each(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5305":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5306":{"_id":"_603","style":{"__isSmartRef__":true,"id":5307},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"function","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5307":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,139)"},"5308":{"_id":"_604","style":{"__isSmartRef__":true,"id":5309},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"(ea) ","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5309":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5310":{"_id":"_605","style":{"__isSmartRef__":true,"id":5311},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"{","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5311":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"5312":{"_id":"_606","style":{"__isSmartRef__":true,"id":5313},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"\n data[ea] = data[ea].roundTo(","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5313":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5314":{"_id":"_607","style":{"__isSmartRef__":true,"id":5315},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"0.000001","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5315":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,255)"},"5316":{"_id":"_608","style":{"__isSmartRef__":true,"id":5317},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":")\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5317":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5318":{"_id":"_609","style":{"__isSmartRef__":true,"id":5319},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5319":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,128,0)"},"5320":{"_id":"_610","style":{"__isSmartRef__":true,"id":5321},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":")\ndata.Time =","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5321":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5322":{"_id":"_674","style":{"__isSmartRef__":true,"id":5323},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":" $.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5323":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(204,204,204)"},"5324":{"_id":"_675","style":{"__isSmartRef__":true,"id":5325},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"Time","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5325":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5326":{"_id":"_673","style":{"__isSmartRef__":true,"id":5327},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":",\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5327":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5328":{"_id":"_663","style":{"__isSmartRef__":true,"id":5329},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"#","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5329":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5330":{"_id":"_665","style":{"__isSmartRef__":true,"id":5331},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":"SimulationResults","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5331":{"__serializedExpressions__":["color"],"backgroundColor":null,"doit":{"__isSmartRef__":true,"id":5332},"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,79,152)"},"5332":{"isAutoformatHighlight":true,"code":"this.showNameReference(\"SimulationResults\")","context":{"__isSmartRef__":true,"id":5084}},"5333":{"_id":"_664","style":{"__isSmartRef__":true,"id":5334},"chunkOwner":{"__isSmartRef__":true,"id":5109},"storedString":".addData(data)\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5334":{"__serializedExpressions__":["color"],"backgroundColor":null,"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"5335":{"morph":{"__isSmartRef__":true,"id":5109},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5336":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5337":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5338":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5339":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5340":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5341":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5342":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5343":{"morph":{"__isSmartRef__":true,"id":5109},"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)"},"5344":{"resizeWidth":true,"resizeHeight":true},"5345":{"sourceObj":{"__isSmartRef__":true,"id":5109},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":5084},"targetMethodName":"parseSimulationSource","varMapping":{"__isSmartRef__":true,"id":5346},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5346":{"source":{"__isSmartRef__":true,"id":5109},"target":{"__isSmartRef__":true,"id":5084}},"5347":{"sourceObj":{"__isSmartRef__":true,"id":5109},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":5109},"targetMethodName":"highlightSyntaxDebounced","varMapping":{"__isSmartRef__":true,"id":5348},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5348":{"source":{"__isSmartRef__":true,"id":5109},"target":{"__isSmartRef__":true,"id":5109}},"5349":{"boundEval":{"__isSmartRef__":true,"id":5350},"getDoitContext":{"__isSmartRef__":true,"id":5358},"installLayers":{"__isSmartRef__":true,"id":5366},"onLoad":{"__isSmartRef__":true,"id":5370},"highligtScriptNames":{"__isSmartRef__":true,"id":5374},"getAutoCompletion":{"__isSmartRef__":true,"id":5378},"reset":{"__isSmartRef__":true,"id":5386},"getLastWordRange":{"__isSmartRef__":true,"id":5390}},"5350":{"varMapping":{"__isSmartRef__":true,"id":5351},"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 this.owner.resetStatus()\n try {\n return cop.withLayers([SpecialSyntaxWorkspaceLayer, ForceNameFoundLayer], function() {\n // TODO: $super somehow catches the error here...\n return this.constructor.prototype.boundEval.bind(this)(str)\n }.bind(this))\n } catch(e) {\n this.owner.showError(e)\n } finally {\n var sim = this.get(\"EnergySimulation\");\n if (sim) sim.showAllProperties()\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5356},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5351":{"this":{"__isSmartRef__":true,"id":5109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5352}},"5352":{"$super":{"__isSmartRef__":true,"id":5353}},"5353":{"varMapping":{"__isSmartRef__":true,"id":5354},"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":5355},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5354":{"obj":{"__isSmartRef__":true,"id":5109},"name":"boundEval"},"5355":{},"5356":{"timestamp":{"__isSmartRef__":true,"id":5357},"user":"jenslincke","tags":[]},"5357":{"isSerializedDate":true,"string":"Tue Jan 28 2014 11:28:47 GMT+0100 (CET)"},"5358":{"varMapping":{"__isSmartRef__":true,"id":5359},"source":"function getDoitContext() {\n return this.owner\n}","funcProperties":{"__isSmartRef__":true,"id":5364},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5359":{"this":{"__isSmartRef__":true,"id":5109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5360}},"5360":{"$super":{"__isSmartRef__":true,"id":5361}},"5361":{"varMapping":{"__isSmartRef__":true,"id":5362},"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":5363},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5362":{"obj":{"__isSmartRef__":true,"id":5109},"name":"getDoitContext"},"5363":{},"5364":{"timestamp":{"__isSmartRef__":true,"id":5365},"user":"jenslincke","tags":[]},"5365":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:42:09 GMT+0100 (CET)"},"5366":{"varMapping":{"__isSmartRef__":true,"id":5367},"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":5368},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5367":{"this":{"__isSmartRef__":true,"id":5109}},"5368":{"timestamp":{"__isSmartRef__":true,"id":5369},"user":"jenslincke","tags":[]},"5369":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:44 GMT+0100 (CET)"},"5370":{"varMapping":{"__isSmartRef__":true,"id":5371},"source":"function onLoad() {\n this.installLayers()\n}","funcProperties":{"__isSmartRef__":true,"id":5372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5371":{"this":{"__isSmartRef__":true,"id":5109}},"5372":{"timestamp":{"__isSmartRef__":true,"id":5373},"user":"jenslincke","tags":[]},"5373":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:41:45 GMT+0100 (CET)"},"5374":{"varMapping":{"__isSmartRef__":true,"id":5375},"source":"function highligtScriptNames(force) {\n\n // if (this.lastHighlightedCode == this.textString && !force) return\n // this.lastHighlightedCode = this.textString\n // delete this.lastHighlightedCode\n\n // var range = this.getSelectionRange()\n\n // clean up old autoformatte\n this.textChunks.each(function(ea) {\n if (ea.style.doit && ea.style.doit.isAutoformatHighlight) {\n ea.styleText({doit: ''})\n }\n })\n\n // this.emphasizeAll({color: Color.black})\n var src = this.textString\n var nameReg = /#([A-Za-z][A-Za-z0-9]*)(?:\\.\\$\\.([A-Za-z][A-Za-z0-9]*))?/g\n var m;\n var obj = this.getDoitContext()\n while(m = nameReg.exec(src)) {\n var name = m[1]\n var morph = obj.get(name)\n var c = morph ? CrayonColors.ocean : CrayonColors.tangerine;\n var from = nameReg.lastIndex - m[0].length, to = from + m[1].length + 1\n this.emphasize({color: c}, from, to)\n if (morph) {\n this.emphasize({doit: {\n isAutoformatHighlight: true,\n code: 'this.showNameReference(\"'+name+'\")',\n context: this.owner}}, from + 1, to)\n if (morph.logReference) morph.logReference(obj)\n }\n\n if (morph && m[2]) {\n var c2 = morph.$ && (morph.$[m[2]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + m[1].length + 4,\n nameReg.lastIndex)\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + m[1].length + 1,\n nameReg.lastIndex - m[0].length + m[1].length + 4)\n\n }\n }\n var nameReg = /[^A-Za-z0-9.]\\$\\.([A-Za-z][A-Za-z0-9]*)/g\n while(m = nameReg.exec(src)) {\n //alert(m[1])\n var morph = obj\n if (morph && m[1]) {\n var c2 = morph.$ && (morph.$[m[1]] !== undefined)? CrayonColors.ocean : CrayonColors.tangerine;\n this.emphasize({color: c2},\n nameReg.lastIndex - m[0].length + 2,\n nameReg.lastIndex)\n\n // hide the $\n this.emphasize({color: Color.gray},\n nameReg.lastIndex - m[0].length + 0,\n nameReg.lastIndex - m[0].length + 3)\n\n }\n }\n\n // special variables...\n this.emphasizeRegex(/[^A-Za-z0-9.]dt[^A-Za-z0-9.]/g, {color: Color.green})\n\n\n // if (range) this.setSelectionRange(range[0], range[1])\n // return true // did we change it?\n}","funcProperties":{"__isSmartRef__":true,"id":5376},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5375":{"this":{"__isSmartRef__":true,"id":5109}},"5376":{"timestamp":{"__isSmartRef__":true,"id":5377},"user":"jenslincke","tags":[]},"5377":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:25:07 GMT+0100 (CET)"},"5378":{"varMapping":{"__isSmartRef__":true,"id":5379},"source":"function getAutoCompletion() {\n // this.getAutoCompletion()\n var names = [];\n var obj = this.getDoitContext()\n obj.owner.submorphs.each(function(ea) {\n names.push( \"#\" + ea.name)\n if (ea.$) {\n Properties.own(ea.$).each(function(prop) {\n names.push( \"#\" + ea.name + \".$.\" + prop)\n })\n }\n })\n if (obj.$) {\n Properties.own(obj.$).each(function(prop) {\n names.push( \"$.\" + prop)\n })\n }\n\n var ac = new AutoCompletion();\n ac.list = names\n ac.list.pushAll(ac.getMathFunctions())\n ac.addLocalSource(this.textString)\n return ac\n}","funcProperties":{"__isSmartRef__":true,"id":5384},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5379":{"this":{"__isSmartRef__":true,"id":5109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5380}},"5380":{"$super":{"__isSmartRef__":true,"id":5381}},"5381":{"varMapping":{"__isSmartRef__":true,"id":5382},"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":5383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5382":{"obj":{"__isSmartRef__":true,"id":5109},"name":"getAutoCompletion"},"5383":{},"5384":{"timestamp":{"__isSmartRef__":true,"id":5385},"user":"jenslincke","tags":[]},"5385":{"isSerializedDate":true,"string":"Wed Jan 29 2014 00:33:17 GMT+0100 (CET)"},"5386":{"varMapping":{"__isSmartRef__":true,"id":5387},"source":"function reset() {\n this.setWithLayers([AutocompletionLayer])\n}","funcProperties":{"__isSmartRef__":true,"id":5388},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5387":{"this":{"__isSmartRef__":true,"id":5109}},"5388":{"timestamp":{"__isSmartRef__":true,"id":5389},"user":"jenslincke","tags":[]},"5389":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:58:01 GMT+0100 (CET)"},"5390":{"varMapping":{"__isSmartRef__":true,"id":5391},"source":"function getLastWordRange(optCursorPos) {\n if (optCursorPos !== undefined) {\n var range = [optCursorPos, optCursorPos] \n } else {\n range = this.getSelectionRange() || this.priorSelectionRange;\n }\n var match = this.lastMatchBefore(/\\n| |(f) /g, range[0]- 1) // \n if (match)\n return [match.index + 1, range[0]]\n else {\n match = this.lastMatchBefore(/^[a-zA-Z0-9$.]+/g, range[0]- 1) // \n if (match) return [0, range[0]]\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5391":{"this":{"__isSmartRef__":true,"id":5109},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5392}},"5392":{"$super":{"__isSmartRef__":true,"id":5393}},"5393":{"varMapping":{"__isSmartRef__":true,"id":5394},"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":5395},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5394":{"obj":{"__isSmartRef__":true,"id":5109},"name":"getLastWordRange"},"5395":{},"5396":{"timestamp":{"__isSmartRef__":true,"id":5397},"user":"jenslincke","tags":[]},"5397":{"isSerializedDate":true,"string":"Tue Jan 28 2014 23:59:58 GMT+0100 (CET)"},"5398":{"submorphs":[],"scripts":[],"id":"85F01E95-D0C7-40F8-8EE2-669CE924EB38","shape":{"__isSmartRef__":true,"id":5399},"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":5400},"textChunks":[{"__isSmartRef__":true,"id":5416}],"charsReplaced":" ","lastFindLoc":0,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":5418},"_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","DDEC9403-6C57-4923-ABE3-1737E6362120","07D195A1-33DA-4A4D-B3EA-B51C03BACF39"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":5084},"_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":5419},"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,444.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)"},"5399":{"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(483.5,14.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"5400":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":5401},{"__isSmartRef__":true,"id":5403},{"__isSmartRef__":true,"id":5405},{"__isSmartRef__":true,"id":5407},{"__isSmartRef__":true,"id":5409},{"__isSmartRef__":true,"id":5411},{"__isSmartRef__":true,"id":5413}],"lastModifiedDate":{"__isSmartRef__":true,"id":5415},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5401":{"date":{"__isSmartRef__":true,"id":5402},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"5402":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"5403":{"date":{"__isSmartRef__":true,"id":5404},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"5404":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"5405":{"date":{"__isSmartRef__":true,"id":5406},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"5406":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"5407":{"date":{"__isSmartRef__":true,"id":5408},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"5408":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"5409":{"date":{"__isSmartRef__":true,"id":5410},"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"},"5410":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"5411":{"date":{"__isSmartRef__":true,"id":5412},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"5412":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"5413":{"date":{"__isSmartRef__":true,"id":5414},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"5414":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"5415":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"5416":{"style":{"__isSmartRef__":true,"id":5417},"chunkOwner":{"__isSmartRef__":true,"id":5398},"_id":"_11228","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5417":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5418":{"morph":{"__isSmartRef__":true,"id":5398},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5419":{"moveVertical":true,"resizeWidth":true},"5420":{"submorphs":[],"scripts":[],"id":"7888BA1C-640E-4E1F-B85E-5E773E9BFE9A","shape":{"__isSmartRef__":true,"id":5421},"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":5422},"textChunks":[{"__isSmartRef__":true,"id":5438}],"charsReplaced":"false","lastFindLoc":28,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":5440},"_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","1A5DC502-21A9-4B18-8878-654818F4C282","88E27517-6524-49AD-AF69-936DADF77DDD"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"owner":{"__isSmartRef__":true,"id":5084},"isInputLine":false,"attributeConnections":[{"__isSmartRef__":true,"id":5441}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"savedTextString":"Heat: 0 [kW/s]\nStopped: false\nFactor: 10\nMax: 5 [kW]","_WordBreak":"break-all","layout":{"__isSmartRef__":true,"id":5443},"_Rotation":0,"_Scale":1,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(8.6,33.2)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(341.2,-14.2)"},"5421":{"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(477.0,56.7)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"5422":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":5423},{"__isSmartRef__":true,"id":5425},{"__isSmartRef__":true,"id":5427},{"__isSmartRef__":true,"id":5429},{"__isSmartRef__":true,"id":5431},{"__isSmartRef__":true,"id":5433},{"__isSmartRef__":true,"id":5435}],"revisionOnLoad":193597,"lastModifiedDate":{"__isSmartRef__":true,"id":5437},"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5423":{"date":{"__isSmartRef__":true,"id":5424},"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62"},"5424":{"isSerializedDate":true,"string":"Tue Mar 12 2013 17:31:56 GMT+0100 (CET)"},"5425":{"date":{"__isSmartRef__":true,"id":5426},"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194"},"5426":{"isSerializedDate":true,"string":"Tue May 08 2012 14:18:18 GMT+0200 (CEST)"},"5427":{"date":{"__isSmartRef__":true,"id":5428},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9"},"5428":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:32:09 GMT+0200 (CEST)"},"5429":{"date":{"__isSmartRef__":true,"id":5430},"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF"},"5430":{"isSerializedDate":true,"string":"Sat Apr 21 2012 07:31:43 GMT+0200 (CEST)"},"5431":{"date":{"__isSmartRef__":true,"id":5432},"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"},"5432":{"isSerializedDate":true,"string":"Mon Feb 27 2012 06:20:38 GMT+0100 (CET)"},"5433":{"date":{"__isSmartRef__":true,"id":5434},"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0"},"5434":{"isSerializedDate":true,"string":"Sat Apr 21 2012 16:30:30 GMT+0200 (CEST)"},"5435":{"date":{"__isSmartRef__":true,"id":5436},"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598"},"5436":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:36:22 GMT+0100 (CET)"},"5437":{"isSerializedDate":true,"string":"Tue Mar 12 2013 18:35:33 GMT+0100 (CET)"},"5438":{"style":{"__isSmartRef__":true,"id":5439},"chunkOwner":{"__isSmartRef__":true,"id":5420},"_id":"_11201","storedString":"Counter: 10000\nTime: 1391552235.949\nStart: 1391552235.949","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5439":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5440":{"morph":{"__isSmartRef__":true,"id":5420},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5441":{"sourceObj":{"__isSmartRef__":true,"id":5420},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":5084},"targetMethodName":"parsePropeties","varMapping":{"__isSmartRef__":true,"id":5442},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5442":{"source":{"__isSmartRef__":true,"id":5420},"target":{"__isSmartRef__":true,"id":5084}},"5443":{"resizeWidth":true},"5444":{"_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(505.3,462.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)"},"5445":{"partsSpaceName":"PartsBin/Jens","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulationPart","changes":[{"__isSmartRef__":true,"id":5446},{"__isSmartRef__":true,"id":5448},{"__isSmartRef__":true,"id":5450},{"__isSmartRef__":true,"id":5452},{"__isSmartRef__":true,"id":5454},{"__isSmartRef__":true,"id":5456},{"__isSmartRef__":true,"id":5458},{"__isSmartRef__":true,"id":5460},{"__isSmartRef__":true,"id":5462},{"__isSmartRef__":true,"id":5464},{"__isSmartRef__":true,"id":5466},{"__isSmartRef__":true,"id":5468},{"__isSmartRef__":true,"id":5470},{"__isSmartRef__":true,"id":5472},{"__isSmartRef__":true,"id":5474},{"__isSmartRef__":true,"id":5476},{"__isSmartRef__":true,"id":5478},{"__isSmartRef__":true,"id":5480},{"__isSmartRef__":true,"id":5482},{"__isSmartRef__":true,"id":5484},{"__isSmartRef__":true,"id":5486},{"__isSmartRef__":true,"id":5488},{"__isSmartRef__":true,"id":5490},{"__isSmartRef__":true,"id":5492},{"__isSmartRef__":true,"id":5494},{"__isSmartRef__":true,"id":5496},{"__isSmartRef__":true,"id":5498},{"__isSmartRef__":true,"id":5500},{"__isSmartRef__":true,"id":5502}],"lastModifiedDate":{"__isSmartRef__":true,"id":5504},"revisionOnLoad":204638,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5446":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":5447}},"5447":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"5448":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":5449}},"5449":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"5450":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":5451}},"5451":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"5452":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":5453}},"5453":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"5454":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":5455}},"5455":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"5456":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":5457}},"5457":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"5458":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":5459}},"5459":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"5460":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":5461}},"5461":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"5462":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":5463}},"5463":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"5464":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":5465}},"5465":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"5466":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":5467}},"5467":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"5468":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":5469}},"5469":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"5470":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":5471}},"5471":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"5472":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":5473}},"5473":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"5474":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":5475}},"5475":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"5476":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":5477}},"5477":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"5478":{"date":{"__isSmartRef__":true,"id":5479},"author":"jenslincke","message":"no comment","id":"DFD9B858-DED4-4045-975D-D7DDA7A77A31"},"5479":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:02:28 GMT+0100 (CET)"},"5480":{"date":{"__isSmartRef__":true,"id":5481},"author":"jenslincke","message":"no comment","id":"BAEA1E7E-B9FE-4406-8ECD-3A1940CF9EB5"},"5481":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:10:08 GMT+0100 (CET)"},"5482":{"date":{"__isSmartRef__":true,"id":5483},"author":"jenslincke","message":"no comment","id":"B200899F-0CF6-42D9-8833-B7FEE4B84D77"},"5483":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:24:55 GMT+0100 (CET)"},"5484":{"date":{"__isSmartRef__":true,"id":5485},"author":"jenslincke","message":"no comment","id":"ECE4F1AA-AD2F-4520-A109-EA618BDFE3E6"},"5485":{"isSerializedDate":true,"string":"Wed Jan 22 2014 18:29:33 GMT+0100 (CET)"},"5486":{"date":{"__isSmartRef__":true,"id":5487},"author":"jenslincke","message":"no comment","id":"DE87D1E0-38E7-4415-8B9B-BA2FAC6AC267"},"5487":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:07:26 GMT+0100 (CET)"},"5488":{"date":{"__isSmartRef__":true,"id":5489},"author":"jenslincke","message":"no comment","id":"59439CF0-C76A-4626-AC97-68FAAE29042B"},"5489":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:23:13 GMT+0100 (CET)"},"5490":{"date":{"__isSmartRef__":true,"id":5491},"author":"jenslincke","message":"no comment","id":"35CDB78C-90A1-41C3-8013-71983F1AB4C5"},"5491":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:58:48 GMT+0100 (CET)"},"5492":{"date":{"__isSmartRef__":true,"id":5493},"author":"jenslincke","message":"no comment","id":"FBF4AB71-8815-40E0-9950-17F00AEA5CD6"},"5493":{"isSerializedDate":true,"string":"Fri Jan 24 2014 18:59:27 GMT+0100 (CET)"},"5494":{"date":{"__isSmartRef__":true,"id":5495},"author":"jenslincke","message":"no comment","id":"1C88D515-B6FC-47AF-A607-D513648CB8F5"},"5495":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:03:44 GMT+0100 (CET)"},"5496":{"date":{"__isSmartRef__":true,"id":5497},"author":"jenslincke","message":"no comment","id":"8A344209-C8BE-4D3D-82F7-A110F79A9C92"},"5497":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:24:12 GMT+0100 (CET)"},"5498":{"date":{"__isSmartRef__":true,"id":5499},"author":"jenslincke","message":"no comment","id":"1EABBCC6-63F1-48E2-B495-348A658D7F57"},"5499":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:26:15 GMT+0100 (CET)"},"5500":{"date":{"__isSmartRef__":true,"id":5501},"author":"jenslincke","message":"no comment","id":"33BAD9C1-6A48-4D01-9821-7E17C8FF19F2"},"5501":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:35:38 GMT+0100 (CET)"},"5502":{"date":{"__isSmartRef__":true,"id":5503},"author":"jenslincke","message":"I love magic text","id":"816758E2-AEBC-4FFA-BB5D-699123958167"},"5503":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:51 GMT+0100 (CET)"},"5504":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:15 GMT+0100 (CET)"},"5505":{"morph":{"__isSmartRef__":true,"id":5084},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5506":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5507}},"5507":{"test01IsMorph":{"__isSmartRef__":true,"id":5508}},"5508":{"varMapping":{"__isSmartRef__":true,"id":5509},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":5510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5509":{"this":{"__isSmartRef__":true,"id":5506}},"5510":{},"5511":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5512":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5513":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5514":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5515":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5516":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5517":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5518":{"morph":{"__isSmartRef__":true,"id":5084},"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)"},"5519":{"adjustForNewBounds":true},"5520":{"Counter":10000,"Time":1391552235.949,"Start":1391552235.949},"5521":{"sourceObj":{"__isSmartRef__":true,"id":5084},"sourceAttrName":"name","targetObj":{"__isSmartRef__":true,"id":5085},"targetMethodName":"updateLabel","varMapping":{"__isSmartRef__":true,"id":5522},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5522":{"source":{"__isSmartRef__":true,"id":5084},"target":{"__isSmartRef__":true,"id":5085}},"5523":{},"5524":{"referencedBy":{"__isSmartRef__":true,"id":5525},"references":{"__isSmartRef__":true,"id":5526}},"5525":{},"5526":{},"5527":{"migrateFrom":{"__isSmartRef__":true,"id":5528},"parsePropeties":{"__isSmartRef__":true,"id":5532},"printProperties":{"__isSmartRef__":true,"id":5536},"parseSimulationSource":{"__isSmartRef__":true,"id":5540},"simulateStep":{"__isSmartRef__":true,"id":5544},"showError":{"__isSmartRef__":true,"id":5547},"throwSimulationProblem":{"__isSmartRef__":true,"id":5551},"updateUI":{"__isSmartRef__":true,"id":5555},"resetStatus":{"__isSmartRef__":true,"id":5559},"simulateOneStep":{"__isSmartRef__":true,"id":5563},"reset":{"__isSmartRef__":true,"id":5567},"resetScriptAnalysis":{"__isSmartRef__":true,"id":5571},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":5575},"logReference":{"__isSmartRef__":true,"id":5579},"showScriptAnalysis":{"__isSmartRef__":true,"id":5583},"showReferenceTo":{"__isSmartRef__":true,"id":5587},"resetSourceHighlighting":{"__isSmartRef__":true,"id":5591},"showNameReference":{"__isSmartRef__":true,"id":5595}},"5528":{"varMapping":{"__isSmartRef__":true,"id":5529},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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":5530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5529":{"this":{"__isSmartRef__":true,"id":5084}},"5530":{"timestamp":{"__isSmartRef__":true,"id":5531},"user":"jenslincke","tags":[]},"5531":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:59 GMT+0100 (CET)"},"5532":{"varMapping":{"__isSmartRef__":true,"id":5533},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":5534},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5533":{"this":{"__isSmartRef__":true,"id":5084}},"5534":{"timestamp":{"__isSmartRef__":true,"id":5535},"user":"jenslincke","tags":[]},"5535":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"5536":{"varMapping":{"__isSmartRef__":true,"id":5537},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":5538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5537":{"this":{"__isSmartRef__":true,"id":5084}},"5538":{"timestamp":{"__isSmartRef__":true,"id":5539},"user":"jenslincke","tags":[]},"5539":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"5540":{"varMapping":{"__isSmartRef__":true,"id":5541},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":5542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5541":{"this":{"__isSmartRef__":true,"id":5084}},"5542":{"timestamp":{"__isSmartRef__":true,"id":5543},"user":"jenslincke","tags":[]},"5543":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"5544":{"varMapping":{"__isSmartRef__":true,"id":5545},"source":"function (dt) {\n// AUTO GENERATED \n try {\nvar problem = this.throwSimulationProblem;\nvar $ = this.$;\n$.Time += dt\n$.Counter += dt\nif ($.Counter < 5) 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\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":5546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5545":{"this":{"__isSmartRef__":true,"id":5084}},"5546":{},"5547":{"varMapping":{"__isSmartRef__":true,"id":5548},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":5549},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5548":{"this":{"__isSmartRef__":true,"id":5084}},"5549":{"timestamp":{"__isSmartRef__":true,"id":5550},"user":"jenslincke","tags":[]},"5550":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"5551":{"varMapping":{"__isSmartRef__":true,"id":5552},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":5553},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5552":{"this":{"__isSmartRef__":true,"id":5084}},"5553":{"timestamp":{"__isSmartRef__":true,"id":5554},"user":"jenslincke","tags":[]},"5554":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"5555":{"varMapping":{"__isSmartRef__":true,"id":5556},"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":5557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5556":{"this":{"__isSmartRef__":true,"id":5084}},"5557":{"timestamp":{"__isSmartRef__":true,"id":5558},"user":"jenslincke","tags":[]},"5558":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"5559":{"varMapping":{"__isSmartRef__":true,"id":5560},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":5561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5560":{"this":{"__isSmartRef__":true,"id":5084}},"5561":{"timestamp":{"__isSmartRef__":true,"id":5562},"user":"jenslincke","tags":[]},"5562":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"5563":{"varMapping":{"__isSmartRef__":true,"id":5564},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5565},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5564":{"this":{"__isSmartRef__":true,"id":5084}},"5565":{"timestamp":{"__isSmartRef__":true,"id":5566},"user":"jenslincke","tags":[]},"5566":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"5567":{"varMapping":{"__isSmartRef__":true,"id":5568},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":5569},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5568":{"this":{"__isSmartRef__":true,"id":5084}},"5569":{"timestamp":{"__isSmartRef__":true,"id":5570},"user":"jenslincke","tags":[]},"5570":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"5571":{"varMapping":{"__isSmartRef__":true,"id":5572},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":5573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5572":{"this":{"__isSmartRef__":true,"id":5084}},"5573":{"timestamp":{"__isSmartRef__":true,"id":5574},"user":"jenslincke","tags":[]},"5574":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"5575":{"varMapping":{"__isSmartRef__":true,"id":5576},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":5577},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5576":{"this":{"__isSmartRef__":true,"id":5084}},"5577":{"timestamp":{"__isSmartRef__":true,"id":5578},"user":"jenslincke","tags":[]},"5578":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"5579":{"varMapping":{"__isSmartRef__":true,"id":5580},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":5581},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5580":{"this":{"__isSmartRef__":true,"id":5084}},"5581":{"timestamp":{"__isSmartRef__":true,"id":5582},"user":"jenslincke","tags":[]},"5582":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"5583":{"varMapping":{"__isSmartRef__":true,"id":5584},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":5585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5584":{"this":{"__isSmartRef__":true,"id":5084}},"5585":{"timestamp":{"__isSmartRef__":true,"id":5586},"user":"jenslincke","tags":[]},"5586":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"5587":{"varMapping":{"__isSmartRef__":true,"id":5588},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5589},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5588":{"this":{"__isSmartRef__":true,"id":5084}},"5589":{"timestamp":{"__isSmartRef__":true,"id":5590},"user":"jenslincke","tags":[]},"5590":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"5591":{"varMapping":{"__isSmartRef__":true,"id":5592},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":5593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5592":{"this":{"__isSmartRef__":true,"id":5084}},"5593":{"timestamp":{"__isSmartRef__":true,"id":5594},"user":"jenslincke","tags":[]},"5594":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"5595":{"varMapping":{"__isSmartRef__":true,"id":5596},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":5597},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5596":{"this":{"__isSmartRef__":true,"id":5084}},"5597":{"timestamp":{"__isSmartRef__":true,"id":5598},"user":"jenslincke","tags":[]},"5598":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"5599":{"_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(1831.4,1913.5)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"5600":{"partsSpaceName":"PartsBin/Jens/","comment":"A plain simple rectangle","migrationLevel":4,"partName":"EnergySimulation","changes":[{"__isSmartRef__":true,"id":5601},{"__isSmartRef__":true,"id":5603},{"__isSmartRef__":true,"id":5605},{"__isSmartRef__":true,"id":5607},{"__isSmartRef__":true,"id":5609},{"__isSmartRef__":true,"id":5611},{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5615},{"__isSmartRef__":true,"id":5617},{"__isSmartRef__":true,"id":5619},{"__isSmartRef__":true,"id":5621},{"__isSmartRef__":true,"id":5623},{"__isSmartRef__":true,"id":5625},{"__isSmartRef__":true,"id":5627},{"__isSmartRef__":true,"id":5629},{"__isSmartRef__":true,"id":5631},{"__isSmartRef__":true,"id":5633},{"__isSmartRef__":true,"id":5635},{"__isSmartRef__":true,"id":5637},{"__isSmartRef__":true,"id":5639},{"__isSmartRef__":true,"id":5641}],"lastModifiedDate":{"__isSmartRef__":true,"id":5643},"revisionOnLoad":204760,"#startLetters":"addR","requiredModules":["lively.experimental.MorphAccessor","lively.experimental.Autocompletion","lively.ast.IDESupport"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5601":{"date":{"__isSmartRef__":true,"id":5602},"author":"jenslincke","message":"no comment","id":"33EE3DAC-F868-43CF-9597-A716E6AEED92"},"5602":{"isSerializedDate":true,"string":"Thu Jan 23 2014 14:03:44 GMT+0100 (CET)"},"5603":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":5604}},"5604":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"5605":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":5606}},"5606":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"5607":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":5608}},"5608":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"5609":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":5610}},"5610":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"5611":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":5612}},"5612":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"5613":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":5614}},"5614":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"5615":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":5616}},"5616":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"5617":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":5618}},"5618":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"5619":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":5620}},"5620":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"5621":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":5622}},"5622":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"5623":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":5624}},"5624":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"5625":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":5626}},"5626":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"5627":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":5628}},"5628":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"5629":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":5630}},"5630":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"5631":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":5632}},"5632":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"5633":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":5634}},"5634":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"5635":{"date":{"__isSmartRef__":true,"id":5636},"author":"jenslincke","message":"no comment","id":"D38B829D-47C7-49C3-A9A0-F84055B86575"},"5636":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:27:03 GMT+0100 (CET)"},"5637":{"date":{"__isSmartRef__":true,"id":5638},"author":"jenslincke","message":"no comment","id":"C0486ADB-A96C-42BD-8E5F-620F67E985F2"},"5638":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:54:33 GMT+0100 (CET)"},"5639":{"date":{"__isSmartRef__":true,"id":5640},"author":"jenslincke","message":"no comment","id":"44C71D6F-8ACE-49DF-B8E7-7BF3381E090F"},"5640":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:56:58 GMT+0100 (CET)"},"5641":{"date":{"__isSmartRef__":true,"id":5642},"author":"jenslincke","message":"no comment","id":"953778E2-A8B2-4B33-B485-031691989E11"},"5642":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:32:56 GMT+0100 (CET)"},"5643":{"isSerializedDate":true,"string":"Wed Jan 29 2014 11:31:01 GMT+0100 (CET)"},"5644":{"morph":{"__isSmartRef__":true,"id":1516},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5645":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5646}},"5646":{"test01IsMorph":{"__isSmartRef__":true,"id":5647}},"5647":{"varMapping":{"__isSmartRef__":true,"id":5648},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":5649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5648":{"this":{"__isSmartRef__":true,"id":5645}},"5649":{},"5650":{"onrestore":{"__isSmartRef__":true,"id":5651},"installLayers":{"__isSmartRef__":true,"id":5659},"simulateStep":{"__isSmartRef__":true,"id":5663},"log":{"__isSmartRef__":true,"id":5667},"clearLog":{"__isSmartRef__":true,"id":5671},"getSimParts":{"__isSmartRef__":true,"id":5675},"showAllProperties":{"__isSmartRef__":true,"id":5679},"initSimulation":{"__isSmartRef__":true,"id":5683},"simulateOneStep":{"__isSmartRef__":true,"id":5687},"resetStatus":{"__isSmartRef__":true,"id":5691},"reset":{"__isSmartRef__":true,"id":5695},"resetSourceHighlighting":{"__isSmartRef__":true,"id":5699}},"5651":{"varMapping":{"__isSmartRef__":true,"id":5652},"source":"function onrestore() {\n try {\n this.installLayers()\n } catch(e) {\n console.log(\"Error installing layers for object: \" + e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5652":{"this":{"__isSmartRef__":true,"id":1516},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5653}},"5653":{"$super":{"__isSmartRef__":true,"id":5654}},"5654":{"varMapping":{"__isSmartRef__":true,"id":5655},"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":5656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5655":{"obj":{"__isSmartRef__":true,"id":1516},"name":"onrestore"},"5656":{},"5657":{"timestamp":{"__isSmartRef__":true,"id":5658},"user":"jenslincke","tags":[]},"5658":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:34:51 GMT+0100 (CET)"},"5659":{"varMapping":{"__isSmartRef__":true,"id":5660},"source":"function installLayers() { \n\nError.subclass(\"MorphNameNotFoundError\", {\n name: \"MorphNameNotFoundError\",\n initialize: function(name, object) {\n this.object = object\n this.morphName = name\n this.message = \"\\\"\" + name + \"\\\" not found\"\n }\n});\n\ncop.create(\"ScriptSyntaxHighlightingLayer\").refineClass(lively.ast.JSSyntaxHighlighter, {\n styleTextMorph: function(morph) {\n // console.log(\"start style \" + morph + \" \" + new Date())\n var r = cop.proceed(morph)\n if (morph.highligtScriptNames) {\n morph.highligtScriptNames()\n }\n // console.log(\"stop style \" + morph)\n return r\n }\n}).beGlobal();\n\ncop.create(\"ForceNameFoundLayer\").refineClass(lively.morphic.Morph, {\n get: function(name) {\n var result = cop.proceed(name)\n if (!result) throw new MorphNameNotFoundError(name)\n return result\n }\n})\n\n}","funcProperties":{"__isSmartRef__":true,"id":5661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5660":{"this":{"__isSmartRef__":true,"id":1516}},"5661":{"timestamp":{"__isSmartRef__":true,"id":5662},"user":"jenslincke","tags":[]},"5662":{"isSerializedDate":true,"string":"Tue Feb 04 2014 23:14:10 GMT+0100 (CET)"},"5663":{"varMapping":{"__isSmartRef__":true,"id":5664},"source":"function simulateStep() {\n this.clearLog()\n this.resetStatus()\n var parts = this.getSimParts()\n // cop.withLayers([ForceNameFoundLayer], function() {\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 // }.bind(this))\n this.showAllProperties()\n}","funcProperties":{"__isSmartRef__":true,"id":5665},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5664":{"this":{"__isSmartRef__":true,"id":1516}},"5665":{"timestamp":{"__isSmartRef__":true,"id":5666},"user":"jenslincke","tags":[]},"5666":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:50:29 GMT+0100 (CET)"},"5667":{"varMapping":{"__isSmartRef__":true,"id":5668},"source":"function log(s) {\n this.get(\"Log\").textString += s + \"\\n\"\n this.get(\"Log\").scrollToBottom()\n}","funcProperties":{"__isSmartRef__":true,"id":5669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5668":{"this":{"__isSmartRef__":true,"id":1516}},"5669":{"timestamp":{"__isSmartRef__":true,"id":5670},"user":"jenslincke","tags":[]},"5670":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:39:54 GMT+0100 (CET)"},"5671":{"varMapping":{"__isSmartRef__":true,"id":5672},"source":"function clearLog() {\n this.get(\"Log\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":5673},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5672":{"this":{"__isSmartRef__":true,"id":1516}},"5673":{"timestamp":{"__isSmartRef__":true,"id":5674},"user":"jenslincke","tags":[]},"5674":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:40:14 GMT+0100 (CET)"},"5675":{"varMapping":{"__isSmartRef__":true,"id":5676},"source":"function getSimParts() {\n return this.submorphs.select(function(ea) {\n return ea.isEnergySimulationPart\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5676":{"this":{"__isSmartRef__":true,"id":1516}},"5677":{"timestamp":{"__isSmartRef__":true,"id":5678},"user":"jenslincke","tags":[]},"5678":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:15:21 GMT+0100 (CET)"},"5679":{"varMapping":{"__isSmartRef__":true,"id":5680},"source":"function showAllProperties() {\n this.getSimParts().each(function(ea) {\n ea.printProperties()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5681},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5680":{"this":{"__isSmartRef__":true,"id":1516}},"5681":{"timestamp":{"__isSmartRef__":true,"id":5682},"user":"jenslincke","tags":[]},"5682":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:46:27 GMT+0100 (CET)"},"5683":{"varMapping":{"__isSmartRef__":true,"id":5684},"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":5685},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5684":{"this":{"__isSmartRef__":true,"id":1516}},"5685":{"timestamp":{"__isSmartRef__":true,"id":5686},"user":"jenslincke","tags":[]},"5686":{"isSerializedDate":true,"string":"Sat Jan 25 2014 23:11:49 GMT+0100 (CET)"},"5687":{"varMapping":{"__isSmartRef__":true,"id":5688},"source":"function simulateOneStep() {\n this.clearLog()\n this.getSimParts().each(function(ea) {\n if (ea.$ && ea.$.Stopped) { return };\n ea.simulateOneStep(this.deltaTime)\n }, this)\n this.showAllProperties()\n}","funcProperties":{"__isSmartRef__":true,"id":5689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5688":{"this":{"__isSmartRef__":true,"id":1516}},"5689":{"timestamp":{"__isSmartRef__":true,"id":5690},"user":"jenslincke","tags":[]},"5690":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:35 GMT+0100 (CET)"},"5691":{"varMapping":{"__isSmartRef__":true,"id":5692},"source":"function resetStatus() {\n this.getSimParts().each(function(ea) {\n ea.resetStatus()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5692":{"this":{"__isSmartRef__":true,"id":1516}},"5693":{"timestamp":{"__isSmartRef__":true,"id":5694},"user":"jenslincke","tags":[]},"5694":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:52:22 GMT+0100 (CET)"},"5695":{"varMapping":{"__isSmartRef__":true,"id":5696},"source":"function reset() {\n this.partsBinMetaInfo.addRequiredModule(\"lively.experimental.MorphAccessor\")\n this.partsBinMetaInfo.addRequiredModule(\"lively.experimental.Autocompletion\")\n this.partsBinMetaInfo.addRequiredModule(\"lively.ast.IDESupport\")\n}","funcProperties":{"__isSmartRef__":true,"id":5697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5696":{"this":{"__isSmartRef__":true,"id":1516}},"5697":{"timestamp":{"__isSmartRef__":true,"id":5698},"user":"jenslincke","tags":[]},"5698":{"isSerializedDate":true,"string":"Tue Feb 04 2014 23:14:00 GMT+0100 (CET)"},"5699":{"varMapping":{"__isSmartRef__":true,"id":5700},"source":"function resetSourceHighlighting() {\n this.getSimParts().each(function(ea) {\n ea.resetSourceHighlighting()\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5701},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5700":{"this":{"__isSmartRef__":true,"id":1516}},"5701":{"timestamp":{"__isSmartRef__":true,"id":5702},"user":"jenslincke","tags":[]},"5702":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:10 GMT+0100 (CET)"},"5703":{"migrateFrom":{"__isSmartRef__":true,"id":5704},"parsePropeties":{"__isSmartRef__":true,"id":5708},"printProperties":{"__isSmartRef__":true,"id":5712},"parseSimulationSource":{"__isSmartRef__":true,"id":5716},"simulateStep":{"__isSmartRef__":true,"id":5720},"showError":{"__isSmartRef__":true,"id":5723},"throwSimulationProblem":{"__isSmartRef__":true,"id":5727},"updateUI":{"__isSmartRef__":true,"id":5731},"resetStatus":{"__isSmartRef__":true,"id":5735},"simulateOneStep":{"__isSmartRef__":true,"id":5739},"reset":{"__isSmartRef__":true,"id":5743},"resetScriptAnalysis":{"__isSmartRef__":true,"id":5747},"ensureScriptAnalysis":{"__isSmartRef__":true,"id":5751},"logReference":{"__isSmartRef__":true,"id":5755},"showScriptAnalysis":{"__isSmartRef__":true,"id":5759},"showReferenceTo":{"__isSmartRef__":true,"id":5763},"resetSourceHighlighting":{"__isSmartRef__":true,"id":5767},"showNameReference":{"__isSmartRef__":true,"id":5771}},"5704":{"varMapping":{"__isSmartRef__":true,"id":5705},"source":"function migrateFrom(other) {\n this.$ = Object.clone(other.$)\n this.units = Object.clone(other.units)\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}","funcProperties":{"__isSmartRef__":true,"id":5706},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5705":{"this":{"__isSmartRef__":true,"id":1056}},"5706":{"timestamp":{"__isSmartRef__":true,"id":5707},"user":"jenslincke","tags":[]},"5707":{"isSerializedDate":true,"string":"Thu Jan 30 2014 12:48:02 GMT+0100 (CET)"},"5708":{"varMapping":{"__isSmartRef__":true,"id":5709},"source":"function parsePropeties() {\n var obj = {}\n var units = {}\n this.resetStatus()\n try {\n\n this.get(\"PropertiesText\").textString.split(\"\\n\").each(function(line){\n var m = line.match(/([^:]*): *(.*)/)\n if (m) {\n var m2 = m[2].match(/(.*) \\[([^\\]]+)\\]/)\n if (m2) {\n units[m[1]] = m2[2]\n obj[m[1]] = JSON.parse(m2[1])\n } else {\n obj[m[1]] = JSON.parse(m[2])\n }\n }\n })\n } catch(e) {\n this.showError(e)\n }\n this.$ = obj\n this.units = units\n return obj\n}","funcProperties":{"__isSmartRef__":true,"id":5710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5709":{"this":{"__isSmartRef__":true,"id":1056}},"5710":{"timestamp":{"__isSmartRef__":true,"id":5711},"user":"jenslincke","tags":[]},"5711":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:32:03 GMT+0100 (CET)"},"5712":{"varMapping":{"__isSmartRef__":true,"id":5713},"source":"function printProperties() {\n var obj = this.$\n this.get(\"PropertiesText\").textString = Properties.own(obj).collect(function(ea) {\n var str = ea + \": \" + JSON.stringify(obj[ea] && obj[ea].roundTo ? obj[ea].roundTo(0.0001) : obj[ea])\n if (this.units && this.units[ea]) str += \" [\" +this.units[ea] +\"]\"\n return str\n }, this).join(\"\\n\")\n}","funcProperties":{"__isSmartRef__":true,"id":5714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5713":{"this":{"__isSmartRef__":true,"id":1056}},"5714":{"timestamp":{"__isSmartRef__":true,"id":5715},"user":"jenslincke","tags":[]},"5715":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:34:48 GMT+0100 (CET)"},"5716":{"varMapping":{"__isSmartRef__":true,"id":5717},"source":"function parseSimulationSource() {\n this.resetStatus()\n var str = this.get(\"SimulationText\").textString\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":5718},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5717":{"this":{"__isSmartRef__":true,"id":1056}},"5718":{"timestamp":{"__isSmartRef__":true,"id":5719},"user":"jenslincke","tags":[]},"5719":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:12:57 GMT+0100 (CET)"},"5720":{"varMapping":{"__isSmartRef__":true,"id":5721},"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}\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\n} catch(e) {this.showError(e)}}","funcProperties":{"__isSmartRef__":true,"id":5722},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5721":{"this":{"__isSmartRef__":true,"id":1056}},"5722":{},"5723":{"varMapping":{"__isSmartRef__":true,"id":5724},"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 if(e.name == \"MorphNameNotFoundError\") {\n var regEx = new RegExp(\"#\"+e.morphName,\"g\")\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeRegex(regEx, {\n backgroundColor: Color.red\n })\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n \n }\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":5725},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5724":{"this":{"__isSmartRef__":true,"id":1056}},"5725":{"timestamp":{"__isSmartRef__":true,"id":5726},"user":"jenslincke","tags":[]},"5726":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:11:23 GMT+0100 (CET)"},"5727":{"varMapping":{"__isSmartRef__":true,"id":5728},"source":"function throwSimulationProblem(s) {\n throw {isSimulationProblem: true, value: s}\n}","funcProperties":{"__isSmartRef__":true,"id":5729},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5728":{"this":{"__isSmartRef__":true,"id":1056}},"5729":{"timestamp":{"__isSmartRef__":true,"id":5730},"user":"jenslincke","tags":[]},"5730":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:32:56 GMT+0100 (CET)"},"5731":{"varMapping":{"__isSmartRef__":true,"id":5732},"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":5733},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5732":{"this":{"__isSmartRef__":true,"id":1056}},"5733":{"timestamp":{"__isSmartRef__":true,"id":5734},"user":"jenslincke","tags":[]},"5734":{"isSerializedDate":true,"string":"Sun Jan 26 2014 15:22:09 GMT+0100 (CET)"},"5735":{"varMapping":{"__isSmartRef__":true,"id":5736},"source":"function resetStatus() {\n this.get(\"Status\").setFill(null)\n this.get(\"Status\").setTextColor(Color.black)\n this.get(\"Status\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":5737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5736":{"this":{"__isSmartRef__":true,"id":1056}},"5737":{"timestamp":{"__isSmartRef__":true,"id":5738},"user":"jenslincke","tags":[]},"5738":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:54:04 GMT+0100 (CET)"},"5739":{"varMapping":{"__isSmartRef__":true,"id":5740},"source":"function simulateOneStep(dt) {\n if (dt === undefined)\n dt = this.owner.deltaTime;\n try {\n cop.withLayers([ForceNameFoundLayer], function() {\n this.simulateStep(dt)\n }.bind(this))\n } catch(e) {\n this.showError(e)\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5741},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5740":{"this":{"__isSmartRef__":true,"id":1056}},"5741":{"timestamp":{"__isSmartRef__":true,"id":5742},"user":"jenslincke","tags":[]},"5742":{"isSerializedDate":true,"string":"Tue Jan 28 2014 15:05:58 GMT+0100 (CET)"},"5743":{"varMapping":{"__isSmartRef__":true,"id":5744},"source":"function reset() {\n \n\n}","funcProperties":{"__isSmartRef__":true,"id":5745},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5744":{"this":{"__isSmartRef__":true,"id":1056}},"5745":{"timestamp":{"__isSmartRef__":true,"id":5746},"user":"jenslincke","tags":[]},"5746":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:35:44 GMT+0100 (CET)"},"5747":{"varMapping":{"__isSmartRef__":true,"id":5748},"source":"function resetScriptAnalysis() {\n this.scriptAnalysis = {}\n}","funcProperties":{"__isSmartRef__":true,"id":5749},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5748":{"this":{"__isSmartRef__":true,"id":1056}},"5749":{"timestamp":{"__isSmartRef__":true,"id":5750},"user":"jenslincke","tags":[]},"5750":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:36:12 GMT+0100 (CET)"},"5751":{"varMapping":{"__isSmartRef__":true,"id":5752},"source":"function ensureScriptAnalysis(reset) {\n if (!this.scriptAnalysis || reset)\n this.scriptAnalysis = {\n referencedBy: {},\n }\n return this.scriptAnalysis\n}","funcProperties":{"__isSmartRef__":true,"id":5753},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5752":{"this":{"__isSmartRef__":true,"id":1056}},"5753":{"timestamp":{"__isSmartRef__":true,"id":5754},"user":"jenslincke","tags":[]},"5754":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:09 GMT+0100 (CET)"},"5755":{"varMapping":{"__isSmartRef__":true,"id":5756},"source":"function logReference(other, last) {\n this.ensureScriptAnalysis().referencedBy[other.name] = last\n}","funcProperties":{"__isSmartRef__":true,"id":5757},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5756":{"this":{"__isSmartRef__":true,"id":1056}},"5757":{"timestamp":{"__isSmartRef__":true,"id":5758},"user":"jenslincke","tags":[]},"5758":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:42:15 GMT+0100 (CET)"},"5759":{"varMapping":{"__isSmartRef__":true,"id":5760},"source":"function showScriptAnalysis() {\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n Properties.own(this.ensureScriptAnalysis().referencedBy).each(function(name) {\n var morph = this.get(name)\n if (morph && morph.showReferenceTo) morph.showReferenceTo(this.name) \n }, this)\n}","funcProperties":{"__isSmartRef__":true,"id":5761},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5760":{"this":{"__isSmartRef__":true,"id":1056}},"5761":{"timestamp":{"__isSmartRef__":true,"id":5762},"user":"jenslincke","tags":[]},"5762":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:55:26 GMT+0100 (CET)"},"5763":{"varMapping":{"__isSmartRef__":true,"id":5764},"source":"function showReferenceTo(name) {\n // this.showReferenceTo(\"HeatStorage\")\n this.get(\"SimulationText\").emphasizeRegex(new RegExp(\"#\" + name, \"g\"),{\n backgroundColor: Color.yellow\n })\n}","funcProperties":{"__isSmartRef__":true,"id":5765},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5764":{"this":{"__isSmartRef__":true,"id":1056}},"5765":{"timestamp":{"__isSmartRef__":true,"id":5766},"user":"jenslincke","tags":[]},"5766":{"isSerializedDate":true,"string":"Tue Jan 28 2014 17:53:25 GMT+0100 (CET)"},"5767":{"varMapping":{"__isSmartRef__":true,"id":5768},"source":"function resetSourceHighlighting() {\n var range = this.get(\"SimulationText\").getSelectionRange()\n this.get(\"SimulationText\").emphasizeAll({backgroundColor: null})\n if (range) this.get(\"SimulationText\").setSelectionRange(range[0], range[1])\n}","funcProperties":{"__isSmartRef__":true,"id":5769},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5768":{"this":{"__isSmartRef__":true,"id":1056}},"5769":{"timestamp":{"__isSmartRef__":true,"id":5770},"user":"jenslincke","tags":[]},"5770":{"isSerializedDate":true,"string":"Tue Jan 28 2014 18:53:47 GMT+0100 (CET)"},"5771":{"varMapping":{"__isSmartRef__":true,"id":5772},"source":"function showNameReference(name) {\n\n if (this.owner.resetStatus) this.owner.resetSourceHighlighting()\n if (name ==this.lastNameReference) {\n this.lastNameReference = null\n return\n }\n this.lastNameReference = name;\n\n var morph = this.get(name)\n if (morph) {\n morph.show().invoke(\"setBorderColor\", Color.yellow)\n morph.showScriptAnalysis()\n }\n\n\n}","funcProperties":{"__isSmartRef__":true,"id":5773},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5772":{"this":{"__isSmartRef__":true,"id":1056}},"5773":{"timestamp":{"__isSmartRef__":true,"id":5774},"user":"jenslincke","tags":[]},"5774":{"isSerializedDate":true,"string":"Thu Jan 30 2014 11:13:25 GMT+0100 (CET)"},"5775":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":4,"partName":"List","comment":"a list morph","changes":[{"__isSmartRef__":true,"id":5776},{"__isSmartRef__":true,"id":5778},{"__isSmartRef__":true,"id":5780},{"__isSmartRef__":true,"id":5782}],"lastModifiedDate":{"__isSmartRef__":true,"id":5784},"revisionOnLoad":203793,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5776":{"author":"robertkrahn","message":"no comment","id":"3D0531CA-D241-4692-89F0-2FCC7621B8DE","date":{"__isSmartRef__":true,"id":5777}},"5777":{"isSerializedDate":true,"string":"Wed Oct 02 2013 00:29:07 GMT+0200 (CEST)"},"5778":{"author":"robertkrahn","message":"new morphic lists","id":"ACF81045-E200-4DA6-B0C6-B9AB94590E84","date":{"__isSmartRef__":true,"id":5779}},"5779":{"isSerializedDate":true,"string":"Mon Sep 30 2013 23:32:00 GMT+0200 (CEST)"},"5780":{"author":"undefined","message":"Click on scrollbar does not grab list","id":"16AABF98-2E7D-4875-9E66-CF86EB74AF93","date":{"__isSmartRef__":true,"id":5781}},"5781":{"isSerializedDate":true,"string":"Thu Mar 29 2012 14:39:24 GMT+0200 (CEST)"},"5782":{"date":{"__isSmartRef__":true,"id":5783},"author":"jenslincke","message":"reverted back ","id":"BD398F7A-14E2-4981-A43A-366A5B2AF5CD"},"5783":{"isSerializedDate":true,"string":"Thu Jan 16 2014 19:07:45 GMT+0100 (CET)"},"5784":{"isSerializedDate":true,"string":"Thu Jan 16 2014 19:05:34 GMT+0100 (CET)"},"5785":{"morph":{"__isSmartRef__":true,"id":1053},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5786":{"removeCurrent":{"__isSmartRef__":true,"id":5787}},"5787":{"varMapping":{"__isSmartRef__":true,"id":5788},"source":"function removeCurrent() {\n this.setList(this.getList().without(this.getSelectedItem()))\n}","funcProperties":{"__isSmartRef__":true,"id":5789},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5788":{"this":{"__isSmartRef__":true,"id":1053}},"5789":{"timestamp":{"__isSmartRef__":true,"id":5790},"user":"jenslincke","tags":[]},"5790":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:39:46 GMT+0100 (CET)"},"5791":{"submorphs":[{"__isSmartRef__":true,"id":5792}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5797},"eventHandler":{"__isSmartRef__":true,"id":5798},"_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":5792},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":5799},{"__isSmartRef__":true,"id":5801}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button1","partsBinMetaInfo":{"__isSmartRef__":true,"id":4045},"pinSpecs":[{"__isSmartRef__":true,"id":5803}],"owner":{"__isSmartRef__":true,"id":675},"_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5804},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(12.3,100.2)","distanceToDragEvent":"lively.pt(40.3,-15.1)"},"5792":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5793},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5794}],"eventHandler":{"__isSmartRef__":true,"id":5796},"_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":5791},"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)"},"5793":{"_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)"},"5794":{"style":{"__isSmartRef__":true,"id":5795},"chunkOwner":{"__isSmartRef__":true,"id":5792},"_id":"_194144","storedString":"remove","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5795":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5796":{"morph":{"__isSmartRef__":true,"id":5792},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5797":{"_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)"},"5798":{"morph":{"__isSmartRef__":true,"id":5791},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5799":{"sourceObj":{"__isSmartRef__":true,"id":5791},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5791},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":5800},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5800":{"source":{"__isSmartRef__":true,"id":5791},"target":{"__isSmartRef__":true,"id":5791}},"5801":{"sourceObj":{"__isSmartRef__":true,"id":5791},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1053},"targetMethodName":"removeCurrent","varMapping":{"__isSmartRef__":true,"id":5802},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5802":{"source":{"__isSmartRef__":true,"id":5791},"target":{"__isSmartRef__":true,"id":1053}},"5803":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"5804":{"doAction":{"__isSmartRef__":true,"id":5805}},"5805":{"varMapping":{"__isSmartRef__":true,"id":5806},"source":"function doAction() {\n \n}","funcProperties":{"__isSmartRef__":true,"id":5807},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5806":{"this":{"__isSmartRef__":true,"id":5791}},"5807":{"user":"undefined","tags":[],"timestamp":{"__isSmartRef__":true,"id":5808}},"5808":{"isSerializedDate":true,"string":"Tue Dec 11 2012 22:14:29 GMT+0100 (CET)"},"5809":{"submorphs":[],"scripts":[],"id":"F18B475B-97B1-48BF-BFE1-77338E2AF7A2","shape":{"__isSmartRef__":true,"id":5810},"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":873},"textChunks":[{"__isSmartRef__":true,"id":5811}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":5813},"_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":675},"_Rotation":0,"_Scale":1,"priorSelectionRange":[6,6],"__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)"},"5810":{"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)"},"5811":{"style":{"__isSmartRef__":true,"id":5812},"morph":{"__isSmartRef__":true,"id":5809},"chunkOwner":{"__isSmartRef__":true,"id":5809},"storedString":"prototypes","_id":"_100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5812":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5813":{"morph":{"__isSmartRef__":true,"id":5809},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5814":{"_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)"},"5815":{"partsSpaceName":"PartsBin/Jens","comment":"A helper tool....","migrationLevel":4,"partName":"PartMigrator","changes":[{"__isSmartRef__":true,"id":5816},{"__isSmartRef__":true,"id":5818},{"__isSmartRef__":true,"id":5820},{"__isSmartRef__":true,"id":5822},{"__isSmartRef__":true,"id":5824},{"__isSmartRef__":true,"id":5826},{"__isSmartRef__":true,"id":5828},{"__isSmartRef__":true,"id":5830},{"__isSmartRef__":true,"id":5832},{"__isSmartRef__":true,"id":5834},{"__isSmartRef__":true,"id":5836},{"__isSmartRef__":true,"id":5838},{"__isSmartRef__":true,"id":5840},{"__isSmartRef__":true,"id":5842},{"__isSmartRef__":true,"id":5844},{"__isSmartRef__":true,"id":5846},{"__isSmartRef__":true,"id":5848},{"__isSmartRef__":true,"id":5850},{"__isSmartRef__":true,"id":5852}],"lastModifiedDate":{"__isSmartRef__":true,"id":5854},"revisionOnLoad":204580,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5816":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","date":{"__isSmartRef__":true,"id":5817}},"5817":{"isSerializedDate":true,"string":"Fri Jun 21 2013 00:16:24 GMT+0200 (CEST)"},"5818":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","date":{"__isSmartRef__":true,"id":5819}},"5819":{"isSerializedDate":true,"string":"Thu May 30 2013 09:18:06 GMT+0200 (CEST)"},"5820":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","date":{"__isSmartRef__":true,"id":5821}},"5821":{"isSerializedDate":true,"string":"Wed Jan 23 2013 12:57:18 GMT+0100 (CET)"},"5822":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","date":{"__isSmartRef__":true,"id":5823}},"5823":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:36 GMT+0200 (CEST)"},"5824":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","date":{"__isSmartRef__":true,"id":5825}},"5825":{"isSerializedDate":true,"string":"Thu May 03 2012 15:51:30 GMT+0200 (CEST)"},"5826":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","date":{"__isSmartRef__":true,"id":5827}},"5827":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:53:45 GMT+0100 (CET)"},"5828":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","date":{"__isSmartRef__":true,"id":5829}},"5829":{"isSerializedDate":true,"string":"Sat Feb 25 2012 02:59:09 GMT+0100 (CET)"},"5830":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","date":{"__isSmartRef__":true,"id":5831}},"5831":{"isSerializedDate":true,"string":"Wed Mar 14 2012 10:42:26 GMT+0100 (CET)"},"5832":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","date":{"__isSmartRef__":true,"id":5833}},"5833":{"isSerializedDate":true,"string":"Mon Apr 09 2012 13:42:07 GMT+0200 (CEST)"},"5834":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","date":{"__isSmartRef__":true,"id":5835}},"5835":{"isSerializedDate":true,"string":"Mon Jun 18 2012 19:35:08 GMT+0200 (CEST)"},"5836":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","date":{"__isSmartRef__":true,"id":5837}},"5837":{"isSerializedDate":true,"string":"Thu Nov 22 2012 10:35:51 GMT+0100 (CET)"},"5838":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","date":{"__isSmartRef__":true,"id":5839}},"5839":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:42:31 GMT+0100 (CET)"},"5840":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","date":{"__isSmartRef__":true,"id":5841}},"5841":{"isSerializedDate":true,"string":"Fri Jan 18 2013 16:47:05 GMT+0100 (CET)"},"5842":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","date":{"__isSmartRef__":true,"id":5843}},"5843":{"isSerializedDate":true,"string":"Thu May 30 2013 00:36:50 GMT+0200 (CEST)"},"5844":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","date":{"__isSmartRef__":true,"id":5845}},"5845":{"isSerializedDate":true,"string":"Tue Jun 18 2013 20:49:27 GMT+0200 (CEST)"},"5846":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","date":{"__isSmartRef__":true,"id":5847}},"5847":{"isSerializedDate":true,"string":"Tue Jul 30 2013 08:20:51 GMT+0200 (CEST)"},"5848":{"date":{"__isSmartRef__":true,"id":5849},"author":"jenslincke","message":"no comment","id":"8DB648C0-0CE9-44EC-AD31-919E59DF4F79"},"5849":{"isSerializedDate":true,"string":"Thu Jan 23 2014 14:03:27 GMT+0100 (CET)"},"5850":{"date":{"__isSmartRef__":true,"id":5851},"author":"jenslincke","message":"no comment","id":"7C6FF70C-74BB-4079-B661-0BEEAFF0DF41"},"5851":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:27:11 GMT+0100 (CET)"},"5852":{"date":{"__isSmartRef__":true,"id":5853},"author":"jenslincke","message":"no comment","id":"F33DB561-7E24-4EFC-8723-C09E0F619A37"},"5853":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:57:37 GMT+0100 (CET)"},"5854":{"isSerializedDate":true,"string":"Mon Jan 27 2014 16:56:29 GMT+0100 (CET)"},"5855":{"morph":{"__isSmartRef__":true,"id":675},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5856":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5857}},"5857":{"test01IsMorph":{"__isSmartRef__":true,"id":5858}},"5858":{"varMapping":{"__isSmartRef__":true,"id":5859},"source":"function test01IsMorph(aPart) {\n this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":5860},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5859":{"this":{"__isSmartRef__":true,"id":5856}},"5860":{},"5861":{"migrateAllConnectors":{"__isSmartRef__":true,"id":5862},"clearWorld":{"__isSmartRef__":true,"id":5866},"migrateParts":{"__isSmartRef__":true,"id":5870},"migratePart":{"__isSmartRef__":true,"id":5874},"log":{"__isSmartRef__":true,"id":5878},"getTarget":{"__isSmartRef__":true,"id":5882},"clearLog":{"__isSmartRef__":true,"id":5886},"replaceReferencesInTargetAndSubmorphs":{"__isSmartRef__":true,"id":5890},"setTarget":{"__isSmartRef__":true,"id":5894},"addPrototype":{"__isSmartRef__":true,"id":5898}},"5862":{"varMapping":{"__isSmartRef__":true,"id":5863},"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":5864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5863":{"this":{"__isSmartRef__":true,"id":675}},"5864":{"timestamp":{"__isSmartRef__":true,"id":5865},"user":"jenslincke","tags":[]},"5865":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:41:21 GMT+0100 (CET)"},"5866":{"varMapping":{"__isSmartRef__":true,"id":5867},"source":"function clearWorld() {\n $world.submorphs.select(function(ea) {\n return ea.isEpiMorph\n }).invoke(\"remove\")\n\n}","funcProperties":{"__isSmartRef__":true,"id":5868},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5867":{"this":{"__isSmartRef__":true,"id":675}},"5868":{"timestamp":{"__isSmartRef__":true,"id":5869},"user":"jenslincke","tags":[]},"5869":{"isSerializedDate":true,"string":"Wed Jan 22 2014 16:52:31 GMT+0100 (CET)"},"5870":{"varMapping":{"__isSmartRef__":true,"id":5871},"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":5872},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5871":{"this":{"__isSmartRef__":true,"id":675}},"5872":{"timestamp":{"__isSmartRef__":true,"id":5873},"user":"jenslincke","tags":[]},"5873":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:41:44 GMT+0100 (CET)"},"5874":{"varMapping":{"__isSmartRef__":true,"id":5875},"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":5876},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5875":{"this":{"__isSmartRef__":true,"id":675}},"5876":{"timestamp":{"__isSmartRef__":true,"id":5877},"user":"jenslincke","tags":[]},"5877":{"isSerializedDate":true,"string":"Fri Jan 24 2014 20:01:40 GMT+0100 (CET)"},"5878":{"varMapping":{"__isSmartRef__":true,"id":5879},"source":"function log(s) {\n this.get(\"Log\").textString += s + \"\\n\"\n}","funcProperties":{"__isSmartRef__":true,"id":5880},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5879":{"this":{"__isSmartRef__":true,"id":675}},"5880":{"timestamp":{"__isSmartRef__":true,"id":5881},"user":"jenslincke","tags":[]},"5881":{"isSerializedDate":true,"string":"Wed Jan 22 2014 20:54:26 GMT+0100 (CET)"},"5882":{"varMapping":{"__isSmartRef__":true,"id":5883},"source":"function getTarget() {\n return this.target\n}","funcProperties":{"__isSmartRef__":true,"id":5884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5883":{"this":{"__isSmartRef__":true,"id":675}},"5884":{"timestamp":{"__isSmartRef__":true,"id":5885},"user":"jenslincke","tags":[]},"5885":{"isSerializedDate":true,"string":"Fri Jan 24 2014 21:44:46 GMT+0100 (CET)"},"5886":{"varMapping":{"__isSmartRef__":true,"id":5887},"source":"function clearLog() {\n this.get(\"Log\").textString = \"\"\n}","funcProperties":{"__isSmartRef__":true,"id":5888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5887":{"this":{"__isSmartRef__":true,"id":675}},"5888":{"timestamp":{"__isSmartRef__":true,"id":5889},"user":"jenslincke","tags":[]},"5889":{"isSerializedDate":true,"string":"Wed Jan 22 2014 21:39:12 GMT+0100 (CET)"},"5890":{"varMapping":{"__isSmartRef__":true,"id":5891},"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":5892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5891":{"this":{"__isSmartRef__":true,"id":675}},"5892":{"timestamp":{"__isSmartRef__":true,"id":5893},"user":"jenslincke","tags":[]},"5893":{"isSerializedDate":true,"string":"Wed Jan 22 2014 22:11:19 GMT+0100 (CET)"},"5894":{"varMapping":{"__isSmartRef__":true,"id":5895},"source":"function setTarget(target) {\n this.target = target\n this.get(\"TargetNameText\").textString = target.name\n}","funcProperties":{"__isSmartRef__":true,"id":5896},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5895":{"this":{"__isSmartRef__":true,"id":675}},"5896":{"timestamp":{"__isSmartRef__":true,"id":5897},"user":"jenslincke","tags":[]},"5897":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:29:49 GMT+0100 (CET)"},"5898":{"varMapping":{"__isSmartRef__":true,"id":5899},"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":5900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5899":{"this":{"__isSmartRef__":true,"id":675}},"5900":{"timestamp":{"__isSmartRef__":true,"id":5901},"user":"jenslincke","tags":[]},"5901":{"isSerializedDate":true,"string":"Fri Jan 24 2014 19:46:00 GMT+0100 (CET)"},"5902":{"submorphs":[],"scripts":[],"id":"542E1246-898F-44A8-BBAD-6A562C65028F","shape":{"__isSmartRef__":true,"id":5903},"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":5904},"textChunks":[{"__isSmartRef__":true,"id":5909}],"charsReplaced":"WriteFirst 2014-01-24","lastFindLoc":21,"prevScroll":[0,0],"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":662.1211211211211,"_MinTextHeight":null,"eventHandler":{"__isSmartRef__":true,"id":5911},"derivationIds":[683,"F43C5DBF-97D8-4835-8CB7-2B6EAB81E196","80C3E6E0-6D02-44B9-9C91-6F24AE370E2F","B661A806-84A1-4EB2-93DC-55E6C2B60136"],"moved":true,"owner":{"__isSmartRef__":true,"id":0},"isBeingDragged":false,"previousSelection":[0,10],"_Rotation":0,"_Scale":1,"__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)"},"5903":{"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)"},"5904":{"partsSpaceName":"PartsBin/Text/","partName":"Title","comment":"A title morph template","changes":[{"__isSmartRef__":true,"id":5905},{"__isSmartRef__":true,"id":5907}],"migrationLevel":4,"revisionOnLoad":140039,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"5905":{"date":{"__isSmartRef__":true,"id":5906},"author":"jenslincke","message":"","id":"1390D6B7-2215-4E06-8C86-7500ED7702F2"},"5906":{"isSerializedDate":true,"string":"Wed Nov 09 2011 17:27:07 GMT+0100 (CET)"},"5907":{"date":{"__isSmartRef__":true,"id":5908},"author":"jenslincke","message":"initial","id":"2DA7C793-6A93-4D2F-A854-29DFAAE1BCE8"},"5908":{"isSerializedDate":true,"string":"Wed Nov 09 2011 17:26:44 GMT+0100 (CET)"},"5909":{"style":{"__isSmartRef__":true,"id":5910},"chunkOwner":{"__isSmartRef__":true,"id":5902},"_id":"_19","storedString":"Energy Simulation (Scripted)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5910":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5911":{"morph":{"__isSmartRef__":true,"id":5902},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5912":{"submorphs":[{"__isSmartRef__":true,"id":5913},{"__isSmartRef__":true,"id":5960},{"__isSmartRef__":true,"id":6054},{"__isSmartRef__":true,"id":6058},{"__isSmartRef__":true,"id":6062}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6066},"derivationIds":[null,"86D29A35-1063-47AB-99AA-AA4A7E61A693","0AE61595-B0EC-41BB-B6DC-E59AE85BCE7A","D140973A-3EA2-41B5-B2D0-B2DE86F64D5C","7B559CB3-DB91-4027-90FB-7EB6D0A40AA7","7B0FDE0B-9571-407B-BB82-631FE14872C2","D71EA0A3-5662-40E0-A49F-122905E5ABDD","FC0A2F61-88F7-4823-AF53-40400FC729FD","08321F12-C671-4D4E-96F2-3C6F1045686F","AE2DFAC4-D869-42AC-B840-3CF34F82D3B1","04D7B8FC-588F-45F5-904E-C1C7AFCEEB69","3C73C8CD-F5DD-4EFF-B41F-5282FACFAC2B","77F84A78-5D91-44F8-AB44-50882B98FE57"],"id":"F0E45DCB-7D16-45BE-8790-4B01C2A76D12","eventHandler":{"__isSmartRef__":true,"id":6067},"_ClipMode":"visible","__layered_droppingEnabled__":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":6068},"LK2":true,"targetMorph":{"__isSmartRef__":true,"id":5913},"reframeHandle":{"__isSmartRef__":true,"id":6054},"titleBar":{"__isSmartRef__":true,"id":5960},"collapsedTransform":{"__isSmartRef__":true,"id":6069},"expandedTransform":{"__isSmartRef__":true,"id":6070},"ignoreEventsOnExpand":false,"highlighted":false,"isBeingDragged":false,"showsHalos":false,"name":"SystemConsole","partsBinMetaInfo":{"__isSmartRef__":true,"id":6071},"moved":true,"isCopyMorphRef":true,"morphRefId":1,"#startLetters":"","helperMorphs":[{"__isSmartRef__":true,"id":6087}],"state":"expanded","cameForward":false,"rightReframeHandle":{"__isSmartRef__":true,"id":6062},"bottomReframeHandle":{"__isSmartRef__":true,"id":6058},"_Rotation":0,"_Scale":1.01,"_StyleClassNames":["Morph","Window"],"owner":{"__isSmartRef__":true,"id":0},"prevScroll":[0,0],"__serializedExpressions__":["_Position","contentOffset","collapsedExtent","expandedExtent","prevDragPos","expandedPosition","collapsedPosition","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6093},"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withLayers":["Global.PreventDroppingLayer"],"withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(1859.5,3.8)","contentOffset":"lively.pt(0.0,21.0)","collapsedExtent":"lively.pt(699.0,22.0)","expandedExtent":"lively.pt(699.0,221.0)","prevDragPos":"lively.pt(2505.8,2.9)","expandedPosition":"lively.pt(33.0,437.0)","collapsedPosition":"lively.pt(33.0,437.0)","distanceToDragEvent":"lively.pt(434.8,-17.4)"},"5913":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5914},"derivationIds":[null,"4E5E2B48-0B47-4B2D-BC78-14E1BDBE0B57","1E8B0FF2-79E2-4C10-A156-4155F7653A1C","39B8534E-7236-4E9B-AE30-0E6BCBC6DF26","630E5BE3-7EEC-4C88-8285-FBC45C9F2DA9","E6CFAFE1-8BD8-4E27-AC2F-FEDD4D886BC5","DCB8C4E7-E368-477A-BAF9-A77655B6DD9C","4BD11753-BB6E-4350-804D-750082EC3AE8","D144FB1F-8A89-40DB-AABF-E3832EDD69CE","9569A8F7-B341-472E-A518-9F159CD2C1E9","E7DF3E53-4FF8-4094-AE45-8F3A24E75704","1DF9E6B2-9375-4C62-9274-CE4140C53D76","A9022E8C-DA20-409D-AA22-8EB5606FBCA4"],"id":"D1B314FE-A23F-4366-A343-F0670430FD21","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5915}],"eventHandler":{"__isSmartRef__":true,"id":5917},"_ClipMode":"auto","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Arial, sans-serif","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":5912},"_MaxTextWidth":631,"_MinTextWidth":631,"_MaxTextHeight":null,"_MinTextHeight":null,"layout":{"__isSmartRef__":true,"id":5918},"syntaxHighlightingWhileTyping":false,"doNotSerialize":["undoState"],"lastSyntaxHighlightTime":1337722418791,"accessibleInInactiveWindow":true,"charsReplaced":"","lastFindLoc":129,"isBeingDragged":false,"showsHalos":false,"parseErrors":null,"name":"SystemConsoleMain","#startLetters":"cl","_WordBreak":"break-all","prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5919},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.0,21.0)"},"5914":{"_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(1068.8,388.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(243,243,243)"},"5915":{"style":{"__isSmartRef__":true,"id":5916},"chunkOwner":{"__isSmartRef__":true,"id":5913},"_id":"_10","storedString":"\n12:51:40 cannot deal with fill [object Object]\n12:51:41 The world is now completely loaded.\n12:51:41 http://lively-kernel.org/repository/webwerkstatt/!svn/bc/206797/core/anonymous_module_5 loaded in 3142 ms\n12:51:43 INSTALL D3 Error handler\n12:51:45 Module load check done. 106 modules loaded.","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5916":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5917":{"morph":{"__isSmartRef__":true,"id":5913},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5918":{"resizeWidth":true,"resizeHeight":true},"5919":{"onrestore":{"__isSmartRef__":true,"id":5920},"reset":{"__isSmartRef__":true,"id":5928},"clear":{"__isSmartRef__":true,"id":5932},"log":{"__isSmartRef__":true,"id":5936},"addLine":{"__isSmartRef__":true,"id":5940},"error":{"__isSmartRef__":true,"id":5944},"warn":{"__isSmartRef__":true,"id":5948},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":5952}},"5920":{"varMapping":{"__isSmartRef__":true,"id":5921},"source":"function onrestore() {\n this.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":5926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5921":{"this":{"__isSmartRef__":true,"id":5913},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5922}},"5922":{"$super":{"__isSmartRef__":true,"id":5923}},"5923":{"varMapping":{"__isSmartRef__":true,"id":5924},"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":5925},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5924":{"obj":{"__isSmartRef__":true,"id":5913},"name":"onrestore"},"5925":{},"5926":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":5927}},"5927":{"isSerializedDate":true,"string":"Wed May 23 2012 22:52:02 GMT+0200 (CEST)"},"5928":{"varMapping":{"__isSmartRef__":true,"id":5929},"source":"function reset() {\n this.clear();\n if (!window.console.consumers.include(this)) {\n window.console.addConsumer(this);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5929":{"this":{"__isSmartRef__":true,"id":5913}},"5930":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":5931}},"5931":{"isSerializedDate":true,"string":"Tue May 22 2012 23:34:39 GMT+0200 (CEST)"},"5932":{"varMapping":{"__isSmartRef__":true,"id":5933},"source":"function clear() {\n this.setTextString('');\n}","funcProperties":{"__isSmartRef__":true,"id":5934},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5933":{"this":{"__isSmartRef__":true,"id":5913}},"5934":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":5935}},"5935":{"isSerializedDate":true,"string":"Wed May 23 2012 00:42:20 GMT+0200 (CEST)"},"5936":{"varMapping":{"__isSmartRef__":true,"id":5937},"source":"function log(msg) {\n this.addLine(Strings.format.call(null, msg, Array.from(arguments).splice(1)), {color: Color.web.darkgray.darker()});\n}","funcProperties":{"__isSmartRef__":true,"id":5938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5937":{"this":{"__isSmartRef__":true,"id":5913}},"5938":{"user":"ohshima","tags":[],"timestamp":{"__isSmartRef__":true,"id":5939}},"5939":{"isSerializedDate":true,"string":"Wed Jul 10 2013 19:33:41 GMT+0200 (CEST)"},"5940":{"varMapping":{"__isSmartRef__":true,"id":5941},"source":"function addLine(msg, style) {\n var chunk = this.createChunk();\n chunk.textString = \"\\n\" + new Date().format(\"HH:MM:ss\") + \" \" + msg;\n chunk.styleText(style);\n if (this.getScrollableNode()) this.scrollToBottom();\n}","funcProperties":{"__isSmartRef__":true,"id":5942},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5941":{"this":{"__isSmartRef__":true,"id":5913}},"5942":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":5943}},"5943":{"isSerializedDate":true,"string":"Wed May 23 2012 00:16:30 GMT+0200 (CEST)"},"5944":{"varMapping":{"__isSmartRef__":true,"id":5945},"source":"function error(msg) {\n this.addLine(msg, {color: Color.red});\n}","funcProperties":{"__isSmartRef__":true,"id":5946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5945":{"this":{"__isSmartRef__":true,"id":5913}},"5946":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":5947}},"5947":{"isSerializedDate":true,"string":"Wed May 23 2012 00:21:44 GMT+0200 (CEST)"},"5948":{"varMapping":{"__isSmartRef__":true,"id":5949},"source":"function warn(msg) {\n this.addLine(Strings.format.call(null, msg, Array.from(arguments).splice(1)), {color: Color.yellow.darker()});\n}","funcProperties":{"__isSmartRef__":true,"id":5950},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5949":{"this":{"__isSmartRef__":true,"id":5913}},"5950":{"user":"ohshima","tags":[],"timestamp":{"__isSmartRef__":true,"id":5951}},"5951":{"isSerializedDate":true,"string":"Fri Jul 12 2013 19:13:45 GMT+0200 (CEST)"},"5952":{"varMapping":{"__isSmartRef__":true,"id":5953},"source":"function onLoadFromPartsBin() {\n $super();\n this.reset();\n console.log('System console started successfully.');\n}","funcProperties":{"__isSmartRef__":true,"id":5958},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5953":{"this":{"__isSmartRef__":true,"id":5913},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5954}},"5954":{"$super":{"__isSmartRef__":true,"id":5955}},"5955":{"varMapping":{"__isSmartRef__":true,"id":5956},"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":5957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5956":{"obj":{"__isSmartRef__":true,"id":5913},"name":"onLoadFromPartsBin"},"5957":{},"5958":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":5959}},"5959":{"isSerializedDate":true,"string":"Wed May 23 2012 01:03:15 GMT+0200 (CEST)"},"5960":{"submorphs":[{"__isSmartRef__":true,"id":5961},{"__isSmartRef__":true,"id":5967},{"__isSmartRef__":true,"id":5980},{"__isSmartRef__":true,"id":5992},{"__isSmartRef__":true,"id":6005},{"__isSmartRef__":true,"id":6039}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6051},"eventHandler":{"__isSmartRef__":true,"id":6052},"_ClipMode":"visible","derivationIds":["76F18DA5-520E-44CA-ABC5-02415DC7B326","8A48DB59-5DA2-4F2F-9F16-DE53DB8DD581","6DF67AA9-B78F-433F-9651-02DF0FF3165B"],"id":"8C3EBA52-93AA-4A7E-BC3B-A66229B43BB2","__layered_droppingEnabled__":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6053},"windowMorph":{"__isSmartRef__":true,"id":5912},"label":{"__isSmartRef__":true,"id":5961},"closeButton":{"__isSmartRef__":true,"id":5967},"menuButton":{"__isSmartRef__":true,"id":5980},"collapseButton":{"__isSmartRef__":true,"id":5992},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":5912},"showsHalos":false,"prevScroll":[0,0],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"5961":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5962},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5963}],"eventHandler":{"__isSmartRef__":true,"id":5965},"_ClipMode":"hidden","derivationIds":["8B8F92D2-D177-498B-A2BA-04033A58B013","3D22A7E8-70EF-4099-85DA-AD0C04F70736","2CAF3618-23FD-4541-BEB8-D1C8BD9170A9"],"id":"D4A7D71B-B65C-4648-942C-0C7E91A17A31","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,"isLabel":true,"layout":{"__isSmartRef__":true,"id":5966},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":5960},"_StyleClassNames":["window-title"],"_TextStylingMode":true,"showsHalos":false,"prevScroll":[0,0],"__serializedExpressions__":["_TextColor","_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(20.0,3.0)","distanceToDragEvent":"lively.pt(404.6,-16.5)"},"5962":{"_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(1009.8,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"5963":{"style":{"__isSmartRef__":true,"id":5964},"chunkOwner":{"__isSmartRef__":true,"id":5961},"_id":"_19","storedString":"System Console","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5964":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5965":{"morph":{"__isSmartRef__":true,"id":5961},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5966":{"resizeWidth":true},"5967":{"submorphs":[{"__isSmartRef__":true,"id":5968}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5973},"eventHandler":{"__isSmartRef__":true,"id":5974},"_ClipMode":"visible","derivationIds":["A65991BD-FDAF-4014-875B-33E25997465F","48A886A3-D628-424E-86DD-C039A29F6D2B","A70332B7-A207-4016-8278-380069ADF08E"],"id":"B369EF14-79F8-45DB-BBD5-32B5BF60C223","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":5968},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":5960},"layout":{"__isSmartRef__":true,"id":5975},"_StyleClassNames":["close"],"attributeConnections":[{"__isSmartRef__":true,"id":5976},{"__isSmartRef__":true,"id":5978}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1048.8,3.0)"},"5968":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5969},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5970}],"eventHandler":{"__isSmartRef__":true,"id":5972},"_ClipMode":"hidden","derivationIds":["F8234BB5-3D02-4DA3-B2EE-717595293C01","9D26EC30-F95F-4193-BA91-2354D97B0E78","881D3F46-91C3-4215-8B79-B3E75895EB6C"],"id":"E2DAD389-9F4E-4E2B-BE16-19F6BE754136","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":5967},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,-1.0)"},"5969":{"_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(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"5970":{"style":{"__isSmartRef__":true,"id":5971},"chunkOwner":{"__isSmartRef__":true,"id":5968},"_id":"_5187","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5971":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5972":{"morph":{"__isSmartRef__":true,"id":5968},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5973":{"_BorderWidth":1,"_StrokeOpacity":0,"_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(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"5974":{"morph":{"__isSmartRef__":true,"id":5967},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5975":{"moveHorizontal":true},"5976":{"sourceObj":{"__isSmartRef__":true,"id":5967},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":5912},"targetMethodName":"getCloseHelp","varMapping":{"__isSmartRef__":true,"id":5977},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5977":{"source":{"__isSmartRef__":true,"id":5967},"target":{"__isSmartRef__":true,"id":5912}},"5978":{"sourceObj":{"__isSmartRef__":true,"id":5967},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5912},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":5979},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5979":{"source":{"__isSmartRef__":true,"id":5967},"target":{"__isSmartRef__":true,"id":5912}},"5980":{"submorphs":[{"__isSmartRef__":true,"id":5981}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5986},"eventHandler":{"__isSmartRef__":true,"id":5987},"_ClipMode":"visible","derivationIds":["BCB64BF8-8AD7-4420-88F2-ADD56F1A6D42","72111849-8584-4984-A9DB-6E8D0621A92C","02056E2D-F38D-4775-A484-919892D64AAE"],"id":"D85C0565-1A69-443E-83E3-68108D517B75","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":5981},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":5960},"attributeConnections":[{"__isSmartRef__":true,"id":5988},{"__isSmartRef__":true,"id":5990}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"_StyleClassNames":["Morph","Button","WindowControl"],"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(3.0,3.0)"},"5981":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5982},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5983}],"eventHandler":{"__isSmartRef__":true,"id":5985},"_ClipMode":"hidden","derivationIds":["A7A00620-E8E9-4E26-9177-A1E3B37D56F1","EBF5964E-10CC-45A5-931E-F7A3588BE93C","4F16C414-D8F6-4B9F-B802-94D50873EE38"],"id":"0311749C-2229-4374-9580-AD277C6A479F","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":5980},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,0.0)"},"5982":{"_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(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"5983":{"style":{"__isSmartRef__":true,"id":5984},"chunkOwner":{"__isSmartRef__":true,"id":5981},"_id":"_5189","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5984":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5985":{"morph":{"__isSmartRef__":true,"id":5981},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5986":{"_BorderWidth":1,"_StrokeOpacity":0,"_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(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"5987":{"morph":{"__isSmartRef__":true,"id":5980},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5988":{"sourceObj":{"__isSmartRef__":true,"id":5980},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":5912},"targetMethodName":"getMenuHelp","varMapping":{"__isSmartRef__":true,"id":5989},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5989":{"source":{"__isSmartRef__":true,"id":5980},"target":{"__isSmartRef__":true,"id":5912}},"5990":{"sourceObj":{"__isSmartRef__":true,"id":5980},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5912},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":5991},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"5991":{"source":{"__isSmartRef__":true,"id":5980},"target":{"__isSmartRef__":true,"id":5912}},"5992":{"submorphs":[{"__isSmartRef__":true,"id":5993}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5998},"eventHandler":{"__isSmartRef__":true,"id":5999},"_ClipMode":"visible","derivationIds":["502DA455-175B-435A-B6BC-DEE9945D31FE","A3AFE353-A017-4063-9D3C-45D58A894D38","4D94D3DE-6CA5-4E84-A0BC-35F4FF377237"],"id":"A87A3651-2B1D-4414-B28A-45F68F948669","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":5993},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":5960},"layout":{"__isSmartRef__":true,"id":6000},"attributeConnections":[{"__isSmartRef__":true,"id":6001},{"__isSmartRef__":true,"id":6003}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"isPressed":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1029.8,3.0)"},"5993":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5994},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":5995}],"eventHandler":{"__isSmartRef__":true,"id":5997},"_ClipMode":"hidden","derivationIds":["3C05BF51-B056-4FE7-BC27-DFCFD0C11F8A","39A96408-DF86-4693-AFFF-3076947ED762","ECB59632-BCC7-4B24-8976-6DFB616D0EF3"],"id":"C9AEA3BE-43FA-4583-8E38-A88ECF0D74FA","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"_WordBreak":"break-all","fixedHeight":true,"_InputAllowed":false,"_HandStyle":"default","allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":5992},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,1.0)"},"5994":{"_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(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"5995":{"style":{"__isSmartRef__":true,"id":5996},"chunkOwner":{"__isSmartRef__":true,"id":5993},"_id":"_5191","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5996":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5997":{"morph":{"__isSmartRef__":true,"id":5993},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5998":{"_BorderWidth":1,"_StrokeOpacity":0,"_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(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"5999":{"morph":{"__isSmartRef__":true,"id":5992},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6000":{"moveHorizontal":true},"6001":{"sourceObj":{"__isSmartRef__":true,"id":5992},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":5912},"targetMethodName":"getCollapseHelp","varMapping":{"__isSmartRef__":true,"id":6002},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6002":{"source":{"__isSmartRef__":true,"id":5992},"target":{"__isSmartRef__":true,"id":5912}},"6003":{"sourceObj":{"__isSmartRef__":true,"id":5992},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5912},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":6004},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6004":{"source":{"__isSmartRef__":true,"id":5992},"target":{"__isSmartRef__":true,"id":5912}},"6005":{"submorphs":[{"__isSmartRef__":true,"id":6006}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6011},"derivationIds":[null,"8DBAB1EA-9B8A-429A-9AF9-53F09F775741","74172FB9-0F53-4367-B358-67ED54AA3EC4","B5F8DB94-C434-4DE1-A232-C6CC4860A0AC","F88B9127-BBF9-4A6E-BE6F-0A8AA54A0346","B41404F8-6498-4AB6-8B80-5963FB1DA5FE","C6C74662-FB39-49DA-BB00-335D30DD7FAA","9781481D-52F0-485B-B3AB-30CC23A5D4B7","BEFC68A4-FE00-40AD-9E05-7AEA4E488638","3C190310-77A0-4EE4-BE1D-4DE1878CC35C","1D80DDED-264F-4D04-AB68-BAC5AA5B72AF","D75FC5A9-6E85-4A26-A825-3CF1BEB37D5B","43C1750A-39FC-43D9-8DCC-6C4690345487"],"id":"B4CA84D3-9E8B-4C1F-9382-D5DD89A4FF5E","eventHandler":{"__isSmartRef__":true,"id":6012},"_ClipMode":"visible","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":6006},"_ToolTip":"toggles display of global status messages","extraButton":true,"active":true,"attributeConnections":[{"__isSmartRef__":true,"id":6013}],"doNotSerialize":["layer"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"name":"ErrorHandlerButton","layout":{"__isSmartRef__":true,"id":6015},"orderInTaskBar":3,"owner":{"__isSmartRef__":true,"id":5960},"#startLetters":"get","isPressed":false,"_Rotation":0,"_Scale":0.9900990099009901,"lighterFill":{"__isSmartRef__":true,"id":6016},"normalFillInactive":{"__isSmartRef__":true,"id":6017},"__serializedExpressions__":["_Position","distanceToDragEvent","normalFill"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6018},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(40.0,1.1)","distanceToDragEvent":"lively.pt(34.3,-13.6)","normalFill":"Color.rgb(0,204,0)"},"6006":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6007},"derivationIds":[null,"4D9DA40E-38E0-46B6-9BCD-FBFFFABF3F81","66ADC9F1-A8EA-4E50-9D41-C78C31582EE0","EB0C121E-EFED-4AA5-BC65-35B5BDE8389A","8EE13917-775C-4E2A-92DC-0D65D8634994","10705F98-8DA6-4AD6-A427-4DF70E03ABE9","9E607BD3-84F7-40C7-A0FB-9D3A8F06A8D0","666E1259-9A56-41E9-91AA-63690F56662A","44761EFD-0A94-4170-9B86-55D968D54317","376E992E-7618-4A15-8EB8-3D65D63E4839","EBFFC21E-3C15-4914-8F80-45CC095A96D0","DB635E2C-E17A-48AE-A07F-06FB8A706ED6","40542DC7-DD79-4E93-B421-3E20D7A80899"],"id":"E75F5935-16BC-46CF-8548-B9F0751A78D1","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6008}],"eventHandler":{"__isSmartRef__":true,"id":6010},"_ClipMode":"hidden","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6005},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_MaxTextWidth":20,"_MinTextWidth":20,"_MaxTextHeight":null,"_MinTextHeight":null,"showsHalos":false,"eventsAreDisabled":true,"_PointerEvents":"none","doNotSerialize":["undoState"],"_WordBreak":"break-all","__serializedExpressions__":["_TextColor"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(0,0,0)"},"6007":{"_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(20.0,18.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"6008":{"style":{"__isSmartRef__":true,"id":6009},"chunkOwner":{"__isSmartRef__":true,"id":6006},"storedString":"G","_id":"_4907","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6009":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6010":{"morph":{"__isSmartRef__":true,"id":6006},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6011":{"_BorderWidth":1,"_BorderRadius":5,"_Opacity":1,"_BorderStyle":"solid","__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(20.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)","_Fill":"Color.rgb(0,204,0)"},"6012":{"morph":{"__isSmartRef__":true,"id":6005},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6013":{"sourceObj":{"__isSmartRef__":true,"id":6005},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":6005},"targetMethodName":"onFire","converterString":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":6014},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6014":{"source":{"__isSmartRef__":true,"id":6005},"target":{"__isSmartRef__":true,"id":6005}},"6015":{"resizeWidth":false,"resizeHeight":false,"moveHorizontal":false},"6016":{},"6017":{},"6018":{"onrestore":{"__isSmartRef__":true,"id":6019},"reset":{"__isSmartRef__":true,"id":6027},"onFire":{"__isSmartRef__":true,"id":6031},"createLayer":{"__isSmartRef__":true,"id":6035}},"6019":{"varMapping":{"__isSmartRef__":true,"id":6020},"source":"function onrestore() {\n this.reset();\n this.onFire();\n}","funcProperties":{"__isSmartRef__":true,"id":6025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6020":{"this":{"__isSmartRef__":true,"id":6005},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6021}},"6021":{"$super":{"__isSmartRef__":true,"id":6022}},"6022":{"varMapping":{"__isSmartRef__":true,"id":6023},"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":6024},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6023":{"obj":{"__isSmartRef__":true,"id":6005},"name":"onrestore"},"6024":{},"6025":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":6026}},"6026":{"isSerializedDate":true,"string":"Thu May 24 2012 19:08:39 GMT+0200 (CEST)"},"6027":{"varMapping":{"__isSmartRef__":true,"id":6028},"source":"function reset() {\n if (this.layer) this.layer.beNotGlobal();\n this.layer = null;\n this.setFill(this.normalFill = this.owner.menuButton.normalFill);\n this.doNotSerialize = ['layer'];\n}","funcProperties":{"__isSmartRef__":true,"id":6029},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6028":{"this":{"__isSmartRef__":true,"id":6005}},"6029":{"user":"robertkrahn","tags":[],"timestamp":{"__isSmartRef__":true,"id":6030}},"6030":{"isSerializedDate":true,"string":"Wed Jun 06 2012 15:58:21 GMT+0200 (CEST)"},"6031":{"varMapping":{"__isSmartRef__":true,"id":6032},"source":"function onFire() {\n if (!this.layer) this.createLayer();\n if (this.layer.isGlobal()) {\n this.layer.beNotGlobal();\n } else {\n this.layer.beGlobal();\n }\n this.setFill(this.normalFill = (this.layer.isGlobal() ?\n Color.green : this.owner.menuButton.normalFill));\n}","funcProperties":{"__isSmartRef__":true,"id":6033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6032":{"this":{"__isSmartRef__":true,"id":6005}},"6033":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":6034}},"6034":{"isSerializedDate":true,"string":"Wed May 23 2012 02:08:29 GMT+0200 (CEST)"},"6035":{"varMapping":{"__isSmartRef__":true,"id":6036},"source":"function createLayer() {\n var main = this.get(\"SystemConsoleMain\");\n this.layer = cop.createLayer(\"GlobalStatus\").refineClass(lively.morphic.World, {\n setStatusMessage: function (msg, color) {\n main.addLine(msg, {color: color});\n }\n });\n}","funcProperties":{"__isSmartRef__":true,"id":6037},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6036":{"this":{"__isSmartRef__":true,"id":6005}},"6037":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":6038}},"6038":{"isSerializedDate":true,"string":"Wed May 23 2012 02:06:13 GMT+0200 (CEST)"},"6039":{"submorphs":[{"__isSmartRef__":true,"id":6040}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6045},"derivationIds":[null,"ADC33688-68F4-4F07-BB55-2910235F3A5D","0B4877B5-7468-448D-85A4-B52DEC51384E","CDBD1F9D-B598-45D8-9B73-5DF9FCE358B6","6A412198-7AC2-4935-B396-5B73279BD8CA","07B28573-6267-4313-AC89-36B73BD961EA","4507B8AE-57F6-44F4-9F90-D5D04C49D724","CE9370C6-DB13-4DE3-9E04-9EA234BA94DE","B6CB1595-814A-4688-A370-4701670EAC2A","F2EF94ED-2B3E-4B41-A47F-B13BAE585ECA","217934D8-349C-4F26-B3CC-254D49DDFB39"],"id":"F2DDCA9C-2AA1-411A-8254-59A0949E4E72","eventHandler":{"__isSmartRef__":true,"id":6047},"_ClipMode":"visible","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":6040},"owner":{"__isSmartRef__":true,"id":5960},"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":6048}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"isPressed":false,"_Rotation":0,"_Scale":1,"_StyleClassNames":["Morph","Button","WindowControl"],"normalFill":{"__isSmartRef__":true,"id":6049},"lighterFill":{"__isSmartRef__":true,"id":6050},"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(20.0,0.9)","distanceToDragEvent":"lively.pt(30.5,-16.4)"},"6040":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6041},"derivationIds":[null,"E64FA17D-0B32-4CA4-9049-40F07154031A","82CCC5F4-5FCD-4B2B-BC4A-E628BA13E416","C1107766-61F9-4523-BF06-FF2A5BC53C03","46B8DE36-B448-4D66-BA40-0FEA6BA53EB6","EE80EF78-5817-482E-A968-D779F0124C4D","E8E0239B-6320-4729-A615-C50B5BB5FD37","8813AB8C-0CC2-4355-8024-C41BC03C740B","FC82D8EB-8F23-4045-B3FB-C13EE5BF26DB","64D437E5-AB51-4850-A745-0C1A2B60E721","0E6C9735-A0D6-4641-B408-7FDB9D0B20F4"],"id":"FD3246EA-7B0D-4BEB-BF71-1B6855E00DBE","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6042}],"eventHandler":{"__isSmartRef__":true,"id":6044},"_ClipMode":"hidden","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":6039},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"showsHalos":false,"doNotSerialize":["undoState"],"_WordBreak":"break-all","_Rotation":0,"_Scale":1,"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(0.9,2.0)","distanceToDragEvent":"lively.pt(33.6,-13.4)"},"6041":{"_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(17.0,17.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"6042":{"style":{"__isSmartRef__":true,"id":6043},"chunkOwner":{"__isSmartRef__":true,"id":6040},"storedString":"C","_id":"_4904","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6043":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6044":{"morph":{"__isSmartRef__":true,"id":6040},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6045":{"_BorderWidth":0,"_StrokeOpacity":0,"_BorderRadius":5,"_Fill":{"__isSmartRef__":true,"id":6046},"__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(17.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"6046":{},"6047":{"morph":{"__isSmartRef__":true,"id":6039},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6048":{"sourceObj":{"__isSmartRef__":true,"id":6039},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":5913},"targetMethodName":"clear","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6049":{},"6050":{},"6051":{"_AppearanceStylingMode":true,"_BorderStylingMode":true,"_BorderWidth":0,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1068.8,22.0)","_Padding":"lively.rect(0,0,0,0)"},"6052":{"morph":{"__isSmartRef__":true,"id":5960},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6053":{"resizeWidth":true,"adjustForNewBounds":true},"6054":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6055},"_ClipMode":"visible","derivationIds":["338C587C-6A11-432C-AE46-84705E55F859","174C71C2-A872-489C-9EB4-B1DC897E0545"],"id":"CF6F3301-623C-4A43-8E22-8675DD2097E2","__layered_droppingEnabled__":true,"halosEnabled":true,"type":"corner","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle corner"],"layout":{"__isSmartRef__":true,"id":6056},"owner":{"__isSmartRef__":true,"id":5912},"eventHandler":{"__isSmartRef__":true,"id":6057},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1054.8,395.0)"},"6055":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(14.0,14.0)","_Padding":"lively.rect(0,0,0,0)"},"6056":{"moveVertical":true,"moveHorizontal":true},"6057":{"morph":{"__isSmartRef__":true,"id":6054},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6058":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6059},"_ClipMode":"visible","derivationIds":["B002FD3B-4FFE-455B-811C-9D7EFE5A5215","41904F96-8B12-4A16-BCC4-7EC34999D799"],"id":"1539BD6B-7F4D-4490-AEBA-FAE8AF5F579C","__layered_droppingEnabled__":true,"halosEnabled":true,"type":"bottom","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle bottom"],"layout":{"__isSmartRef__":true,"id":6060},"owner":{"__isSmartRef__":true,"id":5912},"eventHandler":{"__isSmartRef__":true,"id":6061},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,405.0)"},"6059":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(1054.8,4.0)","_Padding":"lively.rect(0,0,0,0)"},"6060":{"moveVertical":true},"6061":{"morph":{"__isSmartRef__":true,"id":6058},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6062":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6063},"_ClipMode":"visible","derivationIds":["7EF76810-825B-463B-937C-79C09890DC9D","7A97F0A1-C7D7-4145-90AA-B7FB0F4D9794"],"id":"0B183372-C830-42E2-8431-065E45399900","__layered_droppingEnabled__":true,"halosEnabled":true,"type":"right","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle right"],"layout":{"__isSmartRef__":true,"id":6064},"owner":{"__isSmartRef__":true,"id":5912},"eventHandler":{"__isSmartRef__":true,"id":6065},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(1064.8,0.0)"},"6063":{"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(4.0,395.0)","_Padding":"lively.rect(0,0,0,0)"},"6064":{"moveHorizontal":true},"6065":{"morph":{"__isSmartRef__":true,"id":6062},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6066":{"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"__serializedExpressions__":["_Padding","_Extent","_Position"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(1068.8,409.0)","_Position":"lively.pt(0.0,0.0)"},"6067":{"morph":{"__isSmartRef__":true,"id":5912},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6068":{"adjustForNewBounds":true},"6069":{"a":1.002003004005006,"b":0,"c":0,"d":1.002003004005006,"e":33,"f":437,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6070":{"a":1.002003004005006,"b":0,"c":0,"d":1.002003004005006,"e":33,"f":437,"__LivelyClassName__":"lively.morphic.Similitude","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6071":{"partName":"SystemConsole","requiredModules":[],"comment":"a simple transcript to display console and log messages","changes":[{"__isSmartRef__":true,"id":6072},{"__isSmartRef__":true,"id":6074},{"__isSmartRef__":true,"id":6076},{"__isSmartRef__":true,"id":6078},{"__isSmartRef__":true,"id":6080},{"__isSmartRef__":true,"id":6082},{"__isSmartRef__":true,"id":6084}],"migrationLevel":8,"partsSpaceName":"PartsBin/Tools","lastModifiedDate":{"__isSmartRef__":true,"id":6086},"revisionOnLoad":196935,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6072":{"author":"jenslincke","message":"reset title bar","id":"2DCEBBF0-4B51-43BC-813B-CC370208C14F","date":{"__isSmartRef__":true,"id":6073}},"6073":{"isSerializedDate":true,"string":"Thu Nov 29 2012 10:09:19 GMT+0100 (CET)"},"6074":{"author":"robertkrahn","message":"fixed serialization issue created because of storing \"layer\"","id":"FDC20E55-9300-462B-9768-5311975F67FC","date":{"__isSmartRef__":true,"id":6075}},"6075":{"isSerializedDate":true,"string":"Wed Jun 06 2012 15:59:25 GMT+0200 (CEST)"},"6076":{"author":"cschuster","message":"better restore after save","id":"53EDF516-61FF-4F63-9601-7C8A47FAD9F8","date":{"__isSmartRef__":true,"id":6077}},"6077":{"isSerializedDate":true,"string":"Wed May 23 2012 22:54:32 GMT+0200 (CEST)"},"6078":{"author":"cschuster","message":"better restore after save","id":"49DAE26A-5B6A-4D19-958C-48F1BC2AAFB7","date":{"__isSmartRef__":true,"id":6079}},"6079":{"isSerializedDate":true,"string":"Wed May 23 2012 22:53:13 GMT+0200 (CEST)"},"6080":{"author":"cschuster","message":"better version","id":"CB2E74BB-718C-4318-8642-604779EA98B4","date":{"__isSmartRef__":true,"id":6081}},"6081":{"isSerializedDate":true,"string":"Tue May 22 2012 23:45:39 GMT+0200 (CEST)"},"6082":{"author":"ohshima","message":"no comment","id":"EF653486-890D-4844-893C-26263A869130","date":{"__isSmartRef__":true,"id":6083}},"6083":{"isSerializedDate":true,"string":"Wed Jul 10 2013 19:34:38 GMT+0200 (CEST)"},"6084":{"author":"ohshima","message":"no comment","id":"59FA34EA-90D8-4BF4-9682-86B3C0C518D8","date":{"__isSmartRef__":true,"id":6085}},"6085":{"isSerializedDate":true,"string":"Fri Jul 12 2013 19:14:45 GMT+0200 (CEST)"},"6086":{"isSerializedDate":true,"string":"Fri Jul 12 2013 19:13:03 GMT+0200 (CEST)"},"6087":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":6088},"derivationIds":[null,"60D9F599-2A8A-48B6-AE1B-23259CD039DA","B438E22E-581E-4F93-9768-30F932E10F7E","6648EC8E-79A1-45B7-8FC4-E4A812580161","096FD08B-3229-4112-A4A6-C9950D1A9443","44EE103C-3F1C-49E3-B9E9-347F729B0660","3B8BBC58-2ACD-466C-8E53-F26BE83121FF","CCA2C1AC-FB82-46D7-90EF-5A31AE9D7A8A","1F89F387-760B-41AF-82B2-A5517D4841D3","5275EC39-C363-4361-97D2-56B35EEC5B31"],"id":"F31108F8-717F-42D5-986B-7526FE86B8C3","_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":6089}],"eventHandler":{"__isSmartRef__":true,"id":6091},"_ClipMode":"hidden","grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":6092},"_Align":"center","eventsAreIgnored":true,"owner":null,"_MaxTextWidth":555,"_MinTextWidth":555,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":["undoState"],"doNotCopyProperties":[],"showsHalos":false,"_Rotation":0,"_Scale":1,"_WordBreak":"break-all","__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(180,20,20)","_Position":"lively.pt(60.0,3.0)"},"6088":{"_BorderWidth":0,"_Fill":null,"_BorderRadius":0,"__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(555.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"6089":{"style":{"__isSmartRef__":true,"id":6090},"chunkOwner":{"__isSmartRef__":true,"id":6087},"_id":"_4911","storedString":"System Console","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6090":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6091":{"morph":{"__isSmartRef__":true,"id":6087},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6092":{"resizeWidth":true},"6093":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":6094},"reset":{"__isSmartRef__":true,"id":6102},"onShutdown":{"__isSmartRef__":true,"id":6106}},"6094":{"varMapping":{"__isSmartRef__":true,"id":6095},"source":"function onLoadFromPartsBin() {\n $super();\n this.get(\"SystemConsoleMain\").onLoadFromPartsBin();\n}","funcProperties":{"__isSmartRef__":true,"id":6100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6095":{"this":{"__isSmartRef__":true,"id":5912},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6096}},"6096":{"$super":{"__isSmartRef__":true,"id":6097}},"6097":{"varMapping":{"__isSmartRef__":true,"id":6098},"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":6099},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6098":{"obj":{"__isSmartRef__":true,"id":5912},"name":"onLoadFromPartsBin"},"6099":{},"6100":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":6101}},"6101":{"isSerializedDate":true,"string":"Wed May 23 2012 01:03:53 GMT+0200 (CEST)"},"6102":{"varMapping":{"__isSmartRef__":true,"id":6103},"source":"function reset() {\n this.get(\"ErrorHandlerButton\").reset();\n this.get(\"SystemConsoleMain\").clear();\n}","funcProperties":{"__isSmartRef__":true,"id":6104},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6103":{"this":{"__isSmartRef__":true,"id":5912}},"6104":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":6105}},"6105":{"isSerializedDate":true,"string":"Wed May 23 2012 02:09:19 GMT+0200 (CEST)"},"6106":{"varMapping":{"__isSmartRef__":true,"id":6107},"source":"function onShutdown() {\n console.removeConsumer(this.get(\"SystemConsoleMain\"));\n}","funcProperties":{"__isSmartRef__":true,"id":6108},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6107":{"this":{"__isSmartRef__":true,"id":5912}},"6108":{"user":"cschuster","tags":[],"timestamp":{"__isSmartRef__":true,"id":6109}},"6109":{"isSerializedDate":true,"string":"Thu May 24 2012 19:32:00 GMT+0200 (CEST)"},"6110":{"submorphs":[],"scripts":[],"id":226,"shape":{"__isSmartRef__":true,"id":6111},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"showsMorphMenu":false,"halosEnabled":false,"registeredForMouseEvents":true,"_world":{"__isSmartRef__":true,"id":0},"carriesGrabbedMorphs":false,"eventHandler":{"__isSmartRef__":true,"id":6112},"_ClipMode":"visible","lastScrollTime":1392971515992,"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(1258.0,211.0)"},"6111":{"_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)"},"6112":{"morph":{"__isSmartRef__":true,"id":6110},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6113":{"_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(16800.0,16900.0)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"6114":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"6115":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6116":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","varMapping":{"__isSmartRef__":true,"id":6117},"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) { $upd(v); }\n }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"6117":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"6118":{"submorphs":[{"__isSmartRef__":true,"id":6119}],"scripts":[],"id":"F5FE5875-B313-43CC-A927-186A0A1F6C21","shape":{"__isSmartRef__":true,"id":6130},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":6131},"eventHandler":{"__isSmartRef__":true,"id":6231},"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":6232},"prevScroll":[0,0],"moved":true,"headRevision":146469,"_ClipMode":"visible","_Rotation":0,"_Scale":1,"isMetaTool":true,"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6233},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)","distanceToDragEvent":"lively.pt(171.0,-13.0)"},"6119":{"submorphs":[{"__isSmartRef__":true,"id":6120}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6126},"id":"D8178EF9-F894-4C23-804D-3A02C07DEB59","eventHandler":{"__isSmartRef__":true,"id":6127},"__layered_droppingEnabled__":true,"halosEnabled":true,"name":"ProgressIndicator","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6128},"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":6118},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":6129},"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)"},"6120":{"submorphs":[],"scripts":[],"id":"5CCA383A-7B52-4E2A-9B92-D183EF3B2FE7","shape":{"__isSmartRef__":true,"id":6121},"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":6122},"textChunks":[{"__isSmartRef__":true,"id":6123}],"charsReplaced":"MorphName","lastFindLoc":18,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":6125},"_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":6119},"_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)"},"6121":{"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)"},"6122":{"partsSpaceName":"PartsBin/Basic","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6123":{"style":{"__isSmartRef__":true,"id":6124},"chunkOwner":{"__isSmartRef__":true,"id":6120},"storedString":"loading part","_id":"_4371","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6124":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6125":{"morph":{"__isSmartRef__":true,"id":6120},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6126":{"_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)"},"6127":{"morph":{"__isSmartRef__":true,"id":6119},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6128":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6129":{"centeredHorizontal":true,"centeredVertical":true},"6130":{"_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)"},"6131":{"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":6132},{"__isSmartRef__":true,"id":6134},{"__isSmartRef__":true,"id":6136},{"__isSmartRef__":true,"id":6138},{"__isSmartRef__":true,"id":6140},{"__isSmartRef__":true,"id":6142},{"__isSmartRef__":true,"id":6144},{"__isSmartRef__":true,"id":6146},{"__isSmartRef__":true,"id":6148},{"__isSmartRef__":true,"id":6150},{"__isSmartRef__":true,"id":6152},{"__isSmartRef__":true,"id":6154},{"__isSmartRef__":true,"id":6156},{"__isSmartRef__":true,"id":6158},{"__isSmartRef__":true,"id":6160},{"__isSmartRef__":true,"id":6162},{"__isSmartRef__":true,"id":6164},{"__isSmartRef__":true,"id":6166},{"__isSmartRef__":true,"id":6168},{"__isSmartRef__":true,"id":6170},{"__isSmartRef__":true,"id":6172},{"__isSmartRef__":true,"id":6174},{"__isSmartRef__":true,"id":6176},{"__isSmartRef__":true,"id":6178},{"__isSmartRef__":true,"id":6180},{"__isSmartRef__":true,"id":6182},{"__isSmartRef__":true,"id":6184},{"__isSmartRef__":true,"id":6186},{"__isSmartRef__":true,"id":6188},{"__isSmartRef__":true,"id":6190},{"__isSmartRef__":true,"id":6192},{"__isSmartRef__":true,"id":6194},{"__isSmartRef__":true,"id":6196},{"__isSmartRef__":true,"id":6198},{"__isSmartRef__":true,"id":6200},{"__isSmartRef__":true,"id":6202},{"__isSmartRef__":true,"id":6204},{"__isSmartRef__":true,"id":6206},{"__isSmartRef__":true,"id":6208},{"__isSmartRef__":true,"id":6210},{"__isSmartRef__":true,"id":6212},{"__isSmartRef__":true,"id":6214},{"__isSmartRef__":true,"id":6216},{"__isSmartRef__":true,"id":6218},{"__isSmartRef__":true,"id":6220},{"__isSmartRef__":true,"id":6222},{"__isSmartRef__":true,"id":6224},{"__isSmartRef__":true,"id":6226},{"__isSmartRef__":true,"id":6228}],"lastModifiedDate":{"__isSmartRef__":true,"id":6230},"revisionOnLoad":194364,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"6132":{"date":{"__isSmartRef__":true,"id":6133},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"6133":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"6134":{"date":{"__isSmartRef__":true,"id":6135},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"6135":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"6136":{"date":{"__isSmartRef__":true,"id":6137},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"6137":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"6138":{"date":{"__isSmartRef__":true,"id":6139},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"6139":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"6140":{"date":{"__isSmartRef__":true,"id":6141},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"6141":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"6142":{"date":{"__isSmartRef__":true,"id":6143},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"6143":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"6144":{"date":{"__isSmartRef__":true,"id":6145},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"6145":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"6146":{"date":{"__isSmartRef__":true,"id":6147},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"6147":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"6148":{"date":{"__isSmartRef__":true,"id":6149},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"6149":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"6150":{"date":{"__isSmartRef__":true,"id":6151},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"6151":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"6152":{"date":{"__isSmartRef__":true,"id":6153},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"6153":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"6154":{"date":{"__isSmartRef__":true,"id":6155},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"6155":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"6156":{"date":{"__isSmartRef__":true,"id":6157},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"6157":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"6158":{"date":{"__isSmartRef__":true,"id":6159},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"6159":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"6160":{"date":{"__isSmartRef__":true,"id":6161},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"6161":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"6162":{"date":{"__isSmartRef__":true,"id":6163},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"6163":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"6164":{"date":{"__isSmartRef__":true,"id":6165},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"6165":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"6166":{"date":{"__isSmartRef__":true,"id":6167},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"6167":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"6168":{"date":{"__isSmartRef__":true,"id":6169},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"6169":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"6170":{"date":{"__isSmartRef__":true,"id":6171},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"6171":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"6172":{"date":{"__isSmartRef__":true,"id":6173},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"6173":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"6174":{"date":{"__isSmartRef__":true,"id":6175},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"6175":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"6176":{"date":{"__isSmartRef__":true,"id":6177},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"6177":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"6178":{"date":{"__isSmartRef__":true,"id":6179},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"6179":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"6180":{"date":{"__isSmartRef__":true,"id":6181},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"6181":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"6182":{"date":{"__isSmartRef__":true,"id":6183},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"6183":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"6184":{"date":{"__isSmartRef__":true,"id":6185},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"6185":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"6186":{"date":{"__isSmartRef__":true,"id":6187},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"6187":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"6188":{"date":{"__isSmartRef__":true,"id":6189},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"6189":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"6190":{"date":{"__isSmartRef__":true,"id":6191},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"6191":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"6192":{"date":{"__isSmartRef__":true,"id":6193},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"6193":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"6194":{"date":{"__isSmartRef__":true,"id":6195},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"6195":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"6196":{"date":{"__isSmartRef__":true,"id":6197},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"6197":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"6198":{"date":{"__isSmartRef__":true,"id":6199},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"6199":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"6200":{"date":{"__isSmartRef__":true,"id":6201},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"6201":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"6202":{"date":{"__isSmartRef__":true,"id":6203},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"6203":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"6204":{"date":{"__isSmartRef__":true,"id":6205},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"6205":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"6206":{"date":{"__isSmartRef__":true,"id":6207},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"6207":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"6208":{"date":{"__isSmartRef__":true,"id":6209},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"6209":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"6210":{"date":{"__isSmartRef__":true,"id":6211},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"6211":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"6212":{"date":{"__isSmartRef__":true,"id":6213},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"6213":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"6214":{"date":{"__isSmartRef__":true,"id":6215},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"6215":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"6216":{"date":{"__isSmartRef__":true,"id":6217},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"6217":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"6218":{"date":{"__isSmartRef__":true,"id":6219},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"6219":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"6220":{"date":{"__isSmartRef__":true,"id":6221},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"6221":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"6222":{"date":{"__isSmartRef__":true,"id":6223},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"6223":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"6224":{"date":{"__isSmartRef__":true,"id":6225},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"6225":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"6226":{"date":{"__isSmartRef__":true,"id":6227},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"6227":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"6228":{"date":{"__isSmartRef__":true,"id":6229},"author":"jenslincke","message":"make it a meta tool","id":"8406E1E5-C48F-4F03-AC17-81AABDE9235E"},"6229":{"isSerializedDate":true,"string":"Fri Mar 22 2013 14:56:05 GMT+0100 (CET)"},"6230":{"isSerializedDate":true,"string":"Wed Feb 05 2014 19:59:57 GMT+0100 (CET)"},"6231":{"morph":{"__isSmartRef__":true,"id":6118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6232":{"adjustForNewBounds":true},"6233":{"loadPart":{"__isSmartRef__":true,"id":6234},"loadFinished":{"__isSmartRef__":true,"id":6238},"loadPartByName":{"__isSmartRef__":true,"id":6242}},"6234":{"varMapping":{"__isSmartRef__":true,"id":6235},"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":6236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6235":{"this":{"__isSmartRef__":true,"id":6118}},"6236":{"timestamp":{"__isSmartRef__":true,"id":6237},"user":"sstamm","tags":[]},"6237":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"6238":{"varMapping":{"__isSmartRef__":true,"id":6239},"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":6240},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6239":{"this":{"__isSmartRef__":true,"id":6118}},"6240":{"timestamp":{"__isSmartRef__":true,"id":6241},"user":"sstamm","tags":[]},"6241":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"6242":{"varMapping":{"__isSmartRef__":true,"id":6243},"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":6244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6243":{"this":{"__isSmartRef__":true,"id":6118}},"6244":{"timestamp":{"__isSmartRef__":true,"id":6245},"user":"sstamm","tags":[]},"6245":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"6246":{"isSerializedDate":true,"string":"Fri Feb 21 2014 09:27:25 GMT+0100 (CET)"},"6247":{"rules":[{"__isSmartRef__":true,"id":6248},{"__isSmartRef__":true,"id":6250}],"originMorph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.StyleSheet","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"6248":{"declarations":[{"__isSmartRef__":true,"id":6249}],"styleSheet":{"__isSmartRef__":true,"id":6247},"selector":".Window","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"6249":{"values":["none"],"rule":{"__isSmartRef__":true,"id":6248},"property":"box-shadow","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"6250":{"declarations":[{"__isSmartRef__":true,"id":6251}],"styleSheet":{"__isSmartRef__":true,"id":6247},"selector":".Window.highlighted","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"6251":{"values":["none"],"rule":{"__isSmartRef__":true,"id":6250},"property":"box-shadow","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"6252":{"clipboardData":{"__isSmartRef__":true,"id":6253},"cancelBubble":false,"returnValue":false,"defaultPrevented":true,"timeStamp":1391085629200,"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":6110},"isStopped":true,"__serializedExpressions__":["mousePoint"],"mousePoint":"lively.pt(0.0,0.0)"},"6253":{"items":{"__isSmartRef__":true,"id":6254},"files":{"__isSmartRef__":true,"id":6255},"types":[],"effectAllowed":"uninitialized","dropEffect":"none"},"6254":{"length":0},"6255":{"length":0},"6256":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/demos/EnergySimulationScripted.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"isSimplifiedRegistry":true}}]]>