{"id":0,"registry":{"0":{"submorphs":[{"__isSmartRef__":true,"id":1},{"__isSmartRef__":true,"id":41},{"__isSmartRef__":true,"id":721},{"__isSmartRef__":true,"id":725},{"__isSmartRef__":true,"id":729}],"scripts":[],"shape":{"__isSmartRef__":true,"id":733},"_ClipMode":"visible","derivationIds":["4E34A788-D1DC-4D88-9159-0A8AE159706F","397B0BB4-784A-4AEF-A877-7DC2078F861B","AF53278E-DCD9-427A-A59F-657EE2F735A8","1CC5E7C6-62E1-4342-AE10-CB69E5ACD113","7E73300C-D3DA-45B4-B667-0E25BCB0C476","115E2C38-ADC7-4A1D-B084-949793F004B8","8574C3C9-893E-4052-B7AB-2055817BE69E","323815D6-79FA-4594-9D39-EB93917871B0","8AB05D44-1F95-46E4-9D6D-904CD72DD758","AD3E676A-3D76-4714-972A-EDAC4C5B10FA","B1CD246A-CBB6-4015-B70B-47F747183C86","8C35196D-4262-4220-8FFB-AF5BE53151B3","C2169398-835D-4A2A-8C90-E0D34F785C34","A8FD5878-E8D0-4671-B06F-BF63FD33F67A"],"id":"B9A0DBB1-AEC6-41D6-A1E5-2E6EAA0F06DD","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":734},"closeButton":{"__isSmartRef__":true,"id":8},"collapseButton":{"__isSmartRef__":true,"id":18},"menuButton":{"__isSmartRef__":true,"id":28},"reframeHandle":{"__isSmartRef__":true,"id":721},"rightReframeHandle":{"__isSmartRef__":true,"id":729},"bottomReframeHandle":{"__isSmartRef__":true,"id":725},"titleBar":{"__isSmartRef__":true,"id":1},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"_PreviousBorderWidth":0,"targetMorph":{"__isSmartRef__":true,"id":41},"eventHandler":{"__isSmartRef__":true,"id":735},"partsBinMetaInfo":{"__isSmartRef__":true,"id":736},"name":"PollMorph","_StyleClassNames":["Morph","Window"],"showsHalos":false,"isCopyMorphRef":true,"morphRefId":1,"__serializedExpressions__":["_Position","contentOffset"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"],"_Position":"lively.pt(0.0,0.0)","contentOffset":"lively.pt(3.0,22.0)"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2},{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":28}],"scripts":[],"shape":{"__isSmartRef__":true,"id":38},"_ClipMode":"visible","derivationIds":["41B1ACA0-A300-447C-B2C9-20F9BC97FC17","87A7A4A8-C155-4BD8-9170-5EF50C00E53E","D09D79D1-7DDD-4AAA-9099-F77942267DBA","98780084-6D38-4F7F-92B5-FB11B90A6F82","2395DD64-E388-478F-9366-CC12C2352F05","144468CD-169B-45E3-A9D7-85208E6CF734","EF093F73-9DCA-40BB-8319-0EA41EAAAB98","E1DB7661-1A7F-433A-B01F-B0E5560532CC","F83639C9-A436-40EF-9A2B-DB6DED883C1A","C6FEAB28-E5B4-4752-8047-500BB9CB3173","B46EC867-28FE-40FF-ABEC-B3C209A48A8C","B1DD561C-E8F7-483B-B953-A074DDF8A919","46CCBC52-896A-4816-8C89-34787E3E20AF","24A8929C-F42D-48BF-91CD-B03034B88B90"],"id":"21666298-D79A-4F9A-A72E-49A41C33109C","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":39},"windowMorph":{"__isSmartRef__":true,"id":0},"buttons":[{"__isSmartRef__":true,"id":8},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":28}],"label":{"__isSmartRef__":true,"id":2},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":40},"showsHalos":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,0.0)"},"2":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4}],"_ClipMode":"hidden","derivationIds":["B198BA23-2664-45EE-A5E5-9D9E8B3903A7","999C48D7-2E5F-48CA-B072-CF50F6C0F7C7","9AF38222-61E8-4AC4-B6FF-0F97BC38950F","DB3DF36C-77E8-4ED2-B3E2-6701E15F91CC","C29A98D8-63C9-409C-B4F7-B88B58F98E66","8F585289-3BA1-4557-98E6-38622EE3B3B2","0F2D6E15-FD1F-4E17-96E1-218735184D25","2DE07A66-809C-4A16-851B-4C4430361478","3154055C-277A-4863-8068-C5042ECCF9A7","9F4D2F4C-2DE2-408D-8255-4E585720F911","6CDD1B73-D827-4A95-BF84-6849984EBE55","61D59EC6-F88E-4795-90FD-8C0C3A00A071","A5DC3873-A64B-4618-872F-95C403AE8CCC","8E38DBCA-BD81-46A5-AF85-E00DA5EAC2F6"],"id":"F5E2A6E2-24DB-4839-8D49-2AA4AFA48218","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"layout":{"__isSmartRef__":true,"id":6},"owner":{"__isSmartRef__":true,"id":1},"_StyleClassNames":["Morph","Text","window-title"],"_TextStylingMode":true,"eventHandler":{"__isSmartRef__":true,"id":7},"showsHalos":false,"hideDescriptionTimeout":104514,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(3.0,3.0)"},"3":{"_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(593.0,16.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"4":{"style":{"__isSmartRef__":true,"id":5},"chunkOwner":{"__isSmartRef__":true,"id":2},"_id":"_12462","storedString":"No poll open - no description available","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"6":{"resizeWidth":true},"7":{"morph":{"__isSmartRef__":true,"id":2},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"8":{"submorphs":[{"__isSmartRef__":true,"id":9}],"scripts":[],"shape":{"__isSmartRef__":true,"id":14},"_ClipMode":"visible","derivationIds":["729289E1-46B3-4842-A828-F5B7879D881E","A335D320-AD9C-4F2B-9819-95811F3F8683","6FDE67DD-040E-4912-90AC-483FD46F3B79","0F471817-0C09-432C-A766-A82FAC0501F1","794F5882-F4C6-4CB6-AD4E-9F61BBEB6837","101E9251-A9F2-4521-B45B-9100094EE30D","00D2DF1B-5E14-4C5D-B1C6-19A6C5A1FEED","32CFADEA-2F56-460E-9054-BB8BFAFC3ED9","CE3FCD41-D0BB-4073-8042-FCC78711C198","A325E5B8-C52B-4E9F-8798-7F7F0F982B95","68D7CA41-19A6-43C9-9E80-6D0AAC227188","7B7C62AD-22E3-4E9A-B368-A056706F1866","B787939F-B9A9-4EE4-A666-85CFDAB339D8","22684803-E41D-4626-8592-92934ED81288"],"id":"0BDFD3FF-13AF-4CC2-BA1A-C99DC3514784","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":9},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1},"_StyleClassNames":["Morph","Button","WindowControl","close"],"attributeConnections":[{"__isSmartRef__":true,"id":15}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":17},"isPressed":false,"showsHalos":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(665.0,3.0)"},"9":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":10},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":11}],"_ClipMode":"hidden","derivationIds":["8A17FE1C-D4E9-4B8E-BC80-210CA18ECADE","3C80EA8E-5CF3-42A3-B75F-5DDCB4622C78","ED13A4C9-C3EE-4947-8D3F-04A9DB820C3F","137A9C94-6DB2-4A05-B5CF-ACF0A88C75CD","3EF0AEF8-49A2-4618-8366-A1A11F078749","0156A795-79C2-4775-88DB-462C92867FFA","65D558A0-2A55-4659-8609-9E1EBAF7CAA4","850FD41A-AB81-4ACE-88A0-512B99C97085","83190BD4-8DFB-4387-923D-4FB63FFADA20","1AA67E5C-E3C0-443A-BFE0-D98DCB45AF9C","0778371A-4DD7-42CA-95A7-3917613A9E48","CDD937DF-8AB8-4DD2-BE1E-CB01A6AE0C3A","3A70A026-7E17-4207-8120-6FB653CDC129","D77099B4-A052-44C1-A667-3F07E7805202"],"id":"32FCF042-5F8A-4EB1-9A27-C7F4BCAC8F03","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":8},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":13},"__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)"},"10":{"_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(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"11":{"style":{"__isSmartRef__":true,"id":12},"chunkOwner":{"__isSmartRef__":true,"id":9},"_id":"_2688","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"12":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"13":{"morph":{"__isSmartRef__":true,"id":9},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"14":{"_BorderWidth":1,"_Fill":null,"_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)"},"15":{"sourceObj":{"__isSmartRef__":true,"id":8},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"initiateShutdown","varMapping":{"__isSmartRef__":true,"id":16},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"16":{"source":{"__isSmartRef__":true,"id":8},"target":{"__isSmartRef__":true,"id":0}},"17":{"morph":{"__isSmartRef__":true,"id":8},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"18":{"submorphs":[{"__isSmartRef__":true,"id":19}],"scripts":[],"shape":{"__isSmartRef__":true,"id":24},"_ClipMode":"visible","derivationIds":["DC9DA0D6-6B22-4618-AC79-69281DFE8128","FE36D89D-AF90-4B4F-9048-D194972879FF","338A2898-C06B-4980-B6BB-FAE1397BD9ED","5553F9C8-F093-4BC1-BD0A-97933324F5F4","FD595D8A-2CA2-49EF-BC63-711DAAD3EA74","8CD15489-AB36-4C89-A95D-9389D272A4CF","43E3BF37-640A-421F-B549-E23FD6BE3EEA","62E4B34B-0DDD-48FD-A93D-D404AA1C85F6","BC2E8FC8-CA04-4137-9974-3B481653BF03","2AB7EC67-8E9D-45A0-AFE8-0DFEBD441F86","29793C4E-D64B-49BF-9C4D-7C97DABFFB58","5F1911D6-F4F0-4693-80A2-03318AC71352","3DDDB65E-B780-4792-B268-8450714DF852","FDFC6ECD-B116-4B63-B48B-93A5B70D44F7"],"id":"578C746B-8EDA-466D-9345-A31BD05818CB","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":19},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":25}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":27},"isPressed":false,"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(645.0,3.0)"},"19":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":21}],"_ClipMode":"hidden","derivationIds":["7DB28DCE-004A-4440-9F57-507B426D030A","DE880874-5035-4BF1-B9C3-0A0440633B38","D270A1D0-F4A6-44CC-886F-40981836FEED","A73B90FF-56D6-47FB-9F3C-220867E9ED4A","D7ABECCC-6B4F-4B0B-A1A6-0AB98017E55D","9C46C4F8-F2BB-40BC-A2B4-FF4F2529F78B","2A1775B4-BBDA-4B68-9A6B-72E5D3A3E23C","2BD05EC0-5164-47EC-9352-EC944E5502D1","AD0FE27E-C1BD-4727-B9C6-918F69829DE1","611D9BC6-F336-49E2-827E-0D2C8DD2CB67","BC2CBEA7-581A-4D8E-8C34-AE7D43B3E406","BFDE0523-DA08-4D98-A370-290D44052309","0A069371-4AA8-4C4B-8E3A-8686E9B5D322","13CF265E-9C24-46FD-968A-7B3677E12F48"],"id":"365B133F-174D-47F4-84A1-28388C1FF89C","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":18},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":23},"__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)"},"20":{"_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(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"21":{"style":{"__isSmartRef__":true,"id":22},"chunkOwner":{"__isSmartRef__":true,"id":19},"_id":"_2691","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"22":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"23":{"morph":{"__isSmartRef__":true,"id":19},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"24":{"_BorderWidth":1,"_Fill":null,"_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)"},"25":{"sourceObj":{"__isSmartRef__":true,"id":18},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"toggleCollapse","varMapping":{"__isSmartRef__":true,"id":26},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"26":{"source":{"__isSmartRef__":true,"id":18},"target":{"__isSmartRef__":true,"id":0}},"27":{"morph":{"__isSmartRef__":true,"id":18},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"28":{"submorphs":[{"__isSmartRef__":true,"id":29}],"scripts":[],"shape":{"__isSmartRef__":true,"id":34},"_ClipMode":"visible","derivationIds":["F1EB5D5D-0C1C-4629-9A8F-31B769F29020","E6226A28-5876-4A89-BC9C-BAD5B00A792A","1344A497-7F7A-44F3-B469-317503C0ED24","EE587A89-A49F-41F6-933E-C40E525851FB","5AE7EDE8-86E7-4BE6-B4C6-DCAE1140248C","8B50C9C8-4D58-4C15-84F2-C4884E4FB4D9","49D6B252-1479-4BF9-876A-212F04D40280","9AAB3C02-AB13-496B-BCA8-378189311B64","0F444A93-8620-43C2-A157-ADBF1B05D124","D8D71269-8557-4F4F-862E-F29A198DC91A","1BE572A0-443C-44E7-9B52-5159B54549DA","A59520C2-FE0C-4749-BB14-A1A47E2621B8","8CD44CD9-E1EC-4D5E-9F6A-3490BAD9EB11","9401C8F3-932A-42D5-BF0B-4B9336A34FBC"],"id":"57CD6B23-464D-4A73-8E77-239E80CFFB59","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":29},"_PreviousBorderWidth":0,"owner":{"__isSmartRef__":true,"id":1},"attributeConnections":[{"__isSmartRef__":true,"id":35}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"eventHandler":{"__isSmartRef__":true,"id":37},"isPressed":false,"__serializedExpressions__":["_Position"],"_StyleClassNames":["Morph","Button","WindowControl"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(602.0,3.0)"},"29":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":30},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":31}],"_ClipMode":"hidden","derivationIds":["39FBDA26-63D8-4A2A-9209-94CEED5965FA","E1832407-A889-4118-8F26-5E976B5B0FD3","B81E8A51-2889-4082-9272-95BAAD1FD518","FEA7C25E-7114-4F7D-951A-580D5CA7C819","FA665501-18F6-4221-8FDB-850F08AD5EB5","AEF5F727-5B77-49F8-B5E4-88085D2649CB","4287183D-8845-41F4-92E5-74A61E782C3A","154B3421-B2EA-47EB-AF3E-8367B6AB951A","8848DA1C-4A0D-446F-9499-2936561E9F30","B2B9B6C4-C00F-4CCB-9BD1-0EBF2E9DF45E","8F7CF7C7-08C2-4B8D-82E3-F6BC1DFF41EA","538FD1D1-320E-4E60-8D2B-B5BC797E7444","2699877F-A38D-4736-A459-0BD9577057EE","1567C1D8-A7F1-4080-9A9C-B5F44D737714"],"id":"B956B7E3-B9DE-456D-91C3-981A27AD3D3F","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":28},"isLabel":true,"eventsAreIgnored":true,"_TextStylingMode":true,"eventsAreDisabled":true,"_PointerEvents":"none","eventHandler":{"__isSmartRef__":true,"id":33},"__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)"},"30":{"_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(40.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"31":{"style":{"__isSmartRef__":true,"id":32},"chunkOwner":{"__isSmartRef__":true,"id":29},"_id":"_2694","storedString":"Menu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"32":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"33":{"morph":{"__isSmartRef__":true,"id":29},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"34":{"_BorderWidth":1,"_Fill":null,"_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(40.0,17.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)"},"35":{"sourceObj":{"__isSmartRef__":true,"id":28},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"showTargetMorphMenu","varMapping":{"__isSmartRef__":true,"id":36},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"36":{"source":{"__isSmartRef__":true,"id":28},"target":{"__isSmartRef__":true,"id":0}},"37":{"morph":{"__isSmartRef__":true,"id":28},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"38":{"_BorderWidth":0,"_BorderColor":null,"_Fill":null,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(685.0,22.0)","_Padding":"lively.rect(0,0,0,0)"},"39":{"resizeWidth":true,"adjustForNewBounds":true},"40":{"morph":{"__isSmartRef__":true,"id":1},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"41":{"submorphs":[{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":230},{"__isSmartRef__":true,"id":261}],"scripts":[],"id":"AAC8A767-E865-4802-9E75-498FA4945846","shape":{"__isSmartRef__":true,"id":607},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"PollMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":608},"eventHandler":{"__isSmartRef__":true,"id":632},"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","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","0136F821-5908-420F-87FA-13F8F678CB23","0509AB96-56AA-4AD8-A412-DFA0A5B663C1","60C2643D-917A-4B4E-8223-DCFD4FD2B2FA","ACC52F47-B041-4842-BC29-2C0A52EC9BD3","1EE90E2A-EA66-4C00-A217-3E003C248C31","9C942CDA-119B-4FBD-AE1E-852C6F007F75","33485661-80CE-4DF0-BAD9-856D27D95702","3F39DB5D-1AF1-42DF-B919-84C0456C003F","C729E2E3-EDDA-4952-8786-683D4D3A48C9","0235A04C-796F-4A41-A876-9DE325D40ACD","E8D5FFF4-BC1E-426F-AF17-E5E40EA2A92E","FFEF5EF5-8FED-446F-9E3C-4C25C143ADAF","70C3AC5C-8BF8-4A26-896F-A417E5E2C47A","736A1109-75A8-40E9-A991-BAD792ED619C"],"partTests":{"__isSmartRef__":true,"id":633},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"owner":{"__isSmartRef__":true,"id":0},"layout":{"__isSmartRef__":true,"id":638},"_PreviousBorderWidth":1,"isInLayoutCycle":false,"webR":{"__isSmartRef__":true,"id":639},"handleServerLost":{"__isSmartRef__":true,"id":645},"isBeingDragged":false,"loadingPolls":true,"lastFocused":{"__isSmartRef__":true,"id":262},"__serializedExpressions__":["_Position"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":648},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(3.0,22.0)"},"42":{"submorphs":[],"scripts":[],"id":"16033656-E58F-4BC6-AFA8-C576B9F6D44C","shape":{"__isSmartRef__":true,"id":43},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"Entries","partsBinMetaInfo":{"__isSmartRef__":true,"id":44},"eventHandler":{"__isSmartRef__":true,"id":64},"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","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","0136F821-5908-420F-87FA-13F8F678CB23","658132D9-80A0-4D2D-9B34-E41A8A06130D","821B3067-8156-4FD5-A4D3-6584B9F60739","58886481-35D1-4285-90AC-8898DE45DC8F","5CCCB4E8-8335-4E74-BEC3-8C282B358CA4","8B58AFB2-920D-4111-BB3C-5B6817623FA8","D3D1CC29-A315-41DF-9CD1-7712EE1C94F3","4AA514FE-182C-4911-9923-D7360712571E","5D123E1A-EF4C-4507-B668-063C58F3C4B5","CDB4CA2C-422E-4780-8C01-169D1099279D","C5F6B7D2-A809-4647-954B-DA2E79468951","7630166D-FACC-4CBE-9B5C-974248FFBAED","13029ABB-FC0B-4C68-AD57-CE77E9790D86","0AD3FCC9-A409-4054-ADC0-84434D03C58C","982C41A8-BA0B-4B69-BF1C-58C8368E1217","0AF799D1-20B5-44A5-BF3C-B050FA7FB5AA"],"partTests":{"__isSmartRef__":true,"id":65},"_ClipMode":"scroll","moved":true,"droppingEnabled":true,"layout":{"__isSmartRef__":true,"id":70},"isInLayoutCycle":false,"urlString":"http://lively-web.org/users/AstridThomschke/Features%20Poll1.json","pollWebR":{"__isSmartRef__":true,"id":72},"cachedPoll":{"__isSmartRef__":true,"id":80},"featurePrototype":{"__isSmartRef__":true,"id":81},"owner":{"__isSmartRef__":true,"id":41},"prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":202},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(5.0,5.0)","distanceToDragEvent":"lively.pt(444.0,-17.0)"},"43":{"_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(668.0,389.0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"44":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":45},{"__isSmartRef__":true,"id":46},{"__isSmartRef__":true,"id":47},{"__isSmartRef__":true,"id":48},{"__isSmartRef__":true,"id":49},{"__isSmartRef__":true,"id":50},{"__isSmartRef__":true,"id":51},{"__isSmartRef__":true,"id":52},{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":54},{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":56},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":58},{"__isSmartRef__":true,"id":59},{"__isSmartRef__":true,"id":60},{"__isSmartRef__":true,"id":61},{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":63}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"45":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"46":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"47":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"48":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"49":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"50":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"51":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"52":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"53":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"54":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"55":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"56":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"57":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"58":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"59":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"60":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"61":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"62":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"63":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"64":{"morph":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"65":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":66}},"66":{"test01IsMorph":{"__isSmartRef__":true,"id":67}},"67":{"varMapping":{"__isSmartRef__":true,"id":68},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":69},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"68":{"this":{"__isSmartRef__":true,"id":65}},"69":{},"70":{"resizeWidth":true,"resizeHeight":true,"layouter":{"__isSmartRef__":true,"id":71},"adjustForNewBounds":true,"__serializedExpressions__":["extentWithoutPlaceholder"],"extentWithoutPlaceholder":"lively.pt(657.0,345.0)"},"71":{"borderSize":10,"defaultBorderSize":10,"spacing":15,"defaultSpacing":15,"container":{"__isSmartRef__":true,"id":42},"__LivelyClassName__":"lively.morphic.Layout.VerticalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"72":{"_isSync":true,"_isBinary":false,"status":{"__isSmartRef__":true,"id":73},"content":"{\"pollName\":\"Features Poll1\"}","contentDocument":"","isExisting":true,"subResources":null,"requestHeaders":{"__isSmartRef__":true,"id":76},"responseHeaders":{"__isSmartRef__":true,"id":77},"attributeConnections":[{"__isSmartRef__":true,"id":78}],"doNotSerialize":["$$status"],"doNotCopyProperties":["$$status"],"xhr":{"__isSmartRef__":true,"id":74},"readystate":4,"__serializedExpressions__":["_url","lastModified"],"__LivelyClassName__":"WebResource","__SourceModuleName__":"Global.lively.Network","_url":"URL.create(\"http://lively-web.org/users/AstridThomschke/Features%20Poll1.json\")","lastModified":"new Date(\"Tue Sep 30 2014 12:46:06 GMT-0700 (PDT)\")"},"73":{"method":"GET","transport":{"__isSmartRef__":true,"id":74},"exception":null,"__serializedExpressions__":["url"],"__LivelyClassName__":"NetRequestStatus","__SourceModuleName__":"Global.lively.Network","url":"URL.create(\"http://lively-web.org/users/AstridThomschke/Features%20Poll1.json\")"},"74":{"statusText":"OK","status":200,"responseURL":"http://lively-web.org/users/AstridThomschke/Features%20Poll1.json","response":"{\"pollName\":\"Features Poll1\"}","responseType":"","responseXML":null,"responseText":"{\"pollName\":\"Features Poll1\"}","upload":{"__isSmartRef__":true,"id":75},"withCredentials":false,"readyState":4,"timeout":0,"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"75":{"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"76":{},"77":{"pragma":"no-cache","Date":"Tue, 30 Sep 2014 19:46:07 GMT","date":"Tue, 30 Sep 2014 19:46:07 GMT","Content-Encoding":"gzip","content-encoding":"gzip","last-modified":"Tue, 30 Sep 2014 19:46:06 +0000","Server":"nginx/1.6.2","server":"nginx/1.6.2","X-Powered-By":"Express","x-powered-by":"Express","Vary":"Accept-Encoding","vary":"Accept-Encoding","Access-Control-Allow-Methods":"POST,OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT","access-control-allow-methods":"POST,OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT","Content-Type":"application/json","content-type":"application/json","Access-Control-Allow-Origin":"*","access-control-allow-origin":"*","cache-control":"no-cache, no-transform","Transfer-Encoding":"chunked","transfer-encoding":"chunked","Connection":"keep-alive","connection":"keep-alive","Access-Control-Allow-Credentials":"true","access-control-allow-credentials":"true"},"78":{"sourceObj":{"__isSmartRef__":true,"id":72},"sourceAttrName":"status","targetObj":{"__isSmartRef__":true,"id":42},"targetMethodName":"showRequestAnswer","varMapping":{"__isSmartRef__":true,"id":79},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"79":{"source":{"__isSmartRef__":true,"id":72},"target":{"__isSmartRef__":true,"id":42}},"80":{"pollName":"Features Poll1"},"81":{"submorphs":[{"__isSmartRef__":true,"id":82},{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":108},{"__isSmartRef__":true,"id":123}],"scripts":[],"id":"A499AEAD-8CA4-4D29-B50C-336434E77103","shape":{"__isSmartRef__":true,"id":146},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"showsHalos":false,"name":"FeatureEntry15","partsBinMetaInfo":{"__isSmartRef__":true,"id":147},"eventHandler":{"__isSmartRef__":true,"id":167},"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","1C17567C-751A-447E-A93C-0CE8CAEEF262","C31986AF-AB07-427F-BD76-E0F3859AC975","89DA5ACB-5CDF-44D7-BCB1-E27C4EFE9A3D","9D89EB2E-7540-420E-B610-93D6DEAF37D3","6542C116-0299-4E13-A1F3-44F5BE0EAF37","E19A19D3-F5BF-4005-8998-7B540241F909","E179A72B-2F5F-4237-A6E6-D2E0E34B1848","87F57124-2DF2-4B18-8601-32B3C2D4F5A8","07D61C14-EC35-4BDD-A837-E85190D0FB38","8CE36166-412A-460C-A98F-9C7F7251BE91","40256463-021B-4CB8-A4B4-EE5E8065FF60","7AC3F0EE-9763-46B0-910B-4D8CE7C7AC31","31D1BD14-BE70-4E47-81BF-6296544AA0E4","C8354E4A-06C5-489F-94FB-858F9BE75538","0644D424-7019-443A-A52F-71F97FCA76CA","3DFB5045-420E-469D-A4C8-4D7D9C5DAB17","667D3F2D-093A-4B98-9692-D35C5BD8BA30","421C8391-D4EF-4D49-A274-F4E5E27DEAEA","2D4AD877-90DD-42BB-9C02-4088672ACB65","79B73928-5283-4310-B0C1-5536B420AE7E","3F9A0D8E-B7FC-4A27-9F98-08900BEBE3D6","999C8455-5E9D-4C6E-9BAC-2CE2388A5B7A","7E83611B-9A96-4381-B268-A664DAD17A7D","51E9AEDF-741E-4D82-93AB-8B5D17520FAF","369C911E-E98B-4F60-9C77-9F5F52EBAF94","B056D260-05A4-408F-B031-A7D7EB51EF20","07E5AA03-E0DC-4531-9B76-A90217B35B25","C72D1A5E-3641-4B0C-8E50-98DB2E774D01","4D3791DD-8192-49CA-B35D-1CB355267974","25D34F26-BFE3-4A62-931E-6DCD464F5789","6F7A9CFB-FCB8-4663-BA25-4AD01593AEF9"],"partTests":{"__isSmartRef__":true,"id":168},"_ClipMode":"visible","moved":true,"droppingEnabled":true,"layout":{"__isSmartRef__":true,"id":173},"isBeingDragged":false,"prevScroll":[0,3],"_Rotation":0,"_Scale":1,"featureName":"","count":0,"voters":[],"attributeConnections":[{"__isSmartRef__":true,"id":174},{"__isSmartRef__":true,"id":176},{"__isSmartRef__":true,"id":178}],"doNotSerialize":["$$voters"],"doNotCopyProperties":["$$voters"],"checked":false,"owner":null,"__serializedExpressions__":["_Position"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":180},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(10.0,10.0)"},"82":{"submorphs":[],"scripts":[],"id":"F0B5B035-C2AB-4427-82C6-02493EB08B49","shape":{"__isSmartRef__":true,"id":83},"grabbingEnabled":false,"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":"FeatureDescription","partsBinMetaInfo":{"__isSmartRef__":true,"id":84},"textChunks":[{"__isSmartRef__":true,"id":93}],"charsReplaced":"Some unknown feature","lastFindLoc":20,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":95},"_ClipMode":"hidden","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","59440FC5-E676-4B9B-A828-C150A05765C0","D4D33924-4BA3-4388-8C88-62AE8F43C459","07EEEF16-FA1C-4F91-B847-CA17CE12CAF5","3EFF114F-5947-4596-8461-B93BC95AA8BF","2F4E926C-E68E-4D78-BDC6-F9794470624D","E7D21A55-C1E5-4745-9B39-48054CB85517","C4307469-DDAE-4287-B633-B9512D32DA99","A918A28E-C4E6-41BD-89D2-F38715ABAE7E","38D9C9C5-3902-48AF-B988-E461A690771B","FBE63839-A845-43F3-ACC8-F8B8612188A6","70FE0851-3A5B-42E4-994E-75FD42B25BA2","A48F4EA6-7E7B-46D4-AF32-E98CE9D4C989","C50D1AFE-7943-459E-8022-F55257EA1EDB","3BB347BE-BEE8-4383-A14E-CBBA30C13B50","FFB619BE-C6F5-48E3-B9A6-5D4E990AA18E","9E7FCCDE-FE43-496A-9442-0FCDAD271166","F0A95A9D-B34B-4762-B6C9-02C48DAC7D27","54CB00C1-D0BC-4CF7-B718-4775CADD22B2","0C0F4128-BC19-4316-B405-EE30EF861904","B2BAA4E0-6834-4564-B6D4-A1EE0CC427F6","370FF26D-7F21-480E-B4B1-25A433246B36","3CEFBBB5-45A8-4A8D-B2CE-421B422ACA8C","F4610638-063C-43B4-86F9-D24C779C73C0","D54794BE-6A8E-4702-BEEA-C3C958DBB82A","2230AEF0-24A7-4A5E-8BB9-2B5360128200","2C44F5AE-4B22-4B46-96D0-96C7F4EC99FC","76990C1F-A406-4933-BC90-17A78D0A56E2","A8547541-56C4-4D6E-AF04-7ADC9B39C0CF","64582F03-019E-4208-AB3E-852DD608C69C","F7ACF800-428E-4B5C-A0D8-001838C356EC"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":96},"owner":{"__isSmartRef__":true,"id":81},"_Rotation":0,"_Scale":1,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(49.0,4.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(414.0,-14.0)"},"83":{"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(571.7,29.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"84":{"partsSpaceName":"PartsBin/Basic","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":85},{"__isSmartRef__":true,"id":86},{"__isSmartRef__":true,"id":87},{"__isSmartRef__":true,"id":88},{"__isSmartRef__":true,"id":89},{"__isSmartRef__":true,"id":90},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":92}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"85":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"86":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"87":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"88":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"89":{"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","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"90":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"91":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"92":{"author":"robertkrahn","message":"resizeWidth = true","id":"E402462A-7AB2-487B-82BD-A3369C1C1F75","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 05 2014 01:58:52 GMT-0700 (PDT)\")"},"93":{"style":{"__isSmartRef__":true,"id":94},"chunkOwner":{"__isSmartRef__":true,"id":82},"_id":"_51526","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"94":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"95":{"morph":{"__isSmartRef__":true,"id":82},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"96":{"resizeWidth":true},"97":{"submorphs":[],"scripts":[],"id":"53C891DD-D444-494E-8855-8ACAFEB75E31","shape":{"__isSmartRef__":true,"id":98},"droppingEnabled":true,"halosEnabled":true,"checked":false,"showsHalos":false,"name":"VoteBox","partsBinMetaInfo":{"__isSmartRef__":true,"id":99},"eventHandler":{"__isSmartRef__":true,"id":100},"derivationIds":[6345,"FE1EEDBB-3381-4B3E-964D-9F1A4429904F","EE73B3DF-D18D-4DEC-ABA5-C50E73F4DFF3","17740DD5-209A-4B86-A6A7-CCF46E398CEB","D884F2E6-15DA-4F07-941A-CC34ADAB5745","7F71CF54-54BE-416C-B55F-8EAAD6A84EC0","0912A11E-4F5A-44AB-91F5-1296222A8DBE","F0BAB975-5D38-44D5-973B-79112DBBC379","53297FB8-BD23-4DB1-B2D4-7B497226A86A","D902FFB2-AFB5-42F0-8FD7-05F09A0086A4","B30D0336-068A-470F-A64B-5E3A98D4A665","4A4245FF-6065-4DB5-B30A-D4333538125F","82BBBE7E-11AA-48F5-8D8B-E09F011EDC3C","61C4A4E6-C87A-40FE-8C5B-11F79A6B26FE","4BF3DF47-F161-405A-8C97-3A3F00FB4AA8","F1FFAFB5-EC54-4BA4-A328-A46F45D5F861","F253B6E8-4028-483C-ADB8-363C9487B081","0D8E728C-67E4-4BBB-A837-F3332E10F8EC","1B9C5F1A-F5EC-48DF-B925-C426A735E0D1","F3CB11C0-4EDE-41B2-BB8D-79A22CD133E8","2F946243-6B4C-4CF4-A79E-C1D7F76EFBF6","F25B9C80-614F-43F0-AD8F-664C1EC77655","7FB5B9E2-3404-4FAA-A069-33A90ED31B20","F6F70292-5BB9-49D6-A665-C9EC0D498905","D0B38B36-6D33-4A57-9B9A-35629990FD93","43C3B12C-D7C0-44C9-B9BA-4F29A2A04560","DE6729C2-A42B-4116-A51C-842B1EE0D7B4","510C7EA4-0D17-4B19-9B04-3FCCE6CD281C","2F18DA2F-00B7-4487-AB8A-D3D8A4F10487","11EB4695-7BEC-4CFA-A044-DCF2A00F8E8D"],"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":81},"_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":101},"attributeConnections":[{"__isSmartRef__":true,"id":102}],"doNotSerialize":["$$checked"],"doNotCopyProperties":["$$checked"],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":104},"__LivelyClassName__":"lively.morphic.CheckBox","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(593.0,1.0)","distanceToDragEvent":"lively.pt(45.0,-14.0)"},"98":{"stringifiedShapeNode":"<input xmlns=\"http://www.w3.org/1999/xhtml\" type=\"checkbox\" style=\"width: 24px; height: 30px; overflow: visible; padding: 0px;\" class=\"Morph CheckBox\" id=\"null\" data-lively-morphid=\"53C891DD-D444-494E-8855-8ACAFEB75E31\" />","__serializedExpressions__":["extent","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.External","__SourceModuleName__":"Global.lively.morphic.Shapes","extent":"lively.pt(0.0,0.0)","_Extent":"lively.pt(24.0,30.0)","_Padding":"lively.rect(0,0,0,0)"},"99":{"requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Inputs/","partName":"CheckBox","__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Sep 05 2012 16:01:35 GMT-0700 (PDT)\")"},"100":{"morph":{"__isSmartRef__":true,"id":97},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"101":{"moveVertical":false,"moveHorizontal":true},"102":{"sourceObj":{"__isSmartRef__":true,"id":97},"sourceAttrName":"checked","targetObj":{"__isSmartRef__":true,"id":97},"targetMethodName":"checkChanged","varMapping":{"__isSmartRef__":true,"id":103},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"103":{"source":{"__isSmartRef__":true,"id":97},"target":{"__isSmartRef__":true,"id":97}},"104":{"checkChanged":{"__isSmartRef__":true,"id":105}},"105":{"varMapping":{"__isSmartRef__":true,"id":106},"source":"function checkChanged(bool) {\n    this.owner && this.owner.onCheckboxClicked(bool);\n}","funcProperties":{"__isSmartRef__":true,"id":107},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"106":{"this":{"__isSmartRef__":true,"id":97}},"107":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Sep 30 2014 16:46:18 GMT-0700 (PDT)\")"},"108":{"submorphs":[],"scripts":[],"id":"D8152484-6E6C-4829-ACE4-51582E2BB9A9","shape":{"__isSmartRef__":true,"id":109},"grabbingEnabled":false,"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":"VoteCount","partsBinMetaInfo":{"__isSmartRef__":true,"id":110},"textChunks":[{"__isSmartRef__":true,"id":119}],"charsReplaced":"Some Text","lastFindLoc":9,"prevScroll":[0,0],"eventHandler":{"__isSmartRef__":true,"id":121},"_ClipMode":"visible","derivationIds":[355,"1EB1674F-8BF2-419B-B054-86129ED70335","63698904-DC05-4341-A9B6-5CC4A219CD04","F6A714BA-4735-41ED-8A2A-45CB153FBDF8","F1D26890-7392-487D-B5DE-97C772B4E79E","59440FC5-E676-4B9B-A828-C150A05765C0","5E4AD235-F9EE-4362-8BD4-4BBADF79AB20","91F351A7-E395-4C87-9CDA-E2E9C60006A5","CF171647-5C86-43B8-8D80-F31380ED6059","EFBD4E1A-65B1-4592-9905-8848CE8B6F28","8861A7B8-80D4-460B-9869-E7CCBD68D7E7","F5B7D56D-4924-4483-9976-EE2C3871B4D9","53CDFA0E-3464-45DD-88DC-6261E3A1E2C8","A0CDD6B4-4689-4100-BC9D-97082C1DFBBA","21DB59B3-F7A5-4320-81C1-D81044CB3871","18132C3A-6C3A-499C-B48D-AF3871E55330","ED91AC61-795A-4DB1-9BBB-DD9D58CBF558","FF015A3F-ADD7-46B0-8379-61A5262BE2C7","B0F18436-AF06-4B6B-9E54-813D35C69045","EE0112FE-AA64-4B02-8007-AA1CD4B5EB9D","B93EE601-07E3-418C-AECE-BC96801C8D21","D04721A0-927B-4984-9FC1-201BB7D28CC4","2FDEC728-F28C-4DC7-BEED-6CC0DD08B976","C4C2C76E-9553-4578-A6E7-6B4D5CB852B9","85885FBB-07CD-45C8-9FBB-CB45FD41C29B","DD8D87CF-AACC-4D08-9470-9D0BC9025116","015AD5F2-ACED-42F2-9646-1682C05A3A66","BC8F7AE6-9E45-4A8D-92E9-7F4629AB5F41","409F24EF-452B-4793-B896-3BF98BB54AF4","AC1D89B5-B26A-4714-8232-D90E0E25CFA4","6706748F-93BF-48E5-9CC3-9FC884BA035E","5A757E47-6C44-4596-B634-B386B903694B","A3106E0F-6362-4B3F-8289-E0A2756D5433"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":120.695652,"_MinTextHeight":null,"isBeingDragged":false,"moved":true,"layout":{"__isSmartRef__":true,"id":122},"owner":{"__isSmartRef__":true,"id":81},"_Rotation":0,"_Scale":1,"eventsAreDisabled":false,"_HandStyle":"default","_PointerEvents":"auto","_ToolTip":"","eventsAreIgnored":true,"__serializedExpressions__":["_Position","textColor","_Padding","distanceToDragEvent"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_Position":"lively.pt(3.0,3.0)","textColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(5,5,0,0)","distanceToDragEvent":"lively.pt(78.0,-18.0)"},"109":{"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(51.7,28.0)","_BorderColor":"Color.rgb(0,0,0)","_Padding":"lively.rect(4,2,0,0)"},"110":{"partsSpaceName":"PartsBin/Basic","migrationLevel":8,"comment":"a simple text morph","partName":"Text","changes":[{"__isSmartRef__":true,"id":111},{"__isSmartRef__":true,"id":112},{"__isSmartRef__":true,"id":113},{"__isSmartRef__":true,"id":114},{"__isSmartRef__":true,"id":115},{"__isSmartRef__":true,"id":116},{"__isSmartRef__":true,"id":117},{"__isSmartRef__":true,"id":118}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Sat Apr 05 2014 01:51:52 GMT-0700 (PDT)\")"},"111":{"author":"jenslincke","message":"no comment","id":"A3BA0C1E-7E83-43BF-9EC6-4F4BB3835D62","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 09:31:56 GMT-0700 (PDT)\")"},"112":{"author":"timfelgentreff","message":"better text","id":"B904F9AC-6EA0-4A8A-83C9-AFC85AADC194","__serializedExpressions__":["date"],"date":"new Date(\"Tue May 08 2012 05:18:18 GMT-0700 (PDT)\")"},"113":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"785D95BD-7858-43EB-90E6-A1C085E2F2B9","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:32:09 GMT-0700 (PDT)\")"},"114":{"author":"tessi","message":"TextBubble calls its disappear() function after showBubbleTime() milliseconds now","id":"0F4DE333-A551-4961-B29D-70270977EBEF","__serializedExpressions__":["date"],"date":"new Date(\"Fri Apr 20 2012 22:31:43 GMT-0700 (PDT)\")"},"115":{"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","__serializedExpressions__":["date"],"date":"new Date(\"Sun Feb 26 2012 21:20:38 GMT-0800 (PST)\")"},"116":{"author":"robertkrahn","message":"text click was broken?","id":"9D065E14-9653-4B2A-9A2E-3AD84EBBC3E0","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 21 2012 07:30:30 GMT-0700 (PDT)\")"},"117":{"author":"jenslincke","message":"no comment","id":"9E495E1B-6E6D-4A89-9F9E-85AF618DC598","__serializedExpressions__":["date"],"date":"new Date(\"Tue Mar 12 2013 10:36:22 GMT-0700 (PDT)\")"},"118":{"author":"robertkrahn","message":"resizeWidth = true","id":"E402462A-7AB2-487B-82BD-A3369C1C1F75","__serializedExpressions__":["date"],"date":"new Date(\"Sat Apr 05 2014 01:58:52 GMT-0700 (PDT)\")"},"119":{"style":{"__isSmartRef__":true,"id":120},"chunkOwner":{"__isSmartRef__":true,"id":108},"_id":"_51525","storedString":"0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"120":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"121":{"morph":{"__isSmartRef__":true,"id":108},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"122":{"resizeWidth":true},"123":{"submorphs":[{"__isSmartRef__":true,"id":124}],"scripts":[],"shape":{"__isSmartRef__":true,"id":129},"eventHandler":{"__isSmartRef__":true,"id":130},"_ClipMode":"visible","derivationIds":["EC7EBB28-54AE-4244-80ED-3E13650F82B7","9FD2DCE2-B997-4536-B2A5-90D7DD92B3E6","0D8CC908-BD1C-4062-BB03-3FCEB910483D","20AFA6F9-5898-47C4-BBC3-7BCD17EFF742","CF0C0EB3-1F12-4677-9D09-EE00E06B6C47","C32B409A-B852-4181-9353-C46D3F8D07E0","6CE773B4-B320-4515-A052-3F9913C84028","B6F24FED-3962-41F9-985E-4EDA80737D76","D0A67C14-42BB-4A7A-8A13-94FB7A0A6CFB","C88D15DD-8EE1-4C51-ACFC-016A5900B7C2","FFEC388A-7ED0-4FC5-8A24-B41DCE8B4706","23B6CEF7-909B-4832-B65D-32E80742C899","0A2BBCB1-9C85-433D-AF3C-59017633641E","1D56F03F-D18E-42B8-8104-0E08E9BB6F84","33532B2B-4271-4B53-A9E7-79A7EB4FC266","AF764C86-81E6-4D03-84C4-AA2CDDE2B81D","592102B6-5542-4E29-8FFE-7B72FE4B646E","0213DE6B-ED9F-4490-8FD5-F9252DB8A95F","D40BEAF5-8298-475A-8DCA-AE8ED2ED529D","5ABFBB34-149A-478B-B364-AE82E401A181","491F9D91-3EB2-4717-A1FE-4B83FE3053E7","49F06C04-54BD-497C-8578-D2433D9799AF","9E035DAB-48B8-45EC-B269-989D0286AA56","7F9FAF9F-770B-46B3-99CD-998A2E37A913","2FA10832-0985-4BF8-BBE3-6ABCE346212E","54DF05EE-BBDB-473F-B7E0-707A3FA5A623","05121F84-4E6B-406C-BB9F-8516AA1F58C1","1A61B983-F44A-4FDE-AFD0-B47C447883CD","BF986D6D-10E6-44DC-BF42-33326927995D"],"id":"6E98A93A-76B0-4487-A165-9144374A99A7","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"value":false,"toggle":false,"isActive":true,"label":{"__isSmartRef__":true,"id":124},"_PreviousBorderWidth":1,"isPressed":false,"showsHalos":false,"attributeConnections":[{"__isSmartRef__":true,"id":131}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"name":"Button1","partsBinMetaInfo":{"__isSmartRef__":true,"id":133},"pinSpecs":[{"__isSmartRef__":true,"id":141}],"owner":{"__isSmartRef__":true,"id":81},"_Rotation":0,"_Scale":1,"_StyleClassNames":["Morph","Button"],"__serializedExpressions__":["_Position","distanceToDragEvent"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":142},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(619.0,8.0)","distanceToDragEvent":"lively.pt(42.0,-12.0)"},"124":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":125},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":126}],"eventHandler":{"__isSmartRef__":true,"id":128},"_ClipMode":"hidden","derivationIds":["7884E73F-0D17-44B3-907F-44A5223F1F3D","444B63A6-D9E7-4AB2-AB57-4A9146C18BFF","08999E10-CCC3-4CAB-99BC-4EF500309EC4","66B912A5-FAEE-4F21-B0B8-B59C944E4E58","CBFD45E1-4E29-4F7A-9D6D-6BCDFF1785E7","5BB29460-7E2E-461A-A055-1BEA61D1A000","C9CF115B-AFEE-4C28-9577-16AA46019C30","704B61F4-69CD-4A6E-B141-E53A1A3186CC","958AFF52-B502-41B8-99D3-E50D0953F613","B803AB8A-DF82-4F9E-9D38-A0F82BCA70A7","4FE87CF2-B3A9-4C9A-BC5D-039C25C30CEA","70456DB2-CE19-457B-8909-F203FCB75E3E","B7B13048-B1FE-4C79-AF12-950E9577C741","0FB8CC25-CDBD-4ECB-96C7-D0BE416AC6F1","4C3B19B3-7F74-49A2-97A8-7E4AE9F53421","8ED431EA-35EB-46AF-BD04-3D6E1D1F7944","41FC87B4-E2E8-4635-833E-4742A0746A39","D41C0B39-7EAF-4735-A8BB-3C427FA381F6","53F557B5-A3E8-490D-8076-7892876B0BBD","A83C46E5-069A-49BA-8378-D838437FD40B","B2D8196B-68E7-487B-8BC2-31E4A3D64DD9","4DB19E28-FAD0-4D42-9F53-F1A114A3ED00","663E641A-613E-48C8-B530-FFBEDD648066","C034B594-5B67-42BB-913F-8DC70C23B02E","A5589C22-A4B9-4E6A-9308-83075FBC96FA","36236ED1-6B47-44D9-8C80-FD61CECC78DD","CAD15C00-88CB-4CFC-AFE8-D392AD7AE312","F61028C4-A5EB-4F50-8B9E-3EE3FDECC342","A330557F-B491-4776-B901-B799218AAA31"],"id":"154249AE-A8AE-43BB-AC7E-3E84BFB7210E","grabbingEnabled":false,"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":123},"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)"},"125":{"_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(21.0,22.0)","_Padding":"lively.rect(0,3,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"126":{"style":{"__isSmartRef__":true,"id":127},"chunkOwner":{"__isSmartRef__":true,"id":124},"_id":"_71611","storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"127":{"__serializedExpressions__":["color"],"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore","color":"Color.rgb(0,0,0)"},"128":{"morph":{"__isSmartRef__":true,"id":124},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"129":{"_BorderWidth":1,"_BorderRadius":5,"_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(21.0,22.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(189,190,192)","_Fill":"Color.rgb(243,105,105)"},"130":{"morph":{"__isSmartRef__":true,"id":123},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"131":{"sourceObj":{"__isSmartRef__":true,"id":123},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":123},"targetMethodName":"doAction","varMapping":{"__isSmartRef__":true,"id":132},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"132":{"source":{"__isSmartRef__":true,"id":123},"target":{"__isSmartRef__":true,"id":123}},"133":{"partName":"Button","requiredModules":[],"partsSpaceName":"PartsBin/Inputs","comment":"A simple button that calls a method #doAction when pressed.","changes":[{"__isSmartRef__":true,"id":134},{"__isSmartRef__":true,"id":135},{"__isSmartRef__":true,"id":136},{"__isSmartRef__":true,"id":137},{"__isSmartRef__":true,"id":138},{"__isSmartRef__":true,"id":139},{"__isSmartRef__":true,"id":140}],"migrationLevel":7,"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Tue Jul 23 2013 23:21:11 GMT-0700 (PDT)\")"},"134":{"author":null,"message":"no comment","id":"F8B70225-5143-4A51-ABB4-344B488B3811","__serializedExpressions__":["date"],"date":"new Date(\"Tue Dec 11 2012 13:15:42 GMT-0800 (PST)\")"},"135":{"author":"robertkrahn","message":"no comment","id":"9B8B6BE4-4519-4A6C-8F47-70DE61BBB0FB","__serializedExpressions__":["date"],"date":"new Date(\"Tue Dec 11 2012 13:53:16 GMT-0800 (PST)\")"},"136":{"author":"robertkrahn","message":"test","id":"ACA617B4-0416-4E3C-9F4D-171A40F44F0F","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:34:25 GMT-0700 (PDT)\")"},"137":{"author":"robertkrahn","message":"no comment","id":"811BDE87-D8DD-48BB-97B2-7A3C3F3FAE32","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:35:59 GMT-0700 (PDT)\")"},"138":{"author":"robertkrahn","message":"no comment","id":"BB2EA501-D9AF-414B-A035-E1487DA6F0FD","__serializedExpressions__":["date"],"date":"new Date(\"Tue Apr 30 2013 20:36:30 GMT-0700 (PDT)\")"},"139":{"author":"Dan","message":"no comment","id":"A594459F-DA9B-49DD-A105-547B3F613CC5","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 17 2013 10:22:38 GMT-0700 (PDT)\")"},"140":{"author":"Dan","message":"no comment","id":"CFEC4071-14FF-4AEB-A399-197884CD18BF","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 17 2013 10:24:50 GMT-0700 (PDT)\")"},"141":{"pinName":"fire","modality":"output","type":"Boolean","accessor":"fire","location":1.5},"142":{"doAction":{"__isSmartRef__":true,"id":143}},"143":{"varMapping":{"__isSmartRef__":true,"id":144},"source":"function doAction() {\n    this.owner.owner.owner.removeFeature(this.owner.featureName);\n}","funcProperties":{"__isSmartRef__":true,"id":145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"144":{"this":{"__isSmartRef__":true,"id":123}},"145":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:56:55 GMT-0700 (PDT)\")"},"146":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":true,"_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(648.0,38.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(0,0,204)","_Padding":"lively.rect(0,0,0,0)"},"147":{"partsSpaceName":"PartsBin/Basic","comment":"A plain simple rectangle","migrationLevel":8,"partName":"Rectangle","changes":[{"__isSmartRef__":true,"id":148},{"__isSmartRef__":true,"id":149},{"__isSmartRef__":true,"id":150},{"__isSmartRef__":true,"id":151},{"__isSmartRef__":true,"id":152},{"__isSmartRef__":true,"id":153},{"__isSmartRef__":true,"id":154},{"__isSmartRef__":true,"id":155},{"__isSmartRef__":true,"id":156},{"__isSmartRef__":true,"id":157},{"__isSmartRef__":true,"id":158},{"__isSmartRef__":true,"id":159},{"__isSmartRef__":true,"id":160},{"__isSmartRef__":true,"id":161},{"__isSmartRef__":true,"id":162},{"__isSmartRef__":true,"id":163},{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":165},{"__isSmartRef__":true,"id":166}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"148":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"149":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"150":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"151":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"152":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"153":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"154":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"155":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"156":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"157":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"158":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"159":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"160":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"161":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"162":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"163":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"164":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"165":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"166":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"167":{"morph":{"__isSmartRef__":true,"id":81},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"168":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":169}},"169":{"test01IsMorph":{"__isSmartRef__":true,"id":170}},"170":{"varMapping":{"__isSmartRef__":true,"id":171},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":172},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"171":{"this":{"__isSmartRef__":true,"id":168}},"172":{},"173":{"adjustForNewBounds":true,"resizeWidth":true},"174":{"sourceObj":{"__isSmartRef__":true,"id":81},"sourceAttrName":"voters","targetObj":{"__isSmartRef__":true,"id":108},"targetMethodName":"textString","varMapping":{"__isSmartRef__":true,"id":175},"converterString":"function (anAry) {\n        return anAry.length;\n    }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"175":{"source":{"__isSmartRef__":true,"id":81},"target":{"__isSmartRef__":true,"id":108}},"176":{"sourceObj":{"__isSmartRef__":true,"id":81},"sourceAttrName":"voters","targetObj":{"__isSmartRef__":true,"id":97},"targetMethodName":"setChecked","varMapping":{"__isSmartRef__":true,"id":177},"converterString":"function (anAry) {\n        return anAry.include($world.getUserName());\n    }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"177":{"source":{"__isSmartRef__":true,"id":81},"target":{"__isSmartRef__":true,"id":97}},"178":{"sourceObj":{"__isSmartRef__":true,"id":81},"sourceAttrName":"voters","targetObj":{"__isSmartRef__":true,"id":108},"targetMethodName":"setToolTip","varMapping":{"__isSmartRef__":true,"id":179},"converterString":"function (ary) {\n        return ary.length > 0 ? 'voter(s): ' + ary.join(',') : '';\n    }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"179":{"source":{"__isSmartRef__":true,"id":81},"target":{"__isSmartRef__":true,"id":108}},"180":{"setFeatureName":{"__isSmartRef__":true,"id":181},"reset":{"__isSmartRef__":true,"id":184},"makeDummy":{"__isSmartRef__":true,"id":187},"onCheckboxClicked":{"__isSmartRef__":true,"id":190},"getCount":{"__isSmartRef__":true,"id":193},"setVoters":{"__isSmartRef__":true,"id":196},"setChecked":{"__isSmartRef__":true,"id":199}},"181":{"varMapping":{"__isSmartRef__":true,"id":182},"source":"function setFeatureName(aName) {\n    this.getMorphNamed('FeatureDescription').setTextString(aName);\n    this.featureName = aName;\n}","funcProperties":{"__isSmartRef__":true,"id":183},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"182":{"this":{"__isSmartRef__":true,"id":81}},"183":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 09:15:32 GMT-0700 (PDT)\")"},"184":{"varMapping":{"__isSmartRef__":true,"id":185},"source":"function reset() {\n    this.setVoters([]);\n    this.setFeatureName('')\n    this.setChecked(false);\n}","funcProperties":{"__isSmartRef__":true,"id":186},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"185":{"this":{"__isSmartRef__":true,"id":81}},"186":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 18:00:42 GMT-0700 (PDT)\")"},"187":{"varMapping":{"__isSmartRef__":true,"id":188},"source":"function makeDummy() {\n    this.owner.featurePrototype = this;\n}","funcProperties":{"__isSmartRef__":true,"id":189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"188":{"this":{"__isSmartRef__":true,"id":81}},"189":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Sep 30 2014 16:08:48 GMT-0700 (PDT)\")"},"190":{"varMapping":{"__isSmartRef__":true,"id":191},"source":"function onCheckboxClicked(bool) {\n    this.owner && this.owner.owner && this.owner.owner.vote(bool, this.featureName);\n}","funcProperties":{"__isSmartRef__":true,"id":192},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"191":{"this":{"__isSmartRef__":true,"id":81}},"192":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 09:17:03 GMT-0700 (PDT)\")"},"193":{"varMapping":{"__isSmartRef__":true,"id":194},"source":"function getCount(aNum) {\n    return this.count\n}","funcProperties":{"__isSmartRef__":true,"id":195},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"194":{"this":{"__isSmartRef__":true,"id":81}},"195":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Sep 30 2014 16:56:53 GMT-0700 (PDT)\")"},"196":{"varMapping":{"__isSmartRef__":true,"id":197},"source":"function setVoters(voters) {\n    if (!this.voters.uniq().equals(voters.uniq())) {\n        this.voters = voters;\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"197":{"this":{"__isSmartRef__":true,"id":81}},"198":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:10:59 GMT-0700 (PDT)\")"},"199":{"varMapping":{"__isSmartRef__":true,"id":200},"source":"function setChecked(bool) {\n    this.get('VoteBox').setChecked(bool)\n}","funcProperties":{"__isSmartRef__":true,"id":201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"200":{"this":{"__isSmartRef__":true,"id":81}},"201":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 10:25:53 GMT-0700 (PDT)\")"},"202":{"reset":{"__isSmartRef__":true,"id":203},"removeFeature":{"__isSmartRef__":true,"id":206},"addFeature":{"__isSmartRef__":true,"id":209},"uncheck":{"__isSmartRef__":true,"id":212},"check":{"__isSmartRef__":true,"id":215},"setupFeatures":{"__isSmartRef__":true,"id":218},"getFeatures":{"__isSmartRef__":true,"id":221},"setVotersFor":{"__isSmartRef__":true,"id":224},"sortFeaturesByVoteCount":{"__isSmartRef__":true,"id":227}},"203":{"varMapping":{"__isSmartRef__":true,"id":204},"source":"function reset() {\n    this.submorphs.invoke('remove')\n}","funcProperties":{"__isSmartRef__":true,"id":205},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"204":{"this":{"__isSmartRef__":true,"id":42}},"205":{"user":"astrid","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Sep 30 2014 14:00:29 GMT-0700 (PDT)\")"},"206":{"varMapping":{"__isSmartRef__":true,"id":207},"source":"function removeFeature(featureName) {\n    var toRemove = this.submorphs.find(function(submorph) {\n        return submorph.featureName === featureName\n    })\n    toRemove && toRemove.remove();\n}","funcProperties":{"__isSmartRef__":true,"id":208},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"207":{"this":{"__isSmartRef__":true,"id":42}},"208":{"user":"astrid","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Tue Sep 30 2014 15:38:05 GMT-0700 (PDT)\")"},"209":{"varMapping":{"__isSmartRef__":true,"id":210},"source":"function addFeature(feature) {\n    var entry = this.addMorph(this.featurePrototype.copy());\n    entry.setFeatureName(feature.featureName);\n    entry.setVoters(feature.voters);\n    this.sortFeaturesByVoteCount();\n}","funcProperties":{"__isSmartRef__":true,"id":211},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"210":{"this":{"__isSmartRef__":true,"id":42}},"211":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 16:34:12 GMT-0700 (PDT)\")"},"212":{"varMapping":{"__isSmartRef__":true,"id":213},"source":"function uncheck(featureName) {\n    var toUncheck = this.submorphs.find(function(submorph) {\n        return submorph.featureName === featureName\n    })\n    toUncheck && toUncheck.setChecked(false);\n}","funcProperties":{"__isSmartRef__":true,"id":214},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"213":{"this":{"__isSmartRef__":true,"id":42}},"214":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 08:59:27 GMT-0700 (PDT)\")"},"215":{"varMapping":{"__isSmartRef__":true,"id":216},"source":"function check(featureName) {\n    var toCheck = this.submorphs.find(function(submorph) {\n        return submorph.featureName === featureName\n    })\n    toCheck && toCheck.setChecked(true);\n}","funcProperties":{"__isSmartRef__":true,"id":217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"216":{"this":{"__isSmartRef__":true,"id":42}},"217":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 08:59:23 GMT-0700 (PDT)\")"},"218":{"varMapping":{"__isSmartRef__":true,"id":219},"source":"function setupFeatures(features) {\n    var that = this;\n    features.each(function(feature) {\n        that.addFeature(feature);\n    })\n    this.sortFeaturesByVoteCount();\n}","funcProperties":{"__isSmartRef__":true,"id":220},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"219":{"this":{"__isSmartRef__":true,"id":42}},"220":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 16:33:51 GMT-0700 (PDT)\")"},"221":{"varMapping":{"__isSmartRef__":true,"id":222},"source":"function getFeatures() {\n    return this.submorphs.collect(function(submorph) {\n        return {\n            featureName: submorph.featureName,\n            voters: submorph.voters\n        }\n    })\n}","funcProperties":{"__isSmartRef__":true,"id":223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"222":{"this":{"__isSmartRef__":true,"id":42}},"223":{"user":"astrid","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 09:01:47 GMT-0700 (PDT)\")"},"224":{"varMapping":{"__isSmartRef__":true,"id":225},"source":"function setVotersFor(featureName, voters) {\n    var toSet = this.submorphs.find(function(submorph) {\n        return submorph.featureName === featureName\n    })\n    toSet && toSet.setVoters(voters);\n    this.sortFeaturesByVoteCount();\n}","funcProperties":{"__isSmartRef__":true,"id":226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"225":{"this":{"__isSmartRef__":true,"id":42}},"226":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 16:33:40 GMT-0700 (PDT)\")"},"227":{"varMapping":{"__isSmartRef__":true,"id":228},"source":"function sortFeaturesByVoteCount() {\n    var self = this;\n    var names = this.submorphs.collect(function(sub) {\n        return {name: sub.featureName, count: sub.voters.length}\n    }).sort(function(a,b) {\n        return a.count < b.count\n    }).pluck('name')\n    names.each(function(name) {\n        self.addMorph(self.submorphs.find(function(sub) {\n            return sub.featureName === name;\n        }))\n    })\n}","funcProperties":{"__isSmartRef__":true,"id":229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"228":{"this":{"__isSmartRef__":true,"id":42}},"229":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 16:33:06 GMT-0700 (PDT)\")"},"230":{"submorphs":[{"__isSmartRef__":true,"id":231}],"scripts":[],"id":"EC149AA2-8917-40A4-95E8-88B3DAEA0EAF","shape":{"__isSmartRef__":true,"id":235},"droppingEnabled":true,"halosEnabled":true,"itemList":[],"selectedIndexes":[],"showsHalos":false,"name":"PollChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":236},"_ClipMode":{"__isSmartRef__":true,"id":241},"eventHandler":{"__isSmartRef__":true,"id":242},"derivationIds":[2860,"30186701-49A1-49AD-A42F-27F425D92029","ADD09343-51ED-44F6-85F3-257C9A52C897","C1C00AC4-F3E1-44E1-8973-0E9903EFE3B9","2B85E408-84FC-4316-BD59-0C77BB49E637","6CE6A7BB-6705-43E9-9DB7-A9B499A0017C","E3F6C0C1-ED4D-4831-B87A-08E5D7CDC8BD","D5A91402-F34C-4FD8-8A3F-AA06692490B9","793A68B1-31E6-49D1-AE73-78A822C42C8B","70A3156E-F0D3-4649-A55C-C75A3685F343","9DCAEE0A-CBA6-43A7-99A3-E6E076A86623","EDC56141-33B2-4CC8-8855-50CBC57C346F","022377F6-CF6D-4EBB-8DAF-BC1A09F91ED8","C3514F09-2C6B-4023-A97A-027648C83F0C","8267B079-6C64-4756-93B7-E4C96C1BA7DA","FF23C3F9-4DE5-4EE9-A67A-504DD020BCDE"],"isBeingDragged":false,"changeTriggered":true,"grabbingEnabled":false,"_FontSize":10,"moved":true,"itemMorphs":[],"layout":{"__isSmartRef__":true,"id":243},"owner":{"__isSmartRef__":true,"id":41},"isMultipleSelectionList":false,"multipleSelectionMode":"normal","_Visible":false,"eventsAreDisabled":true,"_HandStyle":"default","_PointerEvents":"none","prevScroll":[0,0],"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":244},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Lists","_Position":"lively.pt(463.0,30.4)","distanceToDragEvent":"lively.pt(69.0,0.0)"},"231":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":232},"_ClipMode":"visible","derivationIds":["5B4469C4-350D-4551-89E3-0CCAA4874419","99AE6204-7A5A-47D1-AE7C-1B39DB42669D","F64CD827-F2C5-4AA9-9BB4-3144BDFC362C","2507A702-129D-4483-9856-D7599026DC40","E4403F30-6522-4974-8F9D-678B8BBCC3BF","1E27AA8B-C399-48F0-9865-423E869F6450","1319FF32-D057-49EB-BC6A-D5C2E565310A","610D5472-1B5D-4F94-8582-CBC82D8FE32D","C264CA0F-796C-4FC5-A0F5-430838B5D729","337DD79F-ED48-4935-A884-60D1FED75224","AF513C3B-D5EC-424B-BB3D-4366F47BA5D6","112283B6-6396-4C4B-B8CE-A6D881610995","E826E77C-B214-4347-8C07-651E36C63D1C"],"id":"460C0DFD-1D08-4C44-9C9F-6648D0C83E84","droppingEnabled":true,"halosEnabled":false,"owner":{"__isSmartRef__":true,"id":230},"eventHandler":{"__isSmartRef__":true,"id":233},"showsHalos":false,"layout":{"__isSmartRef__":true,"id":234},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(0.0,0.0)"},"232":{"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(106.0,4.0)","_Padding":"lively.rect(0,0,0,0)"},"233":{"morph":{"__isSmartRef__":true,"id":231},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"234":{"resizeWidth":true,"adjustForNewBounds":true},"235":{"_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(106.0,102.0)","_BorderColor":"Color.rgb(0,0,0)","_Fill":"Color.rgb(243,243,243)","_Padding":"lively.rect(0,0,0,0)"},"236":{"partsSpaceName":"PartsBin/Inputs","migrationLevel":8,"partName":"List","comment":"a list morph","changes":[{"__isSmartRef__":true,"id":237},{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":239},{"__isSmartRef__":true,"id":240}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Fri Jun 27 2014 02:53:08 GMT-0700 (PDT)\")"},"237":{"author":"undefined","message":"Click on scrollbar does not grab list","id":"16AABF98-2E7D-4875-9E66-CF86EB74AF93","__serializedExpressions__":["date"],"date":"new Date(\"Thu Mar 29 2012 05:39:24 GMT-0700 (PDT)\")"},"238":{"author":"robertkrahn","message":"new morphic lists","id":"ACF81045-E200-4DA6-B0C6-B9AB94590E84","__serializedExpressions__":["date"],"date":"new Date(\"Mon Sep 30 2013 14:32:00 GMT-0700 (PDT)\")"},"239":{"author":"robertkrahn","message":"no comment","id":"3D0531CA-D241-4692-89F0-2FCC7621B8DE","__serializedExpressions__":["date"],"date":"new Date(\"Tue Oct 01 2013 15:29:07 GMT-0700 (PDT)\")"},"240":{"author":"robertkrahn","message":"Fixed onMouseDown handler of text item morphs","id":"860182BB-590A-4CD9-AAB6-2F87F9BDF9B6","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jun 27 2014 02:53:07 GMT-0700 (PDT)\")"},"241":{"x":"hidden","y":"scroll"},"242":{"morph":{"__isSmartRef__":true,"id":230},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"243":{"listItemHeight":19,"padding":0,"maxListItems":6,"noOfCandidatesShown":1,"adjustForNewBounds":true,"__serializedExpressions__":["extent","maxExtent"],"extent":"lively.pt(106.0,102.0)","maxExtent":"lively.pt(106.0,102.0)"},"244":{"showWithItems":{"__isSmartRef__":true,"id":245},"hide":{"__isSmartRef__":true,"id":248},"onMouseUp":{"__isSmartRef__":true,"id":251},"reset":{"__isSmartRef__":true,"id":258}},"245":{"varMapping":{"__isSmartRef__":true,"id":246},"source":"function showWithItems(items) {\n    this.updateList(items);\n    this.setVisible(true);\n    this.enableEvents();\n}","funcProperties":{"__isSmartRef__":true,"id":247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"246":{"this":{"__isSmartRef__":true,"id":230}},"247":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 14:56:04 GMT-0700 (PDT)\")"},"248":{"varMapping":{"__isSmartRef__":true,"id":249},"source":"function hide() {\n    this.setVisible(false);\n    this.disableEvents();\n}","funcProperties":{"__isSmartRef__":true,"id":250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"249":{"this":{"__isSmartRef__":true,"id":230}},"250":{"user":"astrid","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 14:52:13 GMT-0700 (PDT)\")"},"251":{"varMapping":{"__isSmartRef__":true,"id":252},"source":"function onMouseUp(evt) {\n    this.owner.getMorphNamed('OpenPollButton').hidePollChooser();\n    this.owner.tryOpenPoll(this.selection);\n}","funcProperties":{"__isSmartRef__":true,"id":257},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"252":{"this":{"__isSmartRef__":true,"id":230},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":253}},"253":{"$super":{"__isSmartRef__":true,"id":254}},"254":{"varMapping":{"__isSmartRef__":true,"id":255},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":256},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"255":{"obj":{"__isSmartRef__":true,"id":230},"name":"onMouseUp"},"256":{},"257":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 18:45:58 GMT-0700 (PDT)\")"},"258":{"varMapping":{"__isSmartRef__":true,"id":259},"source":"function reset() {\n    this.updateList([]);\n}","funcProperties":{"__isSmartRef__":true,"id":260},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"259":{"this":{"__isSmartRef__":true,"id":230}},"260":{"user":"astrid","tags":[],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 15:10:45 GMT-0700 (PDT)\")"},"261":{"submorphs":[{"__isSmartRef__":true,"id":262},{"__isSmartRef__":true,"id":374},{"__isSmartRef__":true,"id":380},{"__isSmartRef__":true,"id":386},{"__isSmartRef__":true,"id":392},{"__isSmartRef__":true,"id":398},{"__isSmartRef__":true,"id":404},{"__isSmartRef__":true,"id":410}],"scripts":[],"shape":{"__isSmartRef__":true,"id":416},"_ClipMode":"hidden","derivationIds":["012A857D-08CF-4693-84AB-4AE65FD69227","4015AA81-5FFF-4956-85A6-7E60FC841E6E","17E5330D-1C30-4B6B-9B7A-853FA93D65C2","EB998C97-1809-4D84-8582-0977FC46FAF1","054E9CF7-1A55-404F-95E1-B7AAB534D9F9","D785F793-A4A3-40E6-9439-DF341715CAC4","3628BDF6-87EF-4420-B12C-E962E092CDBB","E8487DD1-3A90-4452-98EF-0666033A7BE0"],"id":"50D2DE1C-3FF8-4DE1-8CD6-9731654370DA","droppingEnabled":false,"halosEnabled":true,"_StyleClassNames":["Morph","Box","tab-list"],"_StyleSheet":{"__isSmartRef__":true,"id":417},"_Visible":true,"_ZIndex":1000,"connections":{"__isSmartRef__":true,"id":434},"currentSel":-1,"doNotSerialize":["timeOpened","state","selectNextThrottled","selectPrevThrottled"],"grabbingEnabled":false,"initialSelection":1,"isEpiMorph":false,"isNarrowingList":false,"name":"InterfaceViewer","showDelay":700,"layout":{"__isSmartRef__":true,"id":438},"partsBinMetaInfo":{"__isSmartRef__":true,"id":439},"owner":{"__isSmartRef__":true,"id":41},"eventHandler":{"__isSmartRef__":true,"id":440},"showsHalos":false,"__serializedExpressions__":["_Position","distanceToDragEvent"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":441},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core","_Position":"lively.pt(142.0,397.0)","distanceToDragEvent":"lively.pt(272.0,-19.0)"},"262":{"storedTextString":"","submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":263},"derivationIds":["53413536-C7F6-487C-92A2-2D24FB22146C","F8014F54-18CE-4C75-94DD-B9D120E27338","DFC88C90-F3A0-4BDA-9F37-9598DD91782D","74D449FF-A583-4A0C-B211-984F42172C56","6761EA55-3976-4F8E-8DD1-476730B26EC6","D740800B-D188-415A-8975-2BD91E8F63C1","FC1A54B7-6A3A-44F0-BD65-373A5B23B588"],"id":"3614C4CE-ACAC-4365-A117-519854EF7692","grabbingEnabled":false,"halosEnabled":true,"_FontSize":12,"doNotSerialize":["whenOpenedInWorldCallbacks","$$textString","$$inputChanged","$$input"],"attributeConnections":[{"__isSmartRef__":true,"id":264},{"__isSmartRef__":true,"id":266},{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":270}],"_ShowGutter":false,"_TextMode":"text","_Theme":"ambiance","_LineWrapping":false,"_ShowInvisibles":false,"_ShowPrintMargin":false,"_ShowIndents":true,"_ShowActiveLine":false,"_SoftTabs":true,"_AutocompletionEnabled":true,"_ShowWarnings":true,"_ShowErrors":true,"name":"inputLine","style":{"__isSmartRef__":true,"id":272},"clearOnInput":false,"doNotCopyProperties":["$$textString","$$inputChanged","$$input"],"draggingEnabled":false,"_Rotation":0,"_Scale":1,"layout":{"__isSmartRef__":true,"id":273},"storedString":"do:","commandHistory":{"__isSmartRef__":true,"id":274},"connections":{"__isSmartRef__":true,"id":275},"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":277},"inputChanged":"","labelString":"do:","inputChange":"","allowInput":true,"isCommandLine":true,"_isFocused":false,"showsHalos":false,"__serializedExpressions__":["_Position"],"textString":"do:","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":278},"__LivelyClassName__":"lively.morphic.CodeEditor","__SourceModuleName__":"Global.lively.ide.CodeEditor","_Position":"lively.pt(0.0,0.0)"},"263":{"_BorderWidth":0,"_Fill":null,"_BorderStyle":"solid","_BorderRadius":0,"_Opacity":1,"__serializedExpressions__":["_BorderColor","_Extent","extent"],"__LivelyClassName__":"lively.morphic.CodeEditorShape","__SourceModuleName__":"Global.lively.ide.CodeEditor","_BorderColor":"Color.rgb(0,0,0)","_Extent":"lively.pt(900.0,18.0)","extent":"lively.pt(900.0,18.0)"},"264":{"sourceObj":{"__isSmartRef__":true,"id":262},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":262},"targetMethodName":"inputChange","varMapping":{"__isSmartRef__":true,"id":265},"converterString":"function () { return this.sourceObj.getInput(); }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"265":{"source":{"__isSmartRef__":true,"id":262},"target":{"__isSmartRef__":true,"id":262}},"266":{"sourceObj":{"__isSmartRef__":true,"id":262},"sourceAttrName":"inputChanged","targetObj":{"__isSmartRef__":true,"id":261},"targetMethodName":"filter","varMapping":{"__isSmartRef__":true,"id":267},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"267":{"source":{"__isSmartRef__":true,"id":262},"target":{"__isSmartRef__":true,"id":261}},"268":{"sourceObj":{"__isSmartRef__":true,"id":262},"sourceAttrName":"input","targetObj":{"__isSmartRef__":true,"id":261},"targetMethodName":"onSelectionConfirmed","varMapping":{"__isSmartRef__":true,"id":269},"updaterString":"function ($upd) {\n                    var n = this.targetObj, inputLine = n.get('inputLine'),\n                        actionIndex = (inputLine && inputLine.getUniversalArgument()) || 1;\n                    $upd(n.state, actionIndex-1, n.getSelecteddCandidate(n.state)); }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"269":{"source":{"__isSmartRef__":true,"id":262},"target":{"__isSmartRef__":true,"id":261}},"270":{"sourceObj":{"__isSmartRef__":true,"id":262},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":262},"targetMethodName":"inputChanged","varMapping":{"__isSmartRef__":true,"id":271},"converterString":"function (string) { return this.sourceObj.getInput(); }","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings.Core"},"271":{"source":{"__isSmartRef__":true,"id":262},"target":{"__isSmartRef__":true,"id":262}},"272":{"gutter":false,"enableGrabbing":false,"enableDragging":false,"clipMode":"hidden","fontSize":12},"273":{},"274":{"items":[],"max":30,"index":0},"275":{"input":{"__isSmartRef__":true,"id":276}},"276":{},"277":{"morph":{"__isSmartRef__":true,"id":262},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"278":{"addCommandToHistory":{"__isSmartRef__":true,"id":279},"browseHistory":{"__isSmartRef__":true,"id":282},"commandLineInput":{"__isSmartRef__":true,"id":285},"clear":{"__isSmartRef__":true,"id":288},"focus":{"__isSmartRef__":true,"id":295},"getInput":{"__isSmartRef__":true,"id":302},"setInput":{"__isSmartRef__":true,"id":305},"initializeAce":{"__isSmartRef__":true,"id":308},"makeEditorLabelAware":{"__isSmartRef__":true,"id":315},"setLabel":{"__isSmartRef__":true,"id":318},"setAndShowHistItem":{"__isSmartRef__":true,"id":321},"showHistItem":{"__isSmartRef__":true,"id":324},"showNextCommand":{"__isSmartRef__":true,"id":327},"showPrevCommand":{"__isSmartRef__":true,"id":330},"onKeyDown":{"__isSmartRef__":true,"id":333},"initCommandLine":{"__isSmartRef__":true,"id":340},"reset":{"__isSmartRef__":true,"id":343},"onLoad":{"__isSmartRef__":true,"id":346},"onFromBuildSpecCreated":{"__isSmartRef__":true,"id":353},"onUpPressed":{"__isSmartRef__":true,"id":360},"onDownPressed":{"__isSmartRef__":true,"id":367}},"279":{"varMapping":{"__isSmartRef__":true,"id":280},"source":"function addCommandToHistory(cmd) {\n    var hist = this.commandHistory,\n        items = hist.items;\n    if (items.last() === cmd) return;\n    items.push(cmd);\n    if (items.length > hist.max) {\n        hist.items = items = items.slice(-hist.max);\n    }\n    hist.index = items.length - 1;\n}","funcProperties":{"__isSmartRef__":true,"id":281},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"280":{"this":{"__isSmartRef__":true,"id":262}},"281":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"282":{"varMapping":{"__isSmartRef__":true,"id":283},"source":"function browseHistory() {\n    var cmdL = this;\n    var items = this.commandHistory.items.map(function(item, i) {\n        return {isListItem: true, string: item, value: i}\n    }).reverse();\n    lively.ide.tools.SelectionNarrowing.chooseOne(items, function(err, i) {\n        Object.isNumber(i) && cmdL.setAndShowHistItem(i);\n        cmdL.focus.bind(cmdL).delay(0);\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":284},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"283":{"this":{"__isSmartRef__":true,"id":262}},"284":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"285":{"varMapping":{"__isSmartRef__":true,"id":286},"source":"function commandLineInput(text) {\n    if (text.length > 0) this.addCommandToHistory(text);\n    lively.bindings.signal(this, 'input', text);\n    // for compatibility with old texts:\n    lively.bindings.signal(this, 'savedTextString', text);\n    this.clearOnInput && this.clear();\n}","funcProperties":{"__isSmartRef__":true,"id":287},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"286":{"this":{"__isSmartRef__":true,"id":262}},"287":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"288":{"varMapping":{"__isSmartRef__":true,"id":289},"source":"function clear() {\n    if (this.textString === this.labelString) {\n        this.owner && typeof this.owner.hideAfterFocus === 'function' && this.owner.hideAfterFocus()\n    }\n    $super();\n    if (this.labelString) this.textString = this.labelString;\n}","funcProperties":{"__isSmartRef__":true,"id":294},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"289":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":290}},"290":{"$super":{"__isSmartRef__":true,"id":291}},"291":{"varMapping":{"__isSmartRef__":true,"id":292},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"292":{"obj":{"__isSmartRef__":true,"id":262},"name":"clear"},"293":{},"294":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:22:44 GMT-0700 (PDT)\")"},"295":{"varMapping":{"__isSmartRef__":true,"id":296},"source":"function focus() {\n    if (this.labelString) {\n        var p = this.getCursorPositionAce();\n        if (p && p.row === 0 && p.column < this.labelString.length) {\n            p.column = this.labelString.length;\n            this.withAceDo(function(ed) { ed.moveCursorToPosition(p); })\n        }\n    }\n    var win = this.getWindow();\n    win && (win.targetMorph.lastFocused = this);\n    return $super();\n}","funcProperties":{"__isSmartRef__":true,"id":301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"296":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":297}},"297":{"$super":{"__isSmartRef__":true,"id":298}},"298":{"varMapping":{"__isSmartRef__":true,"id":299},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":300},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"299":{"obj":{"__isSmartRef__":true,"id":262},"name":"focus"},"300":{},"301":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"302":{"varMapping":{"__isSmartRef__":true,"id":303},"source":"function getInput() {\n    var input = this.textString;\n    if (this.labelString && input.indexOf(this.labelString) === 0) {\n        input = input.slice(this.labelString.length);\n    }\n    return input;\n}","funcProperties":{"__isSmartRef__":true,"id":304},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"303":{"this":{"__isSmartRef__":true,"id":262}},"304":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"305":{"varMapping":{"__isSmartRef__":true,"id":306},"source":"function setInput(text) {\n    var input = text;\n    if (this.labelString) text = this.labelString + text;\n    this.textString = text;\n    return input;\n}","funcProperties":{"__isSmartRef__":true,"id":307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"306":{"this":{"__isSmartRef__":true,"id":262}},"307":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"308":{"varMapping":{"__isSmartRef__":true,"id":309},"source":"function initializeAce() {\n    this.withAceDo(function(ed) { this.makeEditorLabelAware(ed); });\n    lively.bindings.connect(this, 'textString', this, 'inputChanged', {\n        converter: function(string) { return this.sourceObj.getInput(); }\n    });\n    return $super();\n}","funcProperties":{"__isSmartRef__":true,"id":314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"309":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":310}},"310":{"$super":{"__isSmartRef__":true,"id":311}},"311":{"varMapping":{"__isSmartRef__":true,"id":312},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"312":{"obj":{"__isSmartRef__":true,"id":262},"name":"initializeAce"},"313":{},"314":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"315":{"varMapping":{"__isSmartRef__":true,"id":316},"source":"function makeEditorLabelAware(ed) {\n    function offsetColumnForLabel(session, row, column) {\n            // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n        var labelString = session.labelString;\n        if (!labelString || row !== 0) return column;\n        var lineString = session.getDisplayLine(row, null, 0, 0);\n        if (lineString.startsWith(labelString) && column < labelString.length) {\n            column = labelString.length;\n        }\n        return column;\n    }\n\n    ed.selection.moveCursorTo = ed.selection.moveCursorTo.wrap(function(proceed, row, column, keepDesiredColumn) {\n        column = offsetColumnForLabel(this.session, row, column);\n        return proceed(row, column, keepDesiredColumn);\n    });\n\n    ed.selection.setSelectionAnchor = ed.selection.setSelectionAnchor.wrap(function(proceed,row, column) {\n        column = offsetColumnForLabel(this.session, row,column);\n        return proceed(row, column);\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"316":{"this":{"__isSmartRef__":true,"id":262}},"317":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"318":{"varMapping":{"__isSmartRef__":true,"id":319},"source":"function setLabel(labelString) {\n    var textString = this.textString;\n    if (this.labelString && this.textString.indexOf(this.labelString) === 0) {\n        textString = textString.slice(this.labelString.length);\n    }\n    this.labelString = labelString;\n    this.withAceDo(function(ed) { ed.session.labelString = labelString; });\n    this.setInput(textString);\n}","funcProperties":{"__isSmartRef__":true,"id":320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"319":{"this":{"__isSmartRef__":true,"id":262}},"320":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"321":{"varMapping":{"__isSmartRef__":true,"id":322},"source":"function setAndShowHistItem(idx) {\n    var hist = this.commandHistory, items = hist.items, len = items.length-1, i = idx;\n    if (!Global.Numbers.between(i, 0, len+1)) hist.index = i = len;\n    else hist.index = i;\n    if (this.getInput() !== items[i] && typeof items[i] !== 'undefined') this.setInput(items[i]);\n}","funcProperties":{"__isSmartRef__":true,"id":323},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"322":{"this":{"__isSmartRef__":true,"id":262}},"323":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"324":{"varMapping":{"__isSmartRef__":true,"id":325},"source":"function showHistItem(dir) {\n    dir = dir || 'next';\n    var hist = this.commandHistory, items = hist.items, len = items.length-1, i = hist.index;\n    if (!Global.Numbers.between(i, 0, len+1)) hist.index = i = len;\n    if (this.getInput() !== items[i] && typeof items[i] !== 'undefined') { this.setInput(items[i]); return; }\n    if (dir === 'next') {\n        if (i > len) return;\n        i = ++hist.index;\n    } else {\n        if (i <= 0) return;\n        i = --hist.index;\n    }\n    this.setInput(items[i] || '');\n}","funcProperties":{"__isSmartRef__":true,"id":326},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"325":{"this":{"__isSmartRef__":true,"id":262}},"326":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"327":{"varMapping":{"__isSmartRef__":true,"id":328},"source":"function showNextCommand() {\n    this.showHistItem('next');\n}","funcProperties":{"__isSmartRef__":true,"id":329},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"328":{"this":{"__isSmartRef__":true,"id":262}},"329":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"330":{"varMapping":{"__isSmartRef__":true,"id":331},"source":"function showPrevCommand() {\n    this.showHistItem('prev');\n}","funcProperties":{"__isSmartRef__":true,"id":332},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"331":{"this":{"__isSmartRef__":true,"id":262}},"332":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"333":{"varMapping":{"__isSmartRef__":true,"id":334},"source":"function onKeyDown(evt) {\n    var sig = evt.getKeyString();\n    switch(sig) {\n        case 'Enter': this.commandLineInput(this.getInput()); evt.stop(); return true;\n        case 'Esc': case 'Control-C': case 'Control-G': this.clear(); evt.stop(); return true;\n        case 'Control-Up':\n        case 'Alt-P': this.showPrevCommand(); this.focus(); evt.stop(); return true;\n        case 'Alt-å': // \"Alt-N\"\n        case 'Control-Down': this.showNextCommand(); this.focus(); evt.stop(); return true;\n        default: return $super(evt);\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"334":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":335}},"335":{"$super":{"__isSmartRef__":true,"id":336}},"336":{"varMapping":{"__isSmartRef__":true,"id":337},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":338},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"337":{"obj":{"__isSmartRef__":true,"id":262},"name":"onKeyDown"},"338":{},"339":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"340":{"varMapping":{"__isSmartRef__":true,"id":341},"source":"function initCommandLine(ed) {\n    this.isCommandLine = true;\n    ed.renderer.scrollBar.element.style.display = 'none';\n    ed.renderer.scrollBar.width = 0;\n    ed.resize(true);\n}","funcProperties":{"__isSmartRef__":true,"id":342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"341":{"this":{"__isSmartRef__":true,"id":262}},"342":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"343":{"varMapping":{"__isSmartRef__":true,"id":344},"source":"function reset() {\n    this.commandHistory = {items: [], max: 30, index: 0};\n    this.connections = {input: {}};\n}","funcProperties":{"__isSmartRef__":true,"id":345},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"344":{"this":{"__isSmartRef__":true,"id":262}},"345":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"346":{"varMapping":{"__isSmartRef__":true,"id":347},"source":"function onLoad() {\n    $super();\n    this.withAceDo(function(ed) { this.initCommandLine(ed); });\n}","funcProperties":{"__isSmartRef__":true,"id":352},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"347":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":348}},"348":{"$super":{"__isSmartRef__":true,"id":349}},"349":{"varMapping":{"__isSmartRef__":true,"id":350},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":351},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"350":{"obj":{"__isSmartRef__":true,"id":262},"name":"onLoad"},"351":{},"352":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"353":{"varMapping":{"__isSmartRef__":true,"id":354},"source":"function onFromBuildSpecCreated() {\n    this.reset();\n    this.labelString && lively.bindings.noUpdate(function() {\n        this.setLabel(this.labelString);\n        this.setCursorPosition(pt(this.labelString.length, 0));\n    }.bind(this));\n    lively.bindings.connect(this, 'textString', this, 'inputChange', {\n        converter: function() { return this.sourceObj.getInput(); }\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":359},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"354":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":355}},"355":{"$super":{"__isSmartRef__":true,"id":356}},"356":{"varMapping":{"__isSmartRef__":true,"id":357},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"357":{"obj":{"__isSmartRef__":true,"id":262},"name":"onFromBuildSpecCreated"},"358":{},"359":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:21:30 GMT-0700 (PDT)\")"},"360":{"varMapping":{"__isSmartRef__":true,"id":361},"source":"function onUpPressed(evt) {\n    this.owner.selectPrev();\n    evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"361":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":362}},"362":{"$super":{"__isSmartRef__":true,"id":363}},"363":{"varMapping":{"__isSmartRef__":true,"id":364},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":365},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"364":{"obj":{"__isSmartRef__":true,"id":262},"name":"onUpPressed"},"365":{},"366":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 11:00:22 GMT-0700 (PDT)\")"},"367":{"varMapping":{"__isSmartRef__":true,"id":368},"source":"function onDownPressed(evt) {\n    this.owner.selectNext();\n    evt.stop();\n}","funcProperties":{"__isSmartRef__":true,"id":373},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"368":{"this":{"__isSmartRef__":true,"id":262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":369}},"369":{"$super":{"__isSmartRef__":true,"id":370}},"370":{"varMapping":{"__isSmartRef__":true,"id":371},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":372},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"371":{"obj":{"__isSmartRef__":true,"id":262},"name":"onDownPressed"},"372":{},"373":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 11:00:29 GMT-0700 (PDT)\")"},"374":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":375},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":376}],"_ClipMode":"hidden","derivationIds":["717F485F-FF28-4463-BDA5-6B5BCE255C76","3281788F-D5CA-4A81-9F20-C65F1D02040F","5E1F895B-C6A8-4BC1-BBEA-9593F6C51BC2","8421501C-2311-4154-9599-95DF1074BED1","A41454D2-5416-4E48-AB2E-42BC50E773A5","AADA766B-3ACF-4FED-98A7-7E1B50B4469E","CD400F9B-D357-4FE0-B7AB-029FD71DA74C"],"id":"F0AB88E1-7AE4-4718-A1F1-B94FD2CC1379","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":378},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"0","index":0,"candidate":{"__isSmartRef__":true,"id":379},"showsHalos":false,"__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)"},"375":{"_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(900.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"376":{"style":{"__isSmartRef__":true,"id":377},"chunkOwner":{"__isSmartRef__":true,"id":374},"_id":"_12477","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"377":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"378":{"morph":{"__isSmartRef__":true,"id":374},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"379":{"string":"create poll","value":"createPoll","isListItem":true},"380":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":381},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":382}],"_ClipMode":"hidden","derivationIds":["B12C1D3D-392D-4964-8993-23AC1237A148","55A8D1EC-39FA-47B8-ADC5-9D5540917615","5E094CE3-5DA4-4DCF-8B24-DA78293FA8EA","7AF69D9D-04B9-433B-8239-C5B2BD9819DE","57559509-276A-4DFA-8A5D-377DDA31713E","051977D4-6D3C-4D6F-A67A-A0B75DB8264B","973A4743-C9E7-44A9-844D-07BE85BB95AD"],"id":"CE408644-8B5B-4061-A85D-043AE0DC75A4","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":384},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"1","index":1,"candidate":{"__isSmartRef__":true,"id":385},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,22.0)"},"381":{"_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(900.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"382":{"style":{"__isSmartRef__":true,"id":383},"chunkOwner":{"__isSmartRef__":true,"id":380},"_id":"_12478","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"383":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"384":{"morph":{"__isSmartRef__":true,"id":380},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"385":{"string":"reset","value":"reset","isListItem":true},"386":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":387},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":388}],"_ClipMode":"hidden","derivationIds":["5736704F-CE10-4717-BB60-42BDB836C704","C58ADFC0-D0F7-4BB1-8080-DB5E587EA946","E255F7DD-5181-4F6E-A493-D1A56E190EBD","6C9E2E69-C700-4D22-A053-76DB1DFC44AB","E8C1B8E6-25B1-486C-A409-25C4AB769389","D0E151FD-2EBD-4FF6-8308-C93D2763106D","86F944F5-F39A-4407-8201-D72F4FAFAE36"],"id":"B4912D23-776F-4122-B167-30E88B553C70","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":390},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"2","index":2,"candidate":{"__isSmartRef__":true,"id":391},"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,44.0)"},"387":{"_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(900.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"388":{"style":{"__isSmartRef__":true,"id":389},"chunkOwner":{"__isSmartRef__":true,"id":386},"_id":"_12479","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"389":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"390":{"morph":{"__isSmartRef__":true,"id":386},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"391":{"string":"add feature","value":"addFeature","isListItem":true},"392":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":393},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":394}],"_ClipMode":"hidden","derivationIds":["34DF1759-521B-47AC-86A3-ED7CAA8E0763","6C1B9943-FA82-4753-A059-982B770661F7","E5A7BF7E-0664-4EA9-A236-1D5E7ADFBA46","37BBAD94-6487-47A0-A0E5-D961A69F7267","5F3E3FCF-8243-47D6-9400-665D3F4EBB9B","3E871C30-FAD3-4B8E-904E-DA48E26603EF","5AD7B0E1-DF0C-49E0-AC64-AB012908DA72"],"id":"F93A5381-8338-412C-95CC-3BC8200E3CBF","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":396},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"3","index":3,"candidate":{"__isSmartRef__":true,"id":397},"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,66.0)"},"393":{"_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(400.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"394":{"style":{"__isSmartRef__":true,"id":395},"chunkOwner":{"__isSmartRef__":true,"id":392},"_id":"_12480","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"395":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"396":{"morph":{"__isSmartRef__":true,"id":392},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"397":{"string":"open poll","value":"openPoll","isListItem":true},"398":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":399},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":400}],"_ClipMode":"hidden","derivationIds":["DB04A9BA-17AF-40F9-8C20-44BD21CAC48D","58ED0E13-FA6D-4BE5-8571-BBB8F70F36AF","42342EB6-4568-4064-B0D8-5D20CA1301FD","D59D05D0-A121-4EE5-81D7-3779D743C321","84F6A318-C141-4B64-A972-0809C6CAD3FF","D36FA1DE-7270-4EDE-91F9-C64174058444","E714E050-9AF0-4278-890C-4573C4FE38CA"],"id":"52B3C38E-C761-46EF-A0BD-849F4DC4D21F","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":402},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"4","index":4,"candidate":{"__isSmartRef__":true,"id":403},"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,88.0)"},"399":{"_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(400.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"400":{"style":{"__isSmartRef__":true,"id":401},"chunkOwner":{"__isSmartRef__":true,"id":398},"_id":"_12481","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"401":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"402":{"morph":{"__isSmartRef__":true,"id":398},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"403":{"string":"new title","value":"newTitle","isListItem":true},"404":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":405},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":406}],"_ClipMode":"hidden","derivationIds":["DF941D51-1637-414B-AD6F-1E11C27A5DA2","FBDEC044-EA8E-4B04-A0D6-6E5C6959ED4D","81EDE00A-3695-4AE0-A82A-147EDBA60ECB","D935DE9A-CCBA-44F3-AA0C-7EDFEF9BF6FD","5308FF9C-632F-49FF-873A-8DC942B8883C","732C8184-AFE6-429E-9C62-17A7D460AC1B","79548AB4-3FC9-44B7-B32A-F58A5A1745E1"],"id":"459EE29F-B40A-40FF-B1C9-A409B9C18F02","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":408},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"5","index":5,"candidate":{"__isSmartRef__":true,"id":409},"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,110.0)"},"405":{"_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(400.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"406":{"style":{"__isSmartRef__":true,"id":407},"chunkOwner":{"__isSmartRef__":true,"id":404},"_id":"_12482","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"407":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"408":{"morph":{"__isSmartRef__":true,"id":404},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"409":{"string":"new description","value":"newDescription","isListItem":true},"410":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":411},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":412}],"_ClipMode":"hidden","derivationIds":["1B81F342-05D1-4229-B7D3-C8A63EDFAA50","00EEA56B-C17F-47CE-A6A7-6AEA15C06215","B2437657-9724-4712-B57D-0DC61106C05B","A3BE6E75-403B-4804-95C5-FF685F81A3DF","66D89DC2-114A-4416-AA9A-5479981512BF","E295D1E0-EE7C-4AA2-AF39-06DB07CCE9B3","4FADC403-8363-4557-93E2-AF08E22287BA"],"id":"43E06885-25FE-4BB5-AC3F-B2207C3E1752","_InputAllowed":false,"_HandStyle":"default","allowInput":false,"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"fixedWidth":true,"fixedHeight":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":261},"eventHandler":{"__isSmartRef__":true,"id":414},"_StyleClassNames":["Morph","Text","tab-list-item"],"isListItemMorph":true,"name":"6","index":6,"candidate":{"__isSmartRef__":true,"id":415},"showsHalos":false,"__serializedExpressions__":["_TextColor","_Position"],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore","_TextColor":"Color.rgb(64,64,64)","_Position":"lively.pt(0.0,132.0)"},"411":{"_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(400.0,22.0)","_Padding":"lively.rect(4,2,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"412":{"style":{"__isSmartRef__":true,"id":413},"chunkOwner":{"__isSmartRef__":true,"id":410},"_id":"_12483","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"413":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"414":{"morph":{"__isSmartRef__":true,"id":410},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"415":{"string":"delete open poll","value":"deleteOpenPoll","isListItem":true},"416":{"_BorderWidth":0,"_BorderStyle":"solid","_BorderRadius":0,"_Opacity":1,"__serializedExpressions__":["_Fill","_Position","_Extent","_Padding","_BorderColor"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Fill":"Color.rgb(102,102,102)","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(400.0,18.0)","_Padding":"lively.rect(0,0,0,0)","_BorderColor":"Color.rgb(0,0,0)"},"417":{"rules":[{"__isSmartRef__":true,"id":418},{"__isSmartRef__":true,"id":422},{"__isSmartRef__":true,"id":428}],"originMorph":{"__isSmartRef__":true,"id":261},"__LivelyClassName__":"lively.morphic.StyleSheet","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"418":{"declarations":[{"__isSmartRef__":true,"id":419},{"__isSmartRef__":true,"id":420},{"__isSmartRef__":true,"id":421}],"styleSheet":{"__isSmartRef__":true,"id":417},"selector":".tab-list","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"419":{"values":["rgba(1,1,1,0.7)"],"rule":{"__isSmartRef__":true,"id":418},"property":"background-color","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"420":{"values":["5px"],"rule":{"__isSmartRef__":true,"id":418},"property":"border-radius","priority":true,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"421":{"values":["0 0 4px white, inset 0 0 5px white"],"rule":{"__isSmartRef__":true,"id":418},"property":"box-shadow","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"422":{"declarations":[{"__isSmartRef__":true,"id":423},{"__isSmartRef__":true,"id":424},{"__isSmartRef__":true,"id":425},{"__isSmartRef__":true,"id":426},{"__isSmartRef__":true,"id":427}],"styleSheet":{"__isSmartRef__":true,"id":417},"selector":".tab-list-item span","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"423":{"values":["Monaco, Consolas, monospace"],"rule":{"__isSmartRef__":true,"id":422},"property":"font-family","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"424":{"values":["11pt"],"rule":{"__isSmartRef__":true,"id":422},"property":"font-size","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"425":{"values":["white"],"rule":{"__isSmartRef__":true,"id":422},"property":"color","priority":true,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"426":{"values":["bold"],"rule":{"__isSmartRef__":true,"id":422},"property":"font-width","priority":true,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"427":{"values":["none "],"rule":{"__isSmartRef__":true,"id":422},"property":"text-shadow","priority":true,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"428":{"declarations":[{"__isSmartRef__":true,"id":429},{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":431},{"__isSmartRef__":true,"id":432},{"__isSmartRef__":true,"id":433}],"styleSheet":{"__isSmartRef__":true,"id":417},"selector":".tab-list-item.selected","__LivelyClassName__":"lively.morphic.StyleSheetRule","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"429":{"values":["normal"],"rule":{"__isSmartRef__":true,"id":428},"property":"font-weight","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"430":{"values":["rgba(1,1,1,0.3)"],"rule":{"__isSmartRef__":true,"id":428},"property":"background-color","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"431":{"values":["5px"],"rule":{"__isSmartRef__":true,"id":428},"property":"border-radius","priority":true,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"432":{"values":["0 0 3px white, inset 0 0 5px white"],"rule":{"__isSmartRef__":true,"id":428},"property":"box-shadow","priority":false,"__LivelyClassName__":"lively.morphic.StyleSheetDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"433":{"values":["0px","white","solid"],"rule":{"__isSmartRef__":true,"id":428},"property":"border","priority":true,"__LivelyClassName__":"lively.morphic.StyleSheetShorthandDeclaration","__SourceModuleName__":"Global.lively.morphic.StyleSheetRepresentation"},"434":{"confirmedSelection":{"__isSmartRef__":true,"id":435},"selection":{"__isSmartRef__":true,"id":436},"escapePressed":{"__isSmartRef__":true,"id":437}},"435":{},"436":{},"437":{},"438":{},"439":{"partName":"NarrowList","requiredModules":["lively.ide.tools.CommandLine"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin"},"440":{"morph":{"__isSmartRef__":true,"id":261},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"441":{"activate":{"__isSmartRef__":true,"id":442},"candidateToString":{"__isSmartRef__":true,"id":445},"deactivate":{"__isSmartRef__":true,"id":448},"doFilter":{"__isSmartRef__":true,"id":451},"ensureItems":{"__isSmartRef__":true,"id":454},"filter":{"__isSmartRef__":true,"id":457},"getAction":{"__isSmartRef__":true,"id":460},"getActions":{"__isSmartRef__":true,"id":463},"getFilteredCandidates":{"__isSmartRef__":true,"id":466},"getInput":{"__isSmartRef__":true,"id":469},"getListItemIndexFromMouseEvent":{"__isSmartRef__":true,"id":472},"getListItems":{"__isSmartRef__":true,"id":475},"getSelectedListItem":{"__isSmartRef__":true,"id":478},"getSelecteddCandidate":{"__isSmartRef__":true,"id":481},"ignoreMouseInput":{"__isSmartRef__":true,"id":484},"initLayout":{"__isSmartRef__":true,"id":487},"onFocus":{"__isSmartRef__":true,"id":490},"onFromBuildSpecCreated":{"__isSmartRef__":true,"id":497},"onKeyDown":{"__isSmartRef__":true,"id":504},"onMouseMove":{"__isSmartRef__":true,"id":511},"onMouseUp":{"__isSmartRef__":true,"id":518},"onMouseWheel":{"__isSmartRef__":true,"id":525},"onSelectionConfirmed":{"__isSmartRef__":true,"id":532},"open":{"__isSmartRef__":true,"id":535},"renderCandidateProjection":{"__isSmartRef__":true,"id":538},"renderContainer":{"__isSmartRef__":true,"id":541},"renderInputline":{"__isSmartRef__":true,"id":544},"renderList":{"__isSmartRef__":true,"id":547},"replaceState":{"__isSmartRef__":true,"id":550},"reset":{"__isSmartRef__":true,"id":553},"runAction":{"__isSmartRef__":true,"id":556},"selectCurrent":{"__isSmartRef__":true,"id":559},"selectInput":{"__isSmartRef__":true,"id":562},"selectN":{"__isSmartRef__":true,"id":565},"selectNext":{"__isSmartRef__":true,"id":568},"selectPrev":{"__isSmartRef__":true,"id":571},"setInput":{"__isSmartRef__":true,"id":574},"showFilteredItems":{"__isSmartRef__":true,"id":577},"test":{"__isSmartRef__":true,"id":580},"toggleShowActions":{"__isSmartRef__":true,"id":583},"valueFromListItem":{"__isSmartRef__":true,"id":586},"withInputLineDo":{"__isSmartRef__":true,"id":589},"updateOwnerInterface":{"__isSmartRef__":true,"id":592},"doAction":{"__isSmartRef__":true,"id":595},"foo":{"__isSmartRef__":true,"id":598},"hideAfterFocus":{"__isSmartRef__":true,"id":601},"onEscapePressed":{"__isSmartRef__":true,"id":604}},"442":{"varMapping":{"__isSmartRef__":true,"id":443},"source":"function activate() {\n    this.state.focusedMorph = lively.morphic.Morph.focusedMorph();\n    this.renderContainer(this.state.layout);\n    var inputLine = this.get('inputLine')\n    if (!this.state.keepInputOnReactivate) inputLine.clear();\n    this.selectInput(); inputLine.focus();\n}","funcProperties":{"__isSmartRef__":true,"id":444},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"443":{"this":{"__isSmartRef__":true,"id":261}},"444":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"445":{"varMapping":{"__isSmartRef__":true,"id":446},"source":"function candidateToString(candidate) {\n    var string;\n    if (!candidate || Object.isString(candidate)) {\n        string = String(candidate);\n    } else if (candidate.isListItem) {\n        string = candidate.string;\n    } else {\n        string = 'Cannot render ' + candidate;\n    }\n    return string;\n}","funcProperties":{"__isSmartRef__":true,"id":447},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"446":{"this":{"__isSmartRef__":true,"id":261}},"447":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"448":{"varMapping":{"__isSmartRef__":true,"id":449},"source":"function deactivate() {\n    this.updateOwnerInterface([]);\n}","funcProperties":{"__isSmartRef__":true,"id":450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"449":{"this":{"__isSmartRef__":true,"id":261}},"450":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:41:38 GMT-0700 (PDT)\")"},"451":{"varMapping":{"__isSmartRef__":true,"id":452},"source":"function doFilter(candidates, input) {\n    var container = this;\n    // split input by spaces and turn each string ino a regexp\n    var regexps = input.split(' ')\n        .map(function(part) { try { return new RegExp(part, 'i'); } catch(e) { return null } })\n        .compact();\n    return {\n        filters: regexps,\n        filtered: candidates.select(function(ea) {\n            return regexps.all(function(re) {\n                var string = container.candidateToString(ea);\n                return string.match(re); }); })\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"452":{"this":{"__isSmartRef__":true,"id":261}},"453":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"454":{"varMapping":{"__isSmartRef__":true,"id":455},"source":"function ensureItems(length, layout) {\n    var container = this;\n    function createListItem(string, i) {\n        var height = layout.listItemHeight,\n            width = layout.maxExtent.x,\n                text = lively.morphic.Text.makeLabel(string, {\n                position: pt(0, i*height),\n                extent: pt(width, height),\n                fixedHeight: true, fixedWidth: false,\n                whiteSpaceHandling: 'pre'\n            });\n        container.addMorph(text);\n        text.addStyleClassName('tab-list-item');\n        text.isListItemMorph = true;\n        text.name = String(i);\n        text.index = i;\n        return text;\n    }\n\n    var listItems = container.getListItems();\n    if (listItems.length > length) {\n        listItems.slice(length).forEach(function(text) {\n            text.setTextString('');\n            text.removeStyleClassName(\"selected\");\n            text.setHandStyle(\"default\");\n        });\n        listItems = listItems.slice(0,length);\n    } else if (listItems.length < length) {\n        var newItems = Array.range(listItems.length, length-1).collect(function(i) {\n            return createListItem('', i); });\n        listItems = listItems.concat(newItems);\n    }\n    return listItems;\n}","funcProperties":{"__isSmartRef__":true,"id":456},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"455":{"this":{"__isSmartRef__":true,"id":261}},"456":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"457":{"varMapping":{"__isSmartRef__":true,"id":458},"source":"function filter(input) {\n    var state = this.state, container = this;\n\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\n    // leave updating the candidates list to user func\n    if (state.candidatesUpdater) {\n        if (state.candidatesUpdaterMinLength && input.length < state.candidatesUpdaterMinLength) return;\n        state.candidatesUpdater(input, function(candidates) {\n            // FIXME duplication with below...!\n            container.ignoreMouseInput();\n            var prevFiltered = state.filteredCandidates;\n            if (prevFiltered.equals(candidates)) return;\n            state.previousCandidateProjection = null;\n            state.filteredCandidates = candidates;\n            container.selectN(0);\n        });\n        return;\n    }\n\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n    // do filter operation\n\n    var filterResult = container.doFilter(state.allCandidates, input),\n        prevFiltered = state.filteredCandidates;\n    state.filters = filterResult.filters;\n    if (prevFiltered.equals(filterResult.filtered)) return;\n    state.previousCandidateProjection = null;\n    state.filteredCandidates = filterResult.filtered;\n    this.selectN(0);\n}","funcProperties":{"__isSmartRef__":true,"id":459},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"458":{"this":{"__isSmartRef__":true,"id":261}},"459":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"460":{"varMapping":{"__isSmartRef__":true,"id":461},"source":"function getAction(state, n) {\n    n = n || 0;\n    return this.getActions(state)[n] || show.curry('No action ' + n);\n}","funcProperties":{"__isSmartRef__":true,"id":462},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"461":{"this":{"__isSmartRef__":true,"id":261}},"462":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"463":{"varMapping":{"__isSmartRef__":true,"id":464},"source":"function getActions(state) {\n    var actions = state.actions || state.spec.actions || [];\n    actions.push({name: \"open filtered items in workspace\", exec: this.showFilteredItems.bind(this, state)})\n    return actions;\n}","funcProperties":{"__isSmartRef__":true,"id":465},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"464":{"this":{"__isSmartRef__":true,"id":261}},"465":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"466":{"varMapping":{"__isSmartRef__":true,"id":467},"source":"function getFilteredCandidates(state) {\n    state = state || this.state;\n    return state.filteredCandidates.map(this.valueFromListItem);\n}","funcProperties":{"__isSmartRef__":true,"id":468},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"467":{"this":{"__isSmartRef__":true,"id":261}},"468":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"469":{"varMapping":{"__isSmartRef__":true,"id":470},"source":"function getInput() {\n    return this.withInputLineDo(function(inputLine) { return inputLine.getInput(); });\n}","funcProperties":{"__isSmartRef__":true,"id":471},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"470":{"this":{"__isSmartRef__":true,"id":261}},"471":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"472":{"varMapping":{"__isSmartRef__":true,"id":473},"source":"function getListItemIndexFromMouseEvent(evt) {\n    var target = evt.getTargetMorph(),\n        candidates = this.state ? this.state.filteredCandidates : [],\n        idx = candidates.indexOf(target.candidate);\n    return idx;\n}","funcProperties":{"__isSmartRef__":true,"id":474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"473":{"this":{"__isSmartRef__":true,"id":261}},"474":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"475":{"varMapping":{"__isSmartRef__":true,"id":476},"source":"function getListItems() {\n    // this.getListItems().invoke('getStyleClassNames').join('\\n')\n    return this.submorphs.filterByKey('isListItemMorph');\n}","funcProperties":{"__isSmartRef__":true,"id":477},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"476":{"this":{"__isSmartRef__":true,"id":261}},"477":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"478":{"varMapping":{"__isSmartRef__":true,"id":479},"source":"function getSelectedListItem(state) {\n    state = state || this.state;\n    return state.filteredCandidates[this.currentSel];\n}","funcProperties":{"__isSmartRef__":true,"id":480},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"479":{"this":{"__isSmartRef__":true,"id":261}},"480":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"481":{"varMapping":{"__isSmartRef__":true,"id":482},"source":"function getSelecteddCandidate(state) {\n    state = state || this.state;\n    return this.getSelectedListItem(state);\n}","funcProperties":{"__isSmartRef__":true,"id":483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"482":{"this":{"__isSmartRef__":true,"id":261}},"483":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 10:40:14 GMT-0700 (PDT)\")"},"484":{"varMapping":{"__isSmartRef__":true,"id":485},"source":"function ignoreMouseInput() {\n    // this is a fix for the issue that a line is selected if the mouse\n    // is in the area were the narrower appears when build/made visible\n    // even if the mouse is not moved/clicked\n    var narrower = this;\n    if (!this._resetIgnoreMouseInput) this._resetIgnoreMouseInput = Functions.debounce(700, function() {\n        delete narrower.mouseInputIgnored;\n    });\n    this.mouseInputIgnored = true;\n    this._resetIgnoreMouseInput();\n}","funcProperties":{"__isSmartRef__":true,"id":486},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"485":{"this":{"__isSmartRef__":true,"id":261}},"486":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"487":{"varMapping":{"__isSmartRef__":true,"id":488},"source":"function initLayout(noOfCandidates) {\n    var visibleBounds = lively.morphic.World.current().visibleBounds(),\n        layout = {\n            listItemHeight: 22,\n            inputLineHeight: 18,\n            padding: 20,\n            // computed below:\n            maxExtent: null,\n            maxListItems: null,\n            noOfCandidatesShown: null\n        };\n    layout.maxExtent = lively.pt(\n        Math.min(visibleBounds.extent().x - 2*layout.padding, 900),\n        visibleBounds.extent().y - 2*layout.padding);\n    layout.maxListItems = Math.floor(\n        (layout.maxExtent.y-layout.inputLineHeight) / layout.listItemHeight);\n    layout.noOfCandidatesShown = Math.min(layout.maxListItems, noOfCandidates);\n    return layout;\n}","funcProperties":{"__isSmartRef__":true,"id":489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"488":{"this":{"__isSmartRef__":true,"id":261}},"489":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"490":{"varMapping":{"__isSmartRef__":true,"id":491},"source":"function onFocus() { this.get('inputLine').focus(); }","funcProperties":{"__isSmartRef__":true,"id":496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"491":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":492}},"492":{"$super":{"__isSmartRef__":true,"id":493}},"493":{"varMapping":{"__isSmartRef__":true,"id":494},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":495},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"494":{"obj":{"__isSmartRef__":true,"id":261},"name":"onFocus"},"495":{},"496":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"497":{"varMapping":{"__isSmartRef__":true,"id":498},"source":"function onFromBuildSpecCreated() { this.reset(); }","funcProperties":{"__isSmartRef__":true,"id":503},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"498":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":499}},"499":{"$super":{"__isSmartRef__":true,"id":500}},"500":{"varMapping":{"__isSmartRef__":true,"id":501},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"501":{"obj":{"__isSmartRef__":true,"id":261},"name":"onFromBuildSpecCreated"},"502":{},"503":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"504":{"varMapping":{"__isSmartRef__":true,"id":505},"source":"function onKeyDown(evt) {\n    this.ignoreMouseInput();\n    var keys = evt.getKeyString();\n    var modifierPressed = evt.isCtrlDown() || evt.isCommandKey();\n\n    if (keys === \"Command-`\" || keys === \"Control-`\") {\n        if (evt.isShiftDown())  this.selectPrev();\n        else this.selectNext(); evt.stop(); return true;\n    }  else if (keys === \"Escape\") {\n        lively.bindings.signal(this, 'escapePressed', this);\n        evt.stop(); return true;\n    } else if (keys === 'Alt-Shift->') {\n        this.selectN(this.state.filteredCandidates.length);\n    } else if (keys === 'Alt-Shift-<') {\n        this.selectN(0);\n    } else if (evt.isAltDown()) {\n        var n = Number(String.fromCharCode(evt.keyCode));\n        if (n) {\n            this.runAction(this.state, n-1, this.getSelecteddCandidate(this.state));\n            this.ignoreMouseInput.bind().delay(0);\n            this.focus.bind(this).delay(0.3);\n            evt.stop(); return true;\n        }\n    } else if (keys === \"Tab\") {\n        this.toggleShowActions();\n        evt.stop(); return true;\n    } else if (keys === 'Right') {\n        var inputLine = this.get('inputLine');\n        var compl = this.state.completeInputOnRightArrow;\n        if (compl && inputLine && inputLine.isAtDocumentEnd()) {\n            var item = this.getSelectedListItem(this.state),\n                string = Object.isFunction(compl) ?\n                    compl(item) : item && item.string || String(item);\n            inputLine.setInput(string);\n            inputLine.withAceDo(function(ed) { ed.selection.moveCursorFileEnd(); })\n            evt.stop(); return true;\n        }\n    }\n    return false;\n}","funcProperties":{"__isSmartRef__":true,"id":510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"505":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":506}},"506":{"$super":{"__isSmartRef__":true,"id":507}},"507":{"varMapping":{"__isSmartRef__":true,"id":508},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"508":{"obj":{"__isSmartRef__":true,"id":261},"name":"onKeyDown"},"509":{},"510":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"511":{"varMapping":{"__isSmartRef__":true,"id":512},"source":"function onMouseMove(evt) {\n    if (this.mouseInputIgnored) return $super(evt);\n    var idx = this.getListItemIndexFromMouseEvent(evt);\n    if (idx === -1 || this.currentSel === idx) return $super(evt);\n    this.selectN(idx);\n    return $super(evt);\n}","funcProperties":{"__isSmartRef__":true,"id":517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"512":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":513}},"513":{"$super":{"__isSmartRef__":true,"id":514}},"514":{"varMapping":{"__isSmartRef__":true,"id":515},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":516},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"515":{"obj":{"__isSmartRef__":true,"id":261},"name":"onMouseMove"},"516":{},"517":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"518":{"varMapping":{"__isSmartRef__":true,"id":519},"source":"function onMouseUp(evt) {\n    Global.disconnect($world, 'onMouseUp', this,'hideAfterFocus');\n    if (this.mouseInputIgnored || evt.isCommandKey()) return $super(evt);\n    this.focus();\n    var idx = this.getListItemIndexFromMouseEvent(evt);\n    if (idx === -1) {\n        if (!this.state || !this.state.allCandidates || this.state.allCandidates.length === 0) {\n            this.updateOwnerInterface();\n        }\n        return $super(evt);\n    }\n    this.onSelectionConfirmed();\n    evt.stop(); return true;\n}","funcProperties":{"__isSmartRef__":true,"id":524},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"519":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":520}},"520":{"$super":{"__isSmartRef__":true,"id":521}},"521":{"varMapping":{"__isSmartRef__":true,"id":522},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":523},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"522":{"obj":{"__isSmartRef__":true,"id":261},"name":"onMouseUp"},"523":{},"524":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:41:56 GMT-0700 (PDT)\")"},"525":{"varMapping":{"__isSmartRef__":true,"id":526},"source":"function onMouseWheel(evt) {\n    if (!evt.wheelDeltaY) { evt.stop(); return true; };\n\n    var index = this.getListItemIndexFromMouseEvent(evt);\n    var diff = evt.wheelDeltaY < 0 ?\n        1 : evt.wheelDeltaY > 0 ? -1 : 0;\n\n    if (!diff) { evt.stop(); return true; };\n\n    var oldProj = this.state.previousCandidateProjection;\n    var proj = lively.ArrayProjection.transformToIncludeIndex(oldProj, index);\n    var length = proj.to - proj.from;\n    proj.from = proj.from + diff < 0 ? 0 : proj.from + diff;\n    proj.to = proj.from + length;\n    this.state.previousCandidateProjection = proj;\n    this.selectN(index+diff)\n\n    evt.stop();\n    return true;\n}","funcProperties":{"__isSmartRef__":true,"id":531},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"526":{"this":{"__isSmartRef__":true,"id":261},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":527}},"527":{"$super":{"__isSmartRef__":true,"id":528}},"528":{"varMapping":{"__isSmartRef__":true,"id":529},"source":"function () {\n                try {\n                    // FIXME super is supposed to be static\n                    return Object.getPrototypeOf(obj)[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":530},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"529":{"obj":{"__isSmartRef__":true,"id":261},"name":"onMouseWheel"},"530":{},"531":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"532":{"varMapping":{"__isSmartRef__":true,"id":533},"source":"function onSelectionConfirmed(/*state, actionIndex, candidate*/) {\n    var action = this.getSelecteddCandidate(this.state).action;\n    if (typeof action === 'function') action();\n    this.reset()\n    // state = state || this.state;\n    // candidate = candidate || this.getSelecteddCandidate(state);\n    // actionIndex = actionIndex || 0;\n    // lively.bindings.signal(this, 'confirmedSelection', candidate);\n    // this.runAction(state, actionIndex, candidate);\n}","funcProperties":{"__isSmartRef__":true,"id":534},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"533":{"this":{"__isSmartRef__":true,"id":261}},"534":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:27:50 GMT-0700 (PDT)\")"},"535":{"varMapping":{"__isSmartRef__":true,"id":536},"source":"function open(spec) {\n    //  spec can be:\n    //     narrowSpec = {\n    //         init: function(narrower, whenDone) {},\n    //         candidates: /*list ||*/function(func) {},\n    //         candidatesUpdater: function(input, callback) {}, /*called when called when input changed, callback should get new list*/\n    //         prompt: 'string',\n    //         input: 'string', /*initial input*/\n    //         preselect: 0,/*index || candidate*/\n    //         keepInputOnReactivate: BOOL, /*should the previous input be removed when re-activated?*/\n    //         ?keymap: {/*maps keyStrings to actions*/},\n    //         ?history: [/*previous inputs*/] || {items: ARRAY, max: NUMBER, index: NUMBER},\n    //         actions [/*list of functions receiving selected candidate*/],\n    //         close: function() {},\n    //         ?test: function(filter, candidate) {/**/},\n    //         ?sort\n    //     }\n    var narrower = this, focusedMorph = lively.morphic.Morph.focusedMorph();\n    function run() {\n        var candidates = (Object.isArray(spec.candidates) ?\n                spec.candidates : spec.candidates()) || [], history;\n        if (spec.history) {\n            if (Object.isObject(spec.history)) {\n                history = spec.history;\n            } else if (Object.isArray(history)) {\n                history = {items: spec.history, max: 100, index: 0};\n            }\n        }\n        spec.actions = spec.actions || [Functions.Null];\n        narrower.replaceState(narrower.state = {\n            spec: spec,\n            preselect: spec.preselect,\n            input: spec.input || '',\n            inputHistory: history,\n            prompt: spec.prompt || '',\n            layout: narrower.initLayout(spec.maxItems || candidates.length),\n            allCandidates: candidates,\n            filteredCandidates: candidates,\n            previousCandidateProjection: null,\n            candidatesUpdater: spec.candidatesUpdater,\n            candidatesUpdaterMinLength: spec.candidatesUpdaterMinLength,\n            keepInputOnReactivate: spec.keepInputOnReactivate,\n            completeInputOnRightArrow: spec.completeInputOnRightArrow,\n            filters: [],\n            focusedMorph: focusedMorph,\n            refocusOnClose: spec.refocusOnClose || true\n        });\n    }\n    if (spec.init) spec.init(this, run); else run();\n    return this;\n}","funcProperties":{"__isSmartRef__":true,"id":537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"536":{"this":{"__isSmartRef__":true,"id":261}},"537":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"538":{"varMapping":{"__isSmartRef__":true,"id":539},"source":"function renderCandidateProjection(proj, currentSel, layout) {\n// var prevSel = this.currentSel;\n// candidates = this.state.filteredCandidates\n// this.renderCandidateProjection(this.state.previousCandidateProjection, 3)\n// lively.ArrayProjection.\n// this.state.previousCandidateProjection.constructor.clone\n// this.state.previousCandidateProjection.to++\n// this.state.previousCandidateProjection.from++\n\n    layout = layout || this.state.layout\n\n    var projectedCandidates = lively.ArrayProjection.toArray(proj),\n        projectedCurrentSelection = lively.ArrayProjection.originalToProjectedIndex(proj, currentSel);\n\n    this.ensureItems(projectedCandidates.length, layout).forEach(function(item, i) {\n        var candidate = projectedCandidates[i],\n            string = this.candidateToString(candidate);\n\n        item.candidate = candidate || string;\n        item.textString = string;\n        item.setHandStyle(\"pointer\");\n        var method = i === projectedCurrentSelection ?\n            \"addStyleClassName\" : \"removeStyleClassName\"\n        item[method]('selected');\n    }, this);\n\n}","funcProperties":{"__isSmartRef__":true,"id":540},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"539":{"this":{"__isSmartRef__":true,"id":261}},"540":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"541":{"varMapping":{"__isSmartRef__":true,"id":542},"source":"function renderContainer(layout) {\n    lively.ide.tools.SelectionNarrowing.lastActive = null;\n    if (!this.owner) this.openInWorld();\n    if (!this.isVisible()) this.setVisible(true);\n    var visibleBounds = this.owner.isWorld ? lively.morphic.World.current().visibleBounds() : this.owner.getPosition().extent(this.owner.getExtent());\n    this.setExtent(visibleBounds.extent()\n        .withY(layout.listItemHeight*layout.noOfCandidatesShown+layout.inputLineHeight)\n        .minPt(layout.maxExtent));\n    this.align(\n        this.bounds().bottomCenter(),\n        visibleBounds.bottomCenter().addXY(0, -(layout.padding + 6)));\n    this.ignoreMouseInput();\n}","funcProperties":{"__isSmartRef__":true,"id":543},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"542":{"this":{"__isSmartRef__":true,"id":261}},"543":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 12:28:13 GMT-0700 (PDT)\")"},"544":{"varMapping":{"__isSmartRef__":true,"id":545},"source":"function renderInputline(prompt, history, layout) {\n    var inputLine = this.getMorphNamed('inputLine');\n    if (!inputLine) {\n        inputLine = lively.BuildSpec('lively.ide.tools.CommandLine').createMorph();\n        inputLine.name = 'inputLine';\n        this.addMorph(inputLine);\n        inputLine.setExtent(pt(this.getExtent().x, layout.inputLineHeight));\n        inputLine.setTheme('ambiance');\n        inputLine.jQuery('.ace-scroller').css({'background-color': 'rgba(32, 32, 32, 0.3)'});\n        lively.bindings.connect(inputLine, 'inputChanged', this, 'filter');\n        lively.bindings.connect(inputLine, 'input', this, 'onSelectionConfirmed', {\n            updater: function($upd) {\n                var n = this.targetObj, inputLine = n.get('inputLine'),\n                    actionIndex = (inputLine && inputLine.getUniversalArgument()) || 1;\n                $upd(n.state, actionIndex-1, n.getSelecteddCandidate(n.state)); },\n        });\n        inputLine.clearOnInput = false;\n        // also look at the key commands of the inputLine\n        inputLine.addScript(function onKeyDown(evt) {\n            var sig = evt.getKeyString();\n            switch(sig) {\n                case 'Enter': this.commandLineInput(this.getInput()); evt.stop(); return true;\n                case 'Esc': case 'Control-C': case 'Control-G': this.clear(); evt.stop(); return true;\n                case 'Control-Up':\n                case 'Alt-P': this.showPrevCommand(); this.focus(); evt.stop(); return true;\n                case 'Alt-å': // \"Alt-N\"\n                case 'Control-Down': this.showNextCommand(); this.focus(); evt.stop(); return true;\n                default: return $super(evt);\n            }\n        });\n\n        // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n        // redefine exec code of commands locally so we dan't have to fiddle with keybindings\n        inputLine.modifyCommand('golinedown', {exec: function (ed,args) { \n            ed.$morph.owner.selectNext(); }});\n        inputLine.modifyCommand('golineup', {exec: function (ed) { ed.$morph.owner.selectPrev(); }});\n        inputLine.modifyCommand('gotopageup', {\n            exec: function (ed) {\n                var narrower = ed.$morph.owner;\n                narrower.selectN(narrower.currentSel - narrower.state.layout.noOfCandidatesShown);\n            }\n        });\n        inputLine.modifyCommand('gotopagedown', {\n            exec: function (ed) {\n                var narrower = ed.$morph.owner;\n                narrower.selectN(narrower.currentSel + narrower.state.layout.noOfCandidatesShown);\n            }\n        });\n    }\n    inputLine.setPosition(pt(0, this.getExtent().y-layout.inputLineHeight));\n    inputLine.setLabel(prompt || '');\n    if (history) {\n        if (!inputLine.history || (inputLine.history !== history && inputLine.history.items !== history)) {\n            inputLine.history = Object.isArray(history) ? {items: history, max: 30, index: 0} : history;\n        }\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":546},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"545":{"this":{"__isSmartRef__":true,"id":261}},"546":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 10:55:20 GMT-0700 (PDT)\")"},"547":{"varMapping":{"__isSmartRef__":true,"id":548},"source":"function renderList(candidates, prevSel, currentSel, layout) {\n    prevSel = prevSel < 0 ? 0 : prevSel || 0; currentSel = currentSel || 0;\n\n    if (candidates.length === 0) { this.ensureItems(0, layout); return; }\n\n    var container = this,\n        prevProj = this.state.previousCandidateProjection\n                || lively.ArrayProjection.create(\n                    candidates, Math.min(candidates.length, layout.noOfCandidatesShown), prevSel),\n        proj = lively.ArrayProjection.transformToIncludeIndex(prevProj, currentSel);\n\n    this.state.previousCandidateProjection = proj;\n\n    this.renderCandidateProjection(proj, currentSel, layout);\n}","funcProperties":{"__isSmartRef__":true,"id":549},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"548":{"this":{"__isSmartRef__":true,"id":261}},"549":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"550":{"varMapping":{"__isSmartRef__":true,"id":551},"source":"function replaceState(newState) {\n\n    // FIXME time for a refactoring!\n    var oldState = this.state || {}, inputLine = this.get('inputLine');\n    if (oldState !== newState) { // state gets really replaced, remember\n        if (inputLine) {\n            oldState.input = inputLine.getInput();\n            oldState.history = inputLine.history;\n        }\n    } else { // state is the same but we might set certain things for re-initing\n        if (newState.keepInputOnReactivate && !newState.preselect) newState.preselect = this.currentSel;\n        if (inputLine) {\n            if (newState.keepInputOnReactivate) newState.input = inputLine.getInput();\n            if (!newState.history) newState.history = inputLine.history;\n        }\n    }\n\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\n    newState.layout = newState.layout || oldState.layout;\n    newState.allCandidates = newState.allCandidates || [];\n    newState.filteredCandidates = newState.filteredCandidates || newState.allCandidates;\n    newState.filters = newState.filters || [];\n\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n\n    this.state = newState;\n    this.renderContainer(newState.layout);\n    this.renderInputline(newState.prompt, newState.history, newState.layout);\n\n    (function() {\n        this.setInput(newState.input || '');\n        this.selectN(newState.preselect || 0);\n        this.selectInput();\n    }.bind(this)).delay(0);\n    this.focus();\n    return oldState;\n\n}","funcProperties":{"__isSmartRef__":true,"id":552},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"551":{"this":{"__isSmartRef__":true,"id":261}},"552":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:13 GMT-0700 (PDT)\")"},"553":{"varMapping":{"__isSmartRef__":true,"id":554},"source":"function reset() {\n    // this.isNarrowingList = false;\n    // this.setZIndex(null);\n    // this.setVisible(true);\n    // this.setExtent(pt(400,200));\n    // this.connections = {confirmedSelection: {}, selection: {}, escapePressed: {}};\n    // this.getPartsBinMetaInfo().addRequiredModule('lively.ide.tools.CommandLine');\n    // this.removeAllMorphs();\n    // this.currentSel = 0;\n    // this.initialSelection = 1; // index to select\n    // this.showDelay = 700; // ms\n    // this.doNotSerialize = ['timeOpened', 'state', \"selectNextThrottled\", \"selectPrevThrottled\"];\n    // this.state = null;\n    // this.applyStyle({clipMode: 'hidden'});\n    this.deactivate();\n    this.setFill(Global.Color.darkGray);\n    Global.disconnect($world, 'onMouseUp', this, 'hideAfterFocus', {removeAfterUpdate: true});\n    // this.setZIndex(1000);\n}","funcProperties":{"__isSmartRef__":true,"id":555},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"554":{"this":{"__isSmartRef__":true,"id":261}},"555":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:17:41 GMT-0700 (PDT)\")"},"556":{"varMapping":{"__isSmartRef__":true,"id":557},"source":"function runAction(state, n, candidate) {\n    var action = this.getAction(state, n);\n    if (Object.isFunction(action)) action(candidate);\n    else if (Object.isFunction(action.exec)) action.exec(candidate);\n    else show('Cannot invoke ' + action);\n    return action;\n}","funcProperties":{"__isSmartRef__":true,"id":558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"557":{"this":{"__isSmartRef__":true,"id":261}},"558":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"559":{"varMapping":{"__isSmartRef__":true,"id":560},"source":"function selectCurrent() {\n    this.currentSel = (this.currentSel || 0);\n    if (!this.submorphs[this.currentSel]) this.currentSel = 0;\n    if (this.submorphs[this.currentSel]) this.selectN(this.currentSel);\n}","funcProperties":{"__isSmartRef__":true,"id":561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"560":{"this":{"__isSmartRef__":true,"id":261}},"561":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"562":{"varMapping":{"__isSmartRef__":true,"id":563},"source":"function selectInput() {\n    this.withInputLineDo(function(inputLine) { inputLine.selectAll(); });\n}","funcProperties":{"__isSmartRef__":true,"id":564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"563":{"this":{"__isSmartRef__":true,"id":261}},"564":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"565":{"varMapping":{"__isSmartRef__":true,"id":566},"source":"function selectN(n) {\n    var candidates = this.state.filteredCandidates;\n    n = Math.min(Math.max(n, 0), candidates.length-1);\n    var item = candidates[n];\n    this.renderList(candidates, this.currentSel, n, this.state.layout);\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n    this.currentSel = n;\n    if (item && item.value) item = item.value;\n    lively.bindings.signal(this, 'selection', item);\n}","funcProperties":{"__isSmartRef__":true,"id":567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"566":{"this":{"__isSmartRef__":true,"id":261}},"567":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"568":{"varMapping":{"__isSmartRef__":true,"id":569},"source":"function selectNext() {\n    var candidates = this.state.filteredCandidates,\n        idx = (this.currentSel || 0) + 1;\n    if (!candidates[idx]) idx = 0;\n    this.selectN(idx);\n}","funcProperties":{"__isSmartRef__":true,"id":570},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"569":{"this":{"__isSmartRef__":true,"id":261}},"570":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"571":{"varMapping":{"__isSmartRef__":true,"id":572},"source":"function selectPrev() {\n    var candidates = this.state.filteredCandidates,\n        idx = (this.currentSel || 0) - 1;\n    if (!candidates[idx]) idx = candidates.length === 0 ? 0 : candidates.length-1;\n    this.selectN(idx);\n}","funcProperties":{"__isSmartRef__":true,"id":573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"572":{"this":{"__isSmartRef__":true,"id":261}},"573":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"574":{"varMapping":{"__isSmartRef__":true,"id":575},"source":"function setInput(string) {\n    this.withInputLineDo(function(inputLine) {\n        inputLine.setInput(string);\n        inputLine.withAceDo(function(ed) { ed.selection.moveCursorLineEnd(); });\n    });\n}","funcProperties":{"__isSmartRef__":true,"id":576},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"575":{"this":{"__isSmartRef__":true,"id":261}},"576":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"577":{"varMapping":{"__isSmartRef__":true,"id":578},"source":"function showFilteredItems(state) {\n    $world.addCodeEditor({\n        title: \"Contents of \" + this.name,\n        content: state.filteredCandidates.pluck('string').join('\\n'),\n        textMode: \"text\"\n    }).getWindow().openInWorldCenter().comeForward();\n}","funcProperties":{"__isSmartRef__":true,"id":579},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"578":{"this":{"__isSmartRef__":true,"id":261}},"579":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"580":{"varMapping":{"__isSmartRef__":true,"id":581},"source":"function test() {\n    // this.test();\n    // this.removeAllMorphs()\n    // this.openInWorld()\n    // this.setVisible(true);\n\n    function randomString(length) {\n        return Array.range(0, length).map(function() {\n            return String.fromCharCode(Global.Numbers.random(65, 120));\n        }).join('')\n    }\n    var list = Array.range(1,20000).map(function(i) {\n        return {\n            isListItem: true,\n            string: i + ' ' + randomString(Global.Numbers.random(30, 100)),\n            value: i\n        };\n    });\n\n    var spec = {\n        init: function(narrower, run) { show('init done!'); run(); },\n        candidates: list,\n        preselect: 3,\n        actions: [function(candidate) { show('selected ' + candidate); }],\n        close: function() { show('narrower closed'); }\n    }\n\n    // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\n    this.open(spec);\n}","funcProperties":{"__isSmartRef__":true,"id":582},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"581":{"this":{"__isSmartRef__":true,"id":261}},"582":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"583":{"varMapping":{"__isSmartRef__":true,"id":584},"source":"function toggleShowActions() {\n    if (this.state.showsActions) {\n        this.replaceState(this.state.originalState);\n        return\n    }\n    var originalState = this.state,\n        narrower = this,\n        candidate = this.getSelecteddCandidate(originalState),\n        actionCandidates = this.getActions(originalState).map(function(action, i) {\n            return {string: action.name || 'unnamed action', value: i, isListItem: true}; }),\n        state = {\n            showsActions: true,\n            prompt: 'choose action: ',\n            allCandidates: actionCandidates,\n            actions: [function(actionNumber) { narrower.onSelectionConfirmed(originalState, actionNumber, candidate); }]\n        };\n    state.originalState = this.replaceState(state);\n}","funcProperties":{"__isSmartRef__":true,"id":585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"584":{"this":{"__isSmartRef__":true,"id":261}},"585":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"586":{"varMapping":{"__isSmartRef__":true,"id":587},"source":"function valueFromListItem(item) {\n    return item && typeof item.value !== \"undefined\" ? item.value : item;\n}","funcProperties":{"__isSmartRef__":true,"id":588},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"587":{"this":{"__isSmartRef__":true,"id":261}},"588":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"589":{"varMapping":{"__isSmartRef__":true,"id":590},"source":"function withInputLineDo(func) {\n    var inputLine = this.get('inputLine');\n    if (inputLine) return func.call(this, inputLine);\n    this.withInputLineDo.bind(this, func).delay(0.1);\n    return null;\n}","funcProperties":{"__isSmartRef__":true,"id":591},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"590":{"this":{"__isSmartRef__":true,"id":261}},"591":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 08 2014 17:41:35 GMT-0700 (PDT)\")"},"592":{"varMapping":{"__isSmartRef__":true,"id":593},"source":"function updateOwnerInterface(optItems, optLabel) {\n    if (!this.state) {\n        this.open({candidates: []})\n    }\n    var self = this;\n    var items = optItems || this.owner.getAllScripts()\n        .select(function(script) {\n            return script.tags && script.tags.include('interface');\n        })\n        .pluck('name')\n        .collect(function(scriptName) {\n            return {\n                string: scriptName\n                        .replace(/([A-Z])/g, \" $1\").split(' ')\n                        .invoke('toLowerCase').join(' '),\n                value: scriptName,\n                action: self.doAction.bind(self, scriptName),\n                isListItem: true\n            }\n        });\n    this.state.layout.maxExtent = pt(Math.min(this.owner.bounds().width, 400),Math.min(this.owner.bounds().height, 200));\n    this.state.allCandidates = items;\n    this.state.layout.noOfCandidatesShown = Math.min(items.length, 7);\n    this.state.prompt = optLabel || 'do:';\n    this.replaceState(this.state);\n    this.isNarrowingList = false;\n    if (items.length > 0) {\n        Global.connect.bind(Global, $world, 'onMouseUp', this, 'hideAfterFocus').delay(1);\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"593":{"this":{"__isSmartRef__":true,"id":261}},"594":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:50:25 GMT-0700 (PDT)\")"},"595":{"varMapping":{"__isSmartRef__":true,"id":596},"source":"function doAction(scriptName) {\n    if (typeof this.owner[scriptName] === 'function') {\n        this.owner[scriptName]();\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":597},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"596":{"this":{"__isSmartRef__":true,"id":261}},"597":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 10:34:41 GMT-0700 (PDT)\")"},"598":{"varMapping":{"__isSmartRef__":true,"id":599},"source":"function foo() {\n    Global.alertOK('mouseup')\n}","funcProperties":{"__isSmartRef__":true,"id":600},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"599":{"this":{"__isSmartRef__":true,"id":261}},"600":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 13:47:44 GMT-0700 (PDT)\")"},"601":{"varMapping":{"__isSmartRef__":true,"id":602},"source":"function hideAfterFocus() {\n    this.reset.bind(this).delay(.001);\n}","funcProperties":{"__isSmartRef__":true,"id":603},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"602":{"this":{"__isSmartRef__":true,"id":261}},"603":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:10:05 GMT-0700 (PDT)\")"},"604":{"varMapping":{"__isSmartRef__":true,"id":605},"source":"function onEscapePressed() {\n    \n}","funcProperties":{"__isSmartRef__":true,"id":606},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"605":{"this":{"__isSmartRef__":true,"id":261}},"606":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:18:18 GMT-0700 (PDT)\")"},"607":{"_BorderWidth":1,"_ClipMode":"visible","_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_AppearanceStylingMode":false,"_BorderStylingMode":true,"__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(678.0,419.0)","_BorderColor":"Color.rgb(95,94,95)","_Fill":"Color.rgb(255,255,255)","_Padding":"lively.rect(0,0,0,0)"},"608":{"partsSpaceName":"PartsBin/Collaboration/","comment":"Using the PollServer, this morph is capable of displaying, creating and participating in polls.","migrationLevel":8,"partName":"PollMorph","changes":[{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":610},{"__isSmartRef__":true,"id":611},{"__isSmartRef__":true,"id":612},{"__isSmartRef__":true,"id":613},{"__isSmartRef__":true,"id":614},{"__isSmartRef__":true,"id":615},{"__isSmartRef__":true,"id":616},{"__isSmartRef__":true,"id":617},{"__isSmartRef__":true,"id":618},{"__isSmartRef__":true,"id":619},{"__isSmartRef__":true,"id":620},{"__isSmartRef__":true,"id":621},{"__isSmartRef__":true,"id":622},{"__isSmartRef__":true,"id":623},{"__isSmartRef__":true,"id":624},{"__isSmartRef__":true,"id":625},{"__isSmartRef__":true,"id":626},{"__isSmartRef__":true,"id":627},{"__isSmartRef__":true,"id":628},{"__isSmartRef__":true,"id":629},{"__isSmartRef__":true,"id":630},{"__isSmartRef__":true,"id":631}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Thu Oct 09 2014 11:01:02 GMT-0700 (PDT)\")"},"609":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"610":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"611":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"612":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"613":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"614":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"615":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"616":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"617":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"618":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"619":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"620":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"621":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"622":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"623":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"624":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"625":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"626":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"627":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"628":{"author":"astrid","message":"no 'sort by rating' yet.","id":"67E7D73C-77CB-4658-92CD-02B6A9F6AD4F","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 15:13:53 GMT-0700 (PDT)\")"},"629":{"author":"astrid","message":"added descriptions","id":"7390FAA8-8079-4476-B93F-629BEEBA793D","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 16:23:52 GMT-0700 (PDT)\")"},"630":{"author":"astrid","message":"implemented sorting","id":"83BA39AD-259D-468A-AF3B-85F1EFB2A3F2","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 16:34:53 GMT-0700 (PDT)\")"},"631":{"author":"astrid","message":"input line reacts on arrow keys again","id":"9AD3BD6D-B8C1-40AF-ABF4-ECC288D5F64E","__serializedExpressions__":["date"],"date":"new Date(\"Thu Oct 09 2014 11:00:54 GMT-0700 (PDT)\")"},"632":{"morph":{"__isSmartRef__":true,"id":41},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"633":{"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":634}},"634":{"test01IsMorph":{"__isSmartRef__":true,"id":635}},"635":{"varMapping":{"__isSmartRef__":true,"id":636},"source":"function test01IsMorph(aPart) {\n    this.assert(aPart.isMorph, 'rectangle should be a morph');\n}","funcProperties":{"__isSmartRef__":true,"id":637},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"636":{"this":{"__isSmartRef__":true,"id":633}},"637":{},"638":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"__serializedExpressions__":["extentWithoutPlaceholder"],"extentWithoutPlaceholder":"lively.pt(380.0,238.0)"},"639":{"_isSync":true,"_isBinary":false,"content":"{\"error\":\"\\\"GET /nodejs/PollServer\\\" not supported\"}","contentDocument":"","isExisting":false,"subResources":null,"requestHeaders":{"__isSmartRef__":true,"id":640},"responseHeaders":{"__isSmartRef__":true,"id":641},"xhr":{"__isSmartRef__":true,"id":642},"readystate":4,"status":{"__isSmartRef__":true,"id":644},"__serializedExpressions__":["_url"],"__LivelyClassName__":"WebResource","__SourceModuleName__":"Global.lively.Network","_url":"URL.create(\"http://lively-web.org/nodejs/PollServer\")"},"640":{},"641":{"Date":"Wed, 01 Oct 2014 01:36:23 GMT","date":"Wed, 01 Oct 2014 01:36:23 GMT","Server":"nginx/1.6.2","server":"nginx/1.6.2","X-Powered-By":"Express","x-powered-by":"Express","Transfer-Encoding":"chunked","transfer-encoding":"chunked","Access-Control-Allow-Methods":"POST,OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT","access-control-allow-methods":"POST,OPTIONS,GET,HEAD,DELETE,PROPFIND,PUT,PROPPATCH,COPY,MOVE,REPORT","Access-Control-Allow-Origin":"*","access-control-allow-origin":"*","Access-Control-Allow-Credentials":"true","access-control-allow-credentials":"true","Connection":"keep-alive","connection":"keep-alive"},"642":{"statusText":"Not Found","status":404,"responseURL":"http://lively-web.org/nodejs/PollServer","response":"{\"error\":\"\\\"GET /nodejs/PollServer\\\" not supported\"}","responseType":"","responseXML":null,"responseText":"{\"error\":\"\\\"GET /nodejs/PollServer\\\" not supported\"}","upload":{"__isSmartRef__":true,"id":643},"withCredentials":false,"readyState":4,"timeout":0,"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"643":{"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"644":{"method":"GET","transport":{"__isSmartRef__":true,"id":642},"exception":null,"__serializedExpressions__":["url"],"__LivelyClassName__":"NetRequestStatus","__SourceModuleName__":"Global.lively.Network","url":"URL.create(\"http://lively-web.org/nodejs/PollServer\")"},"645":{"reason":"","code":1006,"wasClean":false,"path":{"__isSmartRef__":true,"id":646},"cancelBubble":false,"returnValue":true,"srcElement":{"__isSmartRef__":true,"id":647},"defaultPrevented":false,"timeStamp":1412894861423,"cancelable":false,"bubbles":false,"eventPhase":0,"currentTarget":{"__isSmartRef__":true,"id":647},"target":{"__isSmartRef__":true,"id":647},"type":"close"},"646":{"length":0},"647":{"binaryType":"blob","protocol":"lively-json","extensions":"","bufferedAmount":0,"readyState":3,"url":"ws://lively-web.org/nodejs/PollServer/connect","URL":"ws://lively-web.org/nodejs/PollServer/connect"},"648":{"createPoll":{"__isSmartRef__":true,"id":649},"reset":{"__isSmartRef__":true,"id":652},"vote":{"__isSmartRef__":true,"id":655},"addFeature":{"__isSmartRef__":true,"id":658},"removeFeature":{"__isSmartRef__":true,"id":661},"removeFeatureOnServer":{"__isSmartRef__":true,"id":664},"connectToServer":{"__isSmartRef__":true,"id":667},"handleServerResponse":{"__isSmartRef__":true,"id":670},"tryOpenPoll":{"__isSmartRef__":true,"id":673},"getDisplayedFeatures":{"__isSmartRef__":true,"id":676},"openPoll":{"__isSmartRef__":true,"id":679},"onVotersChangedOnServer":{"__isSmartRef__":true,"id":682},"sendMessage":{"__isSmartRef__":true,"id":685},"onFeaturesChangedOnServer":{"__isSmartRef__":true,"id":688},"reconnect":{"__isSmartRef__":true,"id":691},"showExistingPolls":{"__isSmartRef__":true,"id":694},"doOpenPoll":{"__isSmartRef__":true,"id":697},"newTitle":{"__isSmartRef__":true,"id":700},"newDescription":{"__isSmartRef__":true,"id":703},"onNewTitle":{"__isSmartRef__":true,"id":706},"onNewDescription":{"__isSmartRef__":true,"id":709},"setWindowTitle":{"__isSmartRef__":true,"id":712},"deleteOpenPoll":{"__isSmartRef__":true,"id":715},"onPollRemoved":{"__isSmartRef__":true,"id":718}},"649":{"varMapping":{"__isSmartRef__":true,"id":650},"source":"function createPoll() {\n    var self = this,\n        pollName = '';\n    var onPollDescription = function(pollDescription) {\n        if (pollName && pollDescription) {\n            self.reset();\n            self.reconnect();\n            self.sendMessage('createPoll', {\n                pollName: pollName,\n                pollDescription: pollDescription});\n        }\n    };\n    var onPollName = function(aString) {\n        if (aString) {\n            pollName = aString;\n            var pollDescriptionDialog = new lively.morphic.PromptDialog(\n                'Please enter a poll description',\n                onPollDescription);\n            pollDescriptionDialog.openIn(self);\n        }\n    };\n    var pollNameDialog = new lively.morphic.PromptDialog(\n        'Please enter a poll name', onPollName)\n    pollNameDialog.openIn(this)\n}","funcProperties":{"__isSmartRef__":true,"id":651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"650":{"this":{"__isSmartRef__":true,"id":41}},"651":{"user":"foobar","tags":["interface"],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 15:22:28 GMT-0700 (PDT)\")"},"652":{"varMapping":{"__isSmartRef__":true,"id":653},"source":"function reset() {\n    delete this.currentPoll;\n    delete this.currentDescription;\n    this.withAllSubmorphsDo(function(sub) {\n        if (this === sub) {\n            return\n        } else if (sub.hasOwnProperty('reset') && typeof sub.reset === 'function'){\n            sub.reset();\n        }\n    }.bind(this))\n    this.setWindowTitle('No poll open - no description available');\n    delete this.webSocket;\n    delete this.sessionId;\n}","funcProperties":{"__isSmartRef__":true,"id":654},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"653":{"this":{"__isSmartRef__":true,"id":41}},"654":{"user":"foobar","tags":["interface"],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 15:04:50 GMT-0700 (PDT)\")"},"655":{"varMapping":{"__isSmartRef__":true,"id":656},"source":"function vote(voteFor, featureName, featureDescription) {\n    var username = $world.getUserName();\n    if (username) {\n        this.sendMessage('voteFeature', {featureName: featureName, pollName: this.currentPoll, username: username, voteFor: voteFor});\n    } else {\n        alert('Please set a username!');\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"656":{"this":{"__isSmartRef__":true,"id":41}},"657":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 18:09:16 GMT-0700 (PDT)\")"},"658":{"varMapping":{"__isSmartRef__":true,"id":659},"source":"function addFeature() {\n    var self = this;\n    if (this.currentPoll) {\n        new lively.morphic.PromptDialog(\n            'Please enter a feature name',\n            function(answer) {\n                if (answer) {\n                    self.sendMessage('addFeature', {\n                        pollName: self.currentPoll,\n                        featureName: answer\n                    })   \n                }\n            },\n            'My feature').openIn(this);\n    } else {\n        alert('No poll open')\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":660},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"659":{"this":{"__isSmartRef__":true,"id":41}},"660":{"user":"foobar","tags":["interface"],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:55:14 GMT-0700 (PDT)\")"},"661":{"varMapping":{"__isSmartRef__":true,"id":662},"source":"function removeFeature(featureName) {\n    var feature = this.getDisplayedFeatures().find(function(feature) {\n        return feature.featureName === featureName;\n    })\n    this.get('Entries').removeFeature(featureName);\n    this.removeFeatureOnServer(featureName);\n}","funcProperties":{"__isSmartRef__":true,"id":663},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"662":{"this":{"__isSmartRef__":true,"id":41}},"663":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 09:08:25 GMT-0700 (PDT)\")"},"664":{"varMapping":{"__isSmartRef__":true,"id":665},"source":"function removeFeatureOnServer(featureName) {\n    this.sendMessage('removeFeature', {\n        pollName: this.currentPoll,\n        featureName: featureName\n    })\n}","funcProperties":{"__isSmartRef__":true,"id":666},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"665":{"this":{"__isSmartRef__":true,"id":41}},"666":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 13:07:32 GMT-0700 (PDT)\")"},"667":{"varMapping":{"__isSmartRef__":true,"id":668},"source":"function connectToServer() {\n    var url = Global.URL.nodejsBase.withFilename(\"PollServer/connect\").toString();\n    this.webSocket = new lively.net.WebSocket(url, {protocol: 'lively-json'});\n    Global.connect(this.webSocket, 'closed', this, 'handleServerLost');\n    Global.connect(this.webSocket, 'lively-message', this, 'handleServerResponse');\n}","funcProperties":{"__isSmartRef__":true,"id":669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"668":{"this":{"__isSmartRef__":true,"id":41}},"669":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 13:58:33 GMT-0700 (PDT)\")"},"670":{"varMapping":{"__isSmartRef__":true,"id":671},"source":"function handleServerResponse(resp) {\n    switch (resp.action) {\n        case 'error' : {\n            alert('Error on Server: ' + resp.data);\n            break;\n        }\n        case 'confirm' : {\n            Global.alertOK('Server confirms: ' + resp.data);\n            break;\n        }\n        case 'connected' : {\n            this.sessionId = resp.data;\n            Global.alertOK('Connected to PollServer');\n            break;\n        }\n        case 'disconnected' : {\n            Global.alertOK('Disconnected from PollServer');\n            break;\n        }\n        case 'openPoll' : {\n            this.doOpenPoll(resp.data);\n            break;\n        }\n        case 'featuresChanged' : {\n            this.onFeaturesChangedOnServer(resp.data);\n            break;\n        }\n        // case 'featureAdded' : {\n        //     this.onFeatureAddedOnServer(resp.data);\n        //     break;\n        // }\n        // case 'featureRemoved' : {\n        //     this.onFeatureRemovedOnServer(resp.data);\n        //     break;\n        // }\n        case 'featureVoted' : {\n            this.onVotersChangedOnServer(resp.data.featureName, resp.data.voters);\n            break;\n        }\n        case 'existingPolls' : {\n            this.showExistingPolls(resp.data);\n            break\n        }\n        case 'newTitle' : {\n            this.onNewTitle(resp.data);\n            break;\n        }\n        case 'newDescription' : {\n            this.onNewDescription(resp.data);\n            break;\n        }\n        case 'pollRemoved' : {\n            this.onPollRemoved(resp.data);\n            break;\n        }\n        default: {\n            alert('Message not understood: '+resp.action)\n        }\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":672},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"671":{"this":{"__isSmartRef__":true,"id":41}},"672":{"__serializedExpressions__":["timestamp"],"user":"foobar","timestamp":"new Date(\"Thu Oct 09 2014 15:43:36 GMT-0700 (PDT)\")"},"673":{"varMapping":{"__isSmartRef__":true,"id":674},"source":"function tryOpenPoll(pollName) {\n    this.reset();\n    this.sendMessage('openPoll', pollName);\n}","funcProperties":{"__isSmartRef__":true,"id":675},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"674":{"this":{"__isSmartRef__":true,"id":41}},"675":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 15:00:36 GMT-0700 (PDT)\")"},"676":{"varMapping":{"__isSmartRef__":true,"id":677},"source":"function getDisplayedFeatures() {\n    return this.getMorphNamed('Entries').getFeatures();\n}","funcProperties":{"__isSmartRef__":true,"id":678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"677":{"this":{"__isSmartRef__":true,"id":41}},"678":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Wed Oct 01 2014 09:06:11 GMT-0700 (PDT)\")"},"679":{"varMapping":{"__isSmartRef__":true,"id":680},"source":"function openPoll(data) {\n    this.sendMessage('getPolls');\n}","funcProperties":{"__isSmartRef__":true,"id":681},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"680":{"this":{"__isSmartRef__":true,"id":41}},"681":{"user":"astrid","tags":["interface"],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 09:21:03 GMT-0700 (PDT)\")"},"682":{"varMapping":{"__isSmartRef__":true,"id":683},"source":"function onVotersChangedOnServer(featureName, voters) {\n    this.getMorphNamed('Entries').setVotersFor(featureName, voters);\n}","funcProperties":{"__isSmartRef__":true,"id":684},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"683":{"this":{"__isSmartRef__":true,"id":41}},"684":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 18:03:54 GMT-0700 (PDT)\")"},"685":{"varMapping":{"__isSmartRef__":true,"id":686},"source":"function sendMessage(action, message) {\n    if (!this.webSocket) {\n        this.connectToServer();\n    }\n    this.webSocket.send({ action: action, data: message, id: this.sessionId });\n}","funcProperties":{"__isSmartRef__":true,"id":687},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"686":{"this":{"__isSmartRef__":true,"id":41}},"687":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Mon Oct 06 2014 13:28:57 GMT-0700 (PDT)\")"},"688":{"varMapping":{"__isSmartRef__":true,"id":689},"source":"function onFeaturesChangedOnServer(features) {\n    var actualFeatureNames = features.pluck('featureName'),\n        displayedFeatureNames = this.getDisplayedFeatures().pluck('featureName'),\n        that = this;\n    var toRemove = this.getDisplayedFeatures().select(function(displayedFeature) {\n        return !actualFeatureNames.include(displayedFeature.featureName);\n    })\n    var toAdd = features.select(function(feature) {\n        return !displayedFeatureNames.include(feature.featureName);\n    })\n    toRemove.each(function(feature) {\n        that.get('Entries').removeFeature(feature);\n    })\n    toAdd.each(function(feature) {\n        that.get('Entries').addFeature(feature);\n    })\n}","funcProperties":{"__isSmartRef__":true,"id":690},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"689":{"this":{"__isSmartRef__":true,"id":41}},"690":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 17:42:50 GMT-0700 (PDT)\")"},"691":{"varMapping":{"__isSmartRef__":true,"id":692},"source":"function reconnect() {\n    this.webSocket && this.webSocket.send({action: 'disconnect', data: this.sessionId})\n}","funcProperties":{"__isSmartRef__":true,"id":693},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"692":{"this":{"__isSmartRef__":true,"id":41}},"693":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 02 2014 18:17:01 GMT-0700 (PDT)\")"},"694":{"varMapping":{"__isSmartRef__":true,"id":695},"source":"function showExistingPolls(pollNames) {\n    var self = this,\n        viewer = self.getMorphNamed('InterfaceViewer');\n    var items = pollNames.collect(function(name) {\n            return {\n                string: name,\n                value: name,\n                action: self.tryOpenPoll.bind(self,name),\n                isListItem: true\n            }\n        });\n    viewer.updateOwnerInterface(items, 'open:')\n}","funcProperties":{"__isSmartRef__":true,"id":696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"695":{"this":{"__isSmartRef__":true,"id":41}},"696":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 14:40:45 GMT-0700 (PDT)\")"},"697":{"varMapping":{"__isSmartRef__":true,"id":698},"source":"function doOpenPoll(data) {\n    var poll = data.poll;\n    this.sessionId = data.sessionId;\n    this.currentPoll = poll.pollName;\n    this.currentDescription = poll.pollDescription || ''\n    this.setWindowTitle();\n    this.getMorphNamed('Entries').setupFeatures(poll.features);\n}","funcProperties":{"__isSmartRef__":true,"id":699},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"698":{"this":{"__isSmartRef__":true,"id":41}},"699":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 15:04:13 GMT-0700 (PDT)\")"},"700":{"varMapping":{"__isSmartRef__":true,"id":701},"source":"function newTitle() {\n    var self = this;\n    new lively.morphic.PromptDialog(\n        'Please enter a poll name', function(newTitle) {\n            if (newTitle) {\n                self.sendMessage('newTitle', {\n                    newPollName: newTitle,\n                    pollName: self.currentPoll\n                });\n            }\n        }, {input: this.currentPoll}).openIn(this);\n}","funcProperties":{"__isSmartRef__":true,"id":702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"701":{"this":{"__isSmartRef__":true,"id":41}},"702":{"__serializedExpressions__":["timestamp"],"user":"foobar","tags":["interface"],"timestamp":"new Date(\"Thu Oct 09 2014 15:26:24 GMT-0700 (PDT)\")"},"703":{"varMapping":{"__isSmartRef__":true,"id":704},"source":"function newDescription() {\n    var self = this;\n    new lively.morphic.PromptDialog(\n        'Please enter a poll name', function(newDescription) {\n            if (newDescription) {\n                self.sendMessage('newDescription', {\n                    newPollDescription: newDescription,\n                    pollName: self.currentPoll\n                });\n            }\n        }, {input: this.currentDescription}).openIn(this);\n}","funcProperties":{"__isSmartRef__":true,"id":705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"704":{"this":{"__isSmartRef__":true,"id":41}},"705":{"user":"foobar","tags":["interface"],"__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 15:03:35 GMT-0700 (PDT)\")"},"706":{"varMapping":{"__isSmartRef__":true,"id":707},"source":"function onNewTitle(title) {\n    this.currentPoll = title;\n    this.setWindowTitle();\n}","funcProperties":{"__isSmartRef__":true,"id":708},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"707":{"this":{"__isSmartRef__":true,"id":41}},"708":{"user":"astrid","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 12:18:29 GMT-0700 (PDT)\")"},"709":{"varMapping":{"__isSmartRef__":true,"id":710},"source":"function onNewDescription(description) {\n    this.currentDescription = description;\n    this.setWindowTitle();\n}","funcProperties":{"__isSmartRef__":true,"id":711},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"710":{"this":{"__isSmartRef__":true,"id":41}},"711":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 15:03:18 GMT-0700 (PDT)\")"},"712":{"varMapping":{"__isSmartRef__":true,"id":713},"source":"function setWindowTitle(optTitle) {\n    var shortDescription;\n    if (this.currentDescription && this.currentDescription != '') {\n        shortDescription = this.currentDescription.substring(0, 10);\n        if (shortDescription !== this.currentDescription) {\n            shortDescription += '...';\n        }\n    }\n    this.owner.setTitle(optTitle || this.currentPoll + ' - ' + shortDescription); \n    this.owner.titleBar.label.setToolTip(this.currentDescription)\n}","funcProperties":{"__isSmartRef__":true,"id":714},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"713":{"this":{"__isSmartRef__":true,"id":41}},"714":{"user":"foobar","__serializedExpressions__":["timestamp"],"timestamp":"new Date(\"Thu Oct 09 2014 15:09:14 GMT-0700 (PDT)\")"},"715":{"varMapping":{"__isSmartRef__":true,"id":716},"source":"function deleteOpenPoll(data) {\n    var self = this\n    new lively.morphic.ConfirmDialog(\n            'Do you really wish to remove poll '+ this.currentPoll +'? It cannot be restored!', function(answer) {\n                if (answer) {\n                    self.sendMessage('deletePoll', {\n                        pollName: self.currentPoll,\n                        removedBy: $world.getUserName()\n                    });\n                }\n            }).openIn(self);\n}","funcProperties":{"__isSmartRef__":true,"id":717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"716":{"this":{"__isSmartRef__":true,"id":41}},"717":{"__serializedExpressions__":["timestamp"],"user":"foobar","tags":["interface"],"timestamp":"new Date(\"Thu Oct 09 2014 15:47:09 GMT-0700 (PDT)\")"},"718":{"varMapping":{"__isSmartRef__":true,"id":719},"source":"function onPollRemoved(username) {\n    var self = this;\n    if (username != $world.getUserName()){\n        new lively.morphic.ConfirmDialog(\n            'this poll was removed by ' + username +', do you wish to close it? You will not be able to save any features any more.', function(answer) {\n                if (answer) {\n                    self.reset();\n                }\n            }).openIn(self);\n    } else {\n        self.reset();\n    }\n}","funcProperties":{"__isSmartRef__":true,"id":720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"719":{"this":{"__isSmartRef__":true,"id":41}},"720":{"__serializedExpressions__":["timestamp"],"user":"foobar","timestamp":"new Date(\"Thu Oct 09 2014 15:50:50 GMT-0700 (PDT)\")"},"721":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":722},"_ClipMode":"visible","derivationIds":["CBB474EC-3C4E-4924-A32B-57D27554BF6B","6D8E0000-9645-42EB-8B11-D2B98E996C9E","289FBB41-F712-4005-9278-7623F0DDB441","2AF78719-3271-4680-BE13-B1CEF7B9D4D7","F54F7574-B971-4013-9370-4673FB09F191","D993CFAE-BB30-4AEF-BB63-15157A16AE70","2F9AC804-CBAB-42F1-BFF4-32FAEDE03A33","2DD81B0F-B820-4BA8-9CE4-CC55F61006E2","7B6D47D8-0286-4F16-AFA3-14F468891E73","7DE1A301-392D-49D0-9E01-65307576288C","E434B127-E05A-422B-9248-966DCEBE0B7F","01072CCF-0582-4011-9BE4-DB0126555F21","3DDC6970-46C3-41C1-9C8A-0BBDAF33FC04","E73BB53B-5CFB-4DF8-947A-3546C08A9BFD"],"id":"EF7FB78B-BF0F-46FF-B064-7F56CC017BE0","droppingEnabled":true,"halosEnabled":true,"type":"corner","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle corner"],"layout":{"__isSmartRef__":true,"id":723},"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":724},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(671.0,434.0)"},"722":{"_BorderWidth":0,"_BorderColor":null,"_Fill":null,"__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)"},"723":{"moveVertical":true,"moveHorizontal":true},"724":{"morph":{"__isSmartRef__":true,"id":721},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"725":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":726},"_ClipMode":"visible","derivationIds":["33C6F44F-0892-4094-BA6B-8BFAB43E0C3D","23BB2F91-713B-451F-B429-4C845356E88E","BE0ED876-9ABF-4718-908A-F1C451001D88","350B1C5E-9139-4330-A90D-68B1A021E409","AA61D537-9DA0-4BF1-A774-C0955F4265CC","2E7E8452-E109-4AD9-A515-CAE757E36814","0F0D793B-380A-4189-B8D5-3D640F7AD596","D9677817-5D31-4AD1-A415-BF57899ECF90","3BFB41BA-589B-405C-A20C-23407EACB4EC","FB62B337-D2EA-45B4-BCBC-B425A5B4D2A2","DDE44795-19C9-4B74-9942-42E25CBEB30E","49756232-FA52-4904-80E5-F3716DA42B53","548B16CE-A966-4F33-A608-A5D41F9B7E02","BA273478-D33A-499D-9C31-CE4B63FDB551"],"id":"0B981F87-A0E7-463E-99C7-5EA7E681CE83","droppingEnabled":true,"halosEnabled":true,"type":"bottom","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle bottom"],"layout":{"__isSmartRef__":true,"id":727},"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":728},"__serializedExpressions__":["_Position"],"showsHalos":false,"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(0.0,445.0)"},"726":{"_BorderWidth":0,"_BorderColor":null,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(671.0,3.0)","_Padding":"lively.rect(0,0,0,0)"},"727":{"moveVertical":true},"728":{"morph":{"__isSmartRef__":true,"id":725},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"729":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":730},"_ClipMode":"visible","derivationIds":["343DBB51-3CFB-4C06-9E75-D359AFD2E7F5","4C6B1F50-78B7-4221-9AB8-B09BFF9B1E0A","72366BF7-296D-4657-BC66-1B93A051CD86","A0AE3F3C-9F08-45FA-A134-1C6E44EEB740","760B12CE-BEE0-4E57-ADAE-31648EC188B5","C52C38AB-878E-45CA-8C49-76ED6FD3F590","F6F9B944-43EE-4CC4-8F5D-DB2F2AEF33D2","4793B359-3398-459D-B410-4CDF497B3139","2F127D1B-145D-4CC0-AD77-9853674DBEB7","BFB4F7F4-B64B-471E-A698-3719B7C1E642","97FFBC45-675B-486A-B1F6-BC4AF7158831","524FBD21-2BE7-4BD8-AF35-DEAB4F14E1BB","8CF48A46-0198-4798-ADDE-C5774FD5B20A","884A92C3-1A24-4AFC-BC99-2562B4E07971"],"id":"3BAB9094-7432-43FA-B594-9DCC8674B41B","droppingEnabled":true,"halosEnabled":true,"type":"right","_StyleClassNames":["Morph","Box","ReframeHandle","reframe-handle right"],"layout":{"__isSmartRef__":true,"id":731},"owner":{"__isSmartRef__":true,"id":0},"eventHandler":{"__isSmartRef__":true,"id":732},"__serializedExpressions__":["_Position"],"__LivelyClassName__":"lively.morphic.ReframeHandle","__SourceModuleName__":"Global.lively.morphic.Widgets","_Position":"lively.pt(682.0,0.0)"},"730":{"_BorderWidth":0,"_BorderColor":null,"_Fill":null,"__serializedExpressions__":["_Position","_Extent","_Padding"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":"lively.pt(0.0,0.0)","_Extent":"lively.pt(3.0,434.0)","_Padding":"lively.rect(0,0,0,0)"},"731":{"moveHorizontal":true},"732":{"morph":{"__isSmartRef__":true,"id":729},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"733":{"_BorderWidth":0,"_BorderColor":null,"_Fill":null,"_StrokeOpacity":false,"_BorderRadius":false,"_AppearanceStylingMode":true,"_BorderStylingMode":true,"__serializedExpressions__":["_Padding","_Extent"],"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes","_Padding":"lively.rect(0,0,0,0)","_Extent":"lively.pt(685.0,448.0)"},"734":{"adjustForNewBounds":true},"735":{"morph":{"__isSmartRef__":true,"id":0},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"736":{"partsSpaceName":"PartsBin/Collaboration/","comment":"Using the PollServer, this morph is capable of displaying, creating and participating in polls.","migrationLevel":8,"partName":"PollMorph","changes":[{"__isSmartRef__":true,"id":737},{"__isSmartRef__":true,"id":738},{"__isSmartRef__":true,"id":739},{"__isSmartRef__":true,"id":740},{"__isSmartRef__":true,"id":741},{"__isSmartRef__":true,"id":742},{"__isSmartRef__":true,"id":743},{"__isSmartRef__":true,"id":744},{"__isSmartRef__":true,"id":745},{"__isSmartRef__":true,"id":746},{"__isSmartRef__":true,"id":747},{"__isSmartRef__":true,"id":748},{"__isSmartRef__":true,"id":749},{"__isSmartRef__":true,"id":750},{"__isSmartRef__":true,"id":751},{"__isSmartRef__":true,"id":752},{"__isSmartRef__":true,"id":753},{"__isSmartRef__":true,"id":754},{"__isSmartRef__":true,"id":755},{"__isSmartRef__":true,"id":756},{"__isSmartRef__":true,"id":757},{"__isSmartRef__":true,"id":758},{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":761},{"__isSmartRef__":true,"id":762},{"__isSmartRef__":true,"id":763},{"__isSmartRef__":true,"id":764},{"__isSmartRef__":true,"id":765}],"__serializedExpressions__":["lastModifiedDate"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo","__SourceModuleName__":"Global.lively.PartsBin","lastModifiedDate":"new Date(\"Thu Oct 09 2014 15:26:57 GMT-0700 (PDT)\")"},"737":{"author":"astrid","message":"search list does things and updates itself","id":"01DDF16F-B0B5-4818-B85F-508836D2B516","__serializedExpressions__":["date"],"date":"new Date(\"Wed Oct 08 2014 18:42:45 GMT-0700 (PDT)\")"},"738":{"author":"astrid","message":"added a selection list","id":"15A07893-E39D-4F60-81D2-33FD8672EE89","__serializedExpressions__":["date"],"date":"new Date(\"Wed Oct 08 2014 17:51:59 GMT-0700 (PDT)\")"},"739":{"author":"astrid","message":"fixed resetting","id":"47E7BF51-A063-491B-A0B9-35B2C0EADB9B","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 17:37:41 GMT-0700 (PDT)\")"},"740":{"author":"jenslincke","message":"no comment","id":"ADFBF069-513C-4DE6-95A9-8AD4985C6508","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:23:53 GMT-0800 (PST)\")"},"741":{"author":"robertkrahn","message":"no comment","id":"A452871F-4EB9-45D1-94B8-6065CBA7B8FD","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jul 29 2013 23:20:51 GMT-0700 (PDT)\")"},"742":{"author":"SAPLivelyScreen","message":"no comment","id":"7A44D8CA-6D5F-42A3-A4B4-4D7F51EECA52","__serializedExpressions__":["date"],"date":"new Date(\"Tue Jun 18 2013 11:49:27 GMT-0700 (PDT)\")"},"743":{"author":"SAPLivelyScreen","message":"no comment","id":"EF145198-0649-41BD-A92E-521D98FEC49D","__serializedExpressions__":["date"],"date":"new Date(\"Wed May 29 2013 15:36:50 GMT-0700 (PDT)\")"},"744":{"author":"jenslincke","message":"added legend","id":"7ADA3049-56C1-4D32-874B-F664A79DDB20","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:47:05 GMT-0800 (PST)\")"},"745":{"author":"jenslincke","message":"no comment","id":"A4B86A7E-A398-4C29-BEE0-4AA045ABABD2","__serializedExpressions__":["date"],"date":"new Date(\"Fri Jan 18 2013 07:42:31 GMT-0800 (PST)\")"},"746":{"author":"jenslincke","message":"I want my blue rectangle back!","id":"5AA9291A-869F-4D36-8095-4721B5A5B205","__serializedExpressions__":["date"],"date":"new Date(\"Thu Nov 22 2012 01:35:51 GMT-0800 (PST)\")"},"747":{"author":"bgnauk","message":"no comment","id":"0124E570-50B7-4CE3-83A1-6E7BA89B5CD8","__serializedExpressions__":["date"],"date":"new Date(\"Mon Jun 18 2012 10:35:08 GMT-0700 (PDT)\")"},"748":{"author":"undefined","message":"suddenly, the rectangle became a CarDemo","id":"B5083AA8-9BAE-48DD-A6B4-FD7DB3998350","__serializedExpressions__":["date"],"date":"new Date(\"Mon Apr 09 2012 04:42:07 GMT-0700 (PDT)\")"},"749":{"author":"undefined","message":"css transitions","id":"1004E0FC-D96B-4F40-B3E0-F514A3FCFFD7","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:42:26 GMT-0700 (PDT)\")"},"750":{"author":"fbo","message":"","id":"BD1C654D-9100-4B66-BC62-B15FF2498B2B","__serializedExpressions__":["date"],"date":"new Date(\"Fri Feb 24 2012 17:59:09 GMT-0800 (PST)\")"},"751":{"author":"undefined","message":"sorry","id":"44B56D2E-9B59-4C67-A305-49A6E10E66C2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 14 2012 02:53:45 GMT-0700 (PDT)\")"},"752":{"author":"undefined","message":"whoopsie","id":"CEA5DCD5-2DB7-40AD-A776-262A7A0666FC","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:30 GMT-0700 (PDT)\")"},"753":{"author":"undefined","message":"whoopsie","id":"3F17A2D2-3C24-424B-B0FA-E43112267D23","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 03 2012 06:51:36 GMT-0700 (PDT)\")"},"754":{"author":"jenslincke","message":"no comment","id":"AEB2F41B-2C88-4BBA-8875-93CD17CBA1C8","__serializedExpressions__":["date"],"date":"new Date(\"Wed Jan 23 2013 03:57:18 GMT-0800 (PST)\")"},"755":{"author":"robertkrahn","message":"no comment","id":"67FD74CD-7AE4-4050-ADC7-4DF73804258D","__serializedExpressions__":["date"],"date":"new Date(\"Thu May 30 2013 00:18:06 GMT-0700 (PDT)\")"},"756":{"author":"robertkrahn","message":"no comment","id":"FBBB9C99-B61C-4D5F-8750-6E2987DF0C9C","__serializedExpressions__":["date"],"date":"new Date(\"Thu Jun 20 2013 15:16:24 GMT-0700 (PDT)\")"},"757":{"author":"jenslincke","message":"no comment","id":"ECD12BFF-E872-4918-8341-C6571E72F36D","__serializedExpressions__":["date"],"date":"new Date(\"Tue Feb 04 2014 01:24:27 GMT-0800 (PST)\")"},"758":{"author":"lauritz","message":"dropping enabled for the blue rectangle","id":"81D350CB-D926-491F-8FF3-A6C9C831BDF2","__serializedExpressions__":["date"],"date":"new Date(\"Wed Mar 12 2014 07:00:28 GMT-0700 (PDT)\")"},"759":{"author":"astrid","message":"no 'sort by rating' yet.","id":"67E7D73C-77CB-4658-92CD-02B6A9F6AD4F","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 15:13:53 GMT-0700 (PDT)\")"},"760":{"author":"astrid","message":"added descriptions","id":"7390FAA8-8079-4476-B93F-629BEEBA793D","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 16:23:52 GMT-0700 (PDT)\")"},"761":{"author":"astrid","message":"implemented sorting","id":"83BA39AD-259D-468A-AF3B-85F1EFB2A3F2","__serializedExpressions__":["date"],"date":"new Date(\"Mon Oct 06 2014 16:34:53 GMT-0700 (PDT)\")"},"762":{"author":"astrid","message":"fixed hover over title (?)","id":"798C7C2D-A25B-4844-9D76-1832F8A46E16","__serializedExpressions__":["date"],"date":"new Date(\"Tue Oct 07 2014 10:29:56 GMT-0700 (PDT)\")"},"763":{"author":"astrid","message":"list filters now for 'interface' tagged scripts","id":"4494B1AB-2E83-4362-B2A9-A55428FA6372","__serializedExpressions__":["date"],"date":"new Date(\"Wed Oct 08 2014 18:00:29 GMT-0700 (PDT)\")"},"764":{"__serializedExpressions__":["date"],"author":"foobar","message":"have overwritten changes, manual merge","id":"1528619D-54D3-4D8D-952A-AF266A2A01EC","date":"new Date(\"Thu Oct 09 2014 15:26:47 GMT-0700 (PDT)\")"},"765":{"__serializedExpressions__":["date"],"author":"foobar","message":"allowed deletion of polls","id":"B90F64D3-7C82-4B1B-A5C2-AA14D6CB10BB","date":"new Date(\"Thu Oct 09 2014 15:51:54 GMT-0700 (PDT)\")"},"isSimplifiedRegistry":true}}