without parentNode","prevScroll":[0,0],"showsHalos":false,"loadingMorph":{"__isSmartRef__":true,"id":5699},"attributeConnections":[{"__isSmartRef__":true,"id":7338}],"doNotSerialize":["$$savedWorldAsURL"],"doNotCopyProperties":["$$savedWorldAsURL"],"savedWorldAsURL":{"__isSmartRef__":true,"id":7343},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.World"},"1":{"submorphs":[{"__isSmartRef__":true,"id":2}],"scripts":[],"shape":{"__isSmartRef__":true,"id":154},"id":"A7FCD137-5BD8-4F59-9CAB-B52B88CE573F","renderContextTable":{"__isSmartRef__":true,"id":158},"eventHandler":{"__isSmartRef__":true,"id":159},"__layered_droppingEnabled__":true,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":160},"LK2":true,"_Position":{"__isSmartRef__":true,"id":161},"priorExtent":{"__isSmartRef__":true,"id":162},"targetMorph":{"__isSmartRef__":true,"id":163},"titleBar":{"__isSmartRef__":true,"id":2},"contentOffset":{"__isSmartRef__":true,"id":1363},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1364},"name":"LivelyEngine","prevDragPos":{"__isSmartRef__":true,"id":1373},"highlighted":false,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[338,"BC831E2A-91C6-48FC-A47B-84A513ADDEBC"],"moved":true,"isBeingDragged":false,"_ClipMode":"visible","owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1.002003004005006,"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"2":{"submorphs":[{"__isSmartRef__":true,"id":3},{"__isSmartRef__":true,"id":18},{"__isSmartRef__":true,"id":66},{"__isSmartRef__":true,"id":101}],"scripts":[],"shape":{"__isSmartRef__":true,"id":137},"id":"054A1504-CB17-4C03-B931-5B1DAFE0B2C0","renderContextTable":{"__isSmartRef__":true,"id":149},"eventHandler":{"__isSmartRef__":true,"id":150},"__layered_droppingEnabled__":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":151},"_Position":{"__isSmartRef__":true,"id":152},"windowMorph":{"__isSmartRef__":true,"id":1},"label":{"__isSmartRef__":true,"id":3},"closeButton":{"__isSmartRef__":true,"id":18},"menuButton":{"__isSmartRef__":true,"id":66},"collapseButton":{"__isSmartRef__":true,"id":101},"priorExtent":{"__isSmartRef__":true,"id":153},"owner":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[370,"DE1D7FD2-E78A-4496-865A-75EF266C181B"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.TitleBar"},"3":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4},"id":"C936EC9E-E63C-4B5F-B25F-435C4A315A9A","renderContextTable":{"__isSmartRef__":true,"id":10},"textChunks":[{"__isSmartRef__":true,"id":11}],"eventHandler":{"__isSmartRef__":true,"id":13},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":14},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":15},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":2},"priorExtent":{"__isSmartRef__":true,"id":16},"_MaxTextWidth":391,"_MaxTextHeight":null,"_Position":{"__isSmartRef__":true,"id":17},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":391,"_MinTextHeight":null,"derivationIds":[371,"5200CB51-962A-4DF9-9233-86AFCFE4C16F"],"__LivelyClassName__":"lively.morphic.Text"},"4":{"_Position":{"__isSmartRef__":true,"id":5},"renderContextTable":{"__isSmartRef__":true,"id":6},"_Extent":{"__isSmartRef__":true,"id":7},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":8},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":9},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"6":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7":{"x":391,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"8":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"9":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"10":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"11":{"style":{"__isSmartRef__":true,"id":12},"chunkOwner":{"__isSmartRef__":true,"id":3},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"LivelyEngine","__LivelyClassName__":"lively.morphic.TextChunk"},"12":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"13":{"morph":{"__isSmartRef__":true,"id":3},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"14":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"15":{"resizeWidth":true},"16":{"x":391,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"17":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"18":{"submorphs":[{"__isSmartRef__":true,"id":19}],"scripts":[],"shape":{"__isSmartRef__":true,"id":32},"id":"1466AA1D-87B5-4559-AE5C-D7B57522C5F3","renderContextTable":{"__isSmartRef__":true,"id":48},"eventHandler":{"__isSmartRef__":true,"id":49},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":50},"priorExtent":{"__isSmartRef__":true,"id":51},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":37},"lighterFill":{"__isSmartRef__":true,"id":52},"label":{"__isSmartRef__":true,"id":19},"owner":{"__isSmartRef__":true,"id":2},"layout":{"__isSmartRef__":true,"id":61},"attributeConnections":[{"__isSmartRef__":true,"id":62},{"__isSmartRef__":true,"id":64}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[372,"FA252358-D6FF-4B42-B2A6-017CB05AF80E"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"19":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":20},"id":"63F6F999-5CF4-43D5-98FA-5883FD9B7869","renderContextTable":{"__isSmartRef__":true,"id":25},"textChunks":[{"__isSmartRef__":true,"id":26}],"eventHandler":{"__isSmartRef__":true,"id":28},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":29},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":30},"priorExtent":{"__isSmartRef__":true,"id":31},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":18},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":17,"_MinTextHeight":null,"derivationIds":[373,"446F3F3F-C15B-4F2C-8092-EEEB026303CD"],"__LivelyClassName__":"lively.morphic.Text"},"20":{"_Position":{"__isSmartRef__":true,"id":21},"renderContextTable":{"__isSmartRef__":true,"id":22},"_Extent":{"__isSmartRef__":true,"id":23},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":8},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":24},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"21":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"22":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"23":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"24":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"25":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"26":{"style":{"__isSmartRef__":true,"id":27},"chunkOwner":{"__isSmartRef__":true,"id":19},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"27":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"28":{"morph":{"__isSmartRef__":true,"id":19},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"29":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"30":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"31":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"32":{"_Position":{"__isSmartRef__":true,"id":33},"renderContextTable":{"__isSmartRef__":true,"id":34},"_Extent":{"__isSmartRef__":true,"id":35},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":36},"_Fill":{"__isSmartRef__":true,"id":37},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":47},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"33":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"34":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"35":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"36":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"37":{"stops":[{"__isSmartRef__":true,"id":38},{"__isSmartRef__":true,"id":40},{"__isSmartRef__":true,"id":42},{"__isSmartRef__":true,"id":44}],"vector":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"38":{"offset":0,"color":{"__isSmartRef__":true,"id":39}},"39":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"40":{"offset":0.4,"color":{"__isSmartRef__":true,"id":41}},"41":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"42":{"offset":0.6,"color":{"__isSmartRef__":true,"id":43}},"43":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"44":{"offset":1,"color":{"__isSmartRef__":true,"id":45}},"45":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"46":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"47":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"48":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"49":{"morph":{"__isSmartRef__":true,"id":18},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"50":{"x":430,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"51":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"52":{"stops":[{"__isSmartRef__":true,"id":53},{"__isSmartRef__":true,"id":55},{"__isSmartRef__":true,"id":57},{"__isSmartRef__":true,"id":59}],"vector":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"53":{"offset":0,"color":{"__isSmartRef__":true,"id":54}},"54":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"55":{"offset":0.4,"color":{"__isSmartRef__":true,"id":56}},"56":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"57":{"offset":0.6,"color":{"__isSmartRef__":true,"id":58}},"58":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"59":{"offset":1,"color":{"__isSmartRef__":true,"id":60}},"60":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"61":{"moveHorizontal":true},"62":{"sourceObj":{"__isSmartRef__":true,"id":18},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":63},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"63":{"source":{"__isSmartRef__":true,"id":18},"target":{"__isSmartRef__":true,"id":1}},"64":{"sourceObj":{"__isSmartRef__":true,"id":18},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":65},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"65":{"source":{"__isSmartRef__":true,"id":18},"target":{"__isSmartRef__":true,"id":1}},"66":{"submorphs":[{"__isSmartRef__":true,"id":67}],"scripts":[],"shape":{"__isSmartRef__":true,"id":79},"id":"DEA164F4-56B6-4788-A695-C28651E2EBA3","renderContextTable":{"__isSmartRef__":true,"id":84},"eventHandler":{"__isSmartRef__":true,"id":85},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":86},"priorExtent":{"__isSmartRef__":true,"id":87},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":37},"lighterFill":{"__isSmartRef__":true,"id":88},"label":{"__isSmartRef__":true,"id":67},"owner":{"__isSmartRef__":true,"id":2},"attributeConnections":[{"__isSmartRef__":true,"id":97},{"__isSmartRef__":true,"id":99}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[374,"A36F009B-8D56-451E-B4E4-7E86DECD0DAA"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"67":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":68},"id":"36454787-8511-4C40-9B53-1AD9B6D9F7A0","renderContextTable":{"__isSmartRef__":true,"id":73},"textChunks":[{"__isSmartRef__":true,"id":74}],"eventHandler":{"__isSmartRef__":true,"id":76},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":29},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":77},"priorExtent":{"__isSmartRef__":true,"id":78},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":66},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":17,"_MinTextHeight":null,"derivationIds":[375,"720AC64E-8ECA-4CB8-A670-915BB4CB646D"],"__LivelyClassName__":"lively.morphic.Text"},"68":{"_Position":{"__isSmartRef__":true,"id":69},"renderContextTable":{"__isSmartRef__":true,"id":70},"_Extent":{"__isSmartRef__":true,"id":71},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":8},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":72},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"69":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"70":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"71":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"72":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"73":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"74":{"style":{"__isSmartRef__":true,"id":75},"chunkOwner":{"__isSmartRef__":true,"id":67},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"75":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"76":{"morph":{"__isSmartRef__":true,"id":67},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"77":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"78":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"79":{"_Position":{"__isSmartRef__":true,"id":80},"renderContextTable":{"__isSmartRef__":true,"id":81},"_Extent":{"__isSmartRef__":true,"id":82},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":36},"_Fill":{"__isSmartRef__":true,"id":37},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":83},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"80":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"81":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"82":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"83":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"84":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"85":{"morph":{"__isSmartRef__":true,"id":66},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"86":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"87":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"88":{"stops":[{"__isSmartRef__":true,"id":89},{"__isSmartRef__":true,"id":91},{"__isSmartRef__":true,"id":93},{"__isSmartRef__":true,"id":95}],"vector":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"89":{"offset":0,"color":{"__isSmartRef__":true,"id":90}},"90":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"91":{"offset":0.4,"color":{"__isSmartRef__":true,"id":92}},"92":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"93":{"offset":0.6,"color":{"__isSmartRef__":true,"id":94}},"94":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"95":{"offset":1,"color":{"__isSmartRef__":true,"id":96}},"96":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"97":{"sourceObj":{"__isSmartRef__":true,"id":66},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":98},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"98":{"source":{"__isSmartRef__":true,"id":66},"target":{"__isSmartRef__":true,"id":1}},"99":{"sourceObj":{"__isSmartRef__":true,"id":66},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":100},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"100":{"source":{"__isSmartRef__":true,"id":66},"target":{"__isSmartRef__":true,"id":1}},"101":{"submorphs":[{"__isSmartRef__":true,"id":102}],"scripts":[],"shape":{"__isSmartRef__":true,"id":114},"id":"A55FB6EC-4F7A-4EDD-9D37-658885E3B1C3","renderContextTable":{"__isSmartRef__":true,"id":119},"eventHandler":{"__isSmartRef__":true,"id":120},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":121},"priorExtent":{"__isSmartRef__":true,"id":122},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":37},"lighterFill":{"__isSmartRef__":true,"id":123},"label":{"__isSmartRef__":true,"id":102},"owner":{"__isSmartRef__":true,"id":2},"layout":{"__isSmartRef__":true,"id":132},"attributeConnections":[{"__isSmartRef__":true,"id":133},{"__isSmartRef__":true,"id":135}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[376,"D79CA6DF-66BF-4677-B0E4-EE7D01B1C63D"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"102":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":103},"id":"2A7A4E62-0EEA-43B8-939E-5F848598C252","renderContextTable":{"__isSmartRef__":true,"id":108},"textChunks":[{"__isSmartRef__":true,"id":109}],"eventHandler":{"__isSmartRef__":true,"id":111},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":29},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":112},"priorExtent":{"__isSmartRef__":true,"id":113},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":101},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":17,"_MinTextHeight":null,"derivationIds":[377,"EBDFC1CF-0737-487F-B8D8-15BA51596F47"],"__LivelyClassName__":"lively.morphic.Text"},"103":{"_Position":{"__isSmartRef__":true,"id":104},"renderContextTable":{"__isSmartRef__":true,"id":105},"_Extent":{"__isSmartRef__":true,"id":106},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":8},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":107},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"104":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"105":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"106":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"107":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"108":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"109":{"style":{"__isSmartRef__":true,"id":110},"chunkOwner":{"__isSmartRef__":true,"id":102},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"110":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"111":{"morph":{"__isSmartRef__":true,"id":102},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"112":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"113":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"114":{"_Position":{"__isSmartRef__":true,"id":115},"renderContextTable":{"__isSmartRef__":true,"id":116},"_Extent":{"__isSmartRef__":true,"id":117},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":36},"_Fill":{"__isSmartRef__":true,"id":37},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":118},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"115":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"116":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"117":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"118":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"119":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"120":{"morph":{"__isSmartRef__":true,"id":101},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"121":{"x":411,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"122":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"123":{"stops":[{"__isSmartRef__":true,"id":124},{"__isSmartRef__":true,"id":126},{"__isSmartRef__":true,"id":128},{"__isSmartRef__":true,"id":130}],"vector":{"__isSmartRef__":true,"id":46},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"124":{"offset":0,"color":{"__isSmartRef__":true,"id":125}},"125":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"126":{"offset":0.4,"color":{"__isSmartRef__":true,"id":127}},"127":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"128":{"offset":0.6,"color":{"__isSmartRef__":true,"id":129}},"129":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"130":{"offset":1,"color":{"__isSmartRef__":true,"id":131}},"131":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"132":{"moveHorizontal":true},"133":{"sourceObj":{"__isSmartRef__":true,"id":101},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":134},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"134":{"source":{"__isSmartRef__":true,"id":101},"target":{"__isSmartRef__":true,"id":1}},"135":{"sourceObj":{"__isSmartRef__":true,"id":101},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":136},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"136":{"source":{"__isSmartRef__":true,"id":101},"target":{"__isSmartRef__":true,"id":1}},"137":{"_Position":{"__isSmartRef__":true,"id":138},"renderContextTable":{"__isSmartRef__":true,"id":139},"_Extent":{"__isSmartRef__":true,"id":140},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":141},"_Fill":{"__isSmartRef__":true,"id":142},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":148},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"138":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"139":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"140":{"x":450,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"141":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"142":{"stops":[{"__isSmartRef__":true,"id":143},{"__isSmartRef__":true,"id":145}],"vector":{"__isSmartRef__":true,"id":147},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"143":{"offset":0,"color":{"__isSmartRef__":true,"id":144}},"144":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"145":{"offset":1,"color":{"__isSmartRef__":true,"id":146}},"146":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"147":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"148":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"149":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"150":{"morph":{"__isSmartRef__":true,"id":2},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"151":{"resizeWidth":true,"adjustForNewBounds":true},"152":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"153":{"x":450,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"154":{"renderContextTable":{"__isSmartRef__":true,"id":155},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":156},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":157},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"155":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"156":{"x":450,"y":671,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"157":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"158":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"159":{"morph":{"__isSmartRef__":true,"id":1},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"160":{"adjustForNewBounds":true},"161":{"x":372,"y":102,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"162":{"x":450,"y":671,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"163":{"submorphs":[{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":185},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":418},{"__isSmartRef__":true,"id":500},{"__isSmartRef__":true,"id":585},{"__isSmartRef__":true,"id":635},{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":709}],"scripts":[],"id":"C7FA289F-C566-4842-AEF0-4D36033794C1","shape":{"__isSmartRef__":true,"id":746},"__layered_droppingEnabled__":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":752},"showsHalos":false,"name":"LivelyEngine","partsBinMetaInfo":{"__isSmartRef__":true,"id":753},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":754},"eventHandler":{"__isSmartRef__":true,"id":755},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":0},"priorExtent":{"__isSmartRef__":true,"id":756},"pistonStyle":{"__isSmartRef__":true,"id":757},"crankPinStyle":{"__isSmartRef__":true,"id":764},"angleStep":0.39269908169872414,"topPosDisplacement":{"__isSmartRef__":true,"id":765},"layout":{"__isSmartRef__":true,"id":766},"cylinders":[{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":418},{"__isSmartRef__":true,"id":500}],"stroke":63.00000000000001,"normalSpeed":100,"crank":{"__isSmartRef__":true,"id":164},"crankPin":{"__isSmartRef__":true,"id":165},"crankPinCap":{"__isSmartRef__":true,"id":512},"alternate":false,"crankAngle":8.639379797372095,"connectingRods":[{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":337},{"__isSmartRef__":true,"id":419},{"__isSmartRef__":true,"id":501}],"runMenu":{"__isSmartRef__":true,"id":767},"running":true,"stepTime":100,"cylindersMenu":{"__isSmartRef__":true,"id":907},"ignitionMenu":{"__isSmartRef__":true,"id":1177},"derivationIds":[339,"AA64DE74-9636-442A-B549-5E8AB2BB33D4"],"cylindersButton":{"__isSmartRef__":true,"id":1262},"_ClipMode":"visible","isLockOwner":false,"isBeingDragged":false,"_Rotation":0,"_Scale":5,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1311},"__LivelyClassName__":"lively.morphic.Box","withLayers":["Global.lively.morphic.GrabbingLayer"]},"164":{"submorphs":[{"__isSmartRef__":true,"id":165}],"scripts":[],"shape":{"__isSmartRef__":true,"id":176},"derivationIds":[null,"B25C8D0E-2A91-44ED-9015-135376A58C5D"],"id":"B7771EAE-291F-477C-9875-366E8918835F","renderContextTable":{"__isSmartRef__":true,"id":182},"eventHandler":{"__isSmartRef__":true,"id":183},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":184},"owner":{"__isSmartRef__":true,"id":163},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"visible","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"showsHalos":false,"_Rotation":8.639379797372095,"__LivelyClassName__":"lively.morphic.Morph"},"165":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":166},"derivationIds":[null,"0D55FE2C-D0E8-4A1C-A059-983F0BA78DE9"],"id":"80D517AB-A3D9-419E-B9F8-7648CD1626B1","renderContextTable":{"__isSmartRef__":true,"id":173},"eventHandler":{"__isSmartRef__":true,"id":174},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":175},"owner":{"__isSmartRef__":true,"id":164},"__SourceModuleName__":"Global.lively.morphic.Core","_ClipMode":"visible","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"__LivelyClassName__":"lively.morphic.Morph"},"166":{"_Position":{"__isSmartRef__":true,"id":167},"renderContextTable":{"__isSmartRef__":true,"id":168},"_Extent":{"__isSmartRef__":true,"id":169},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":170},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":{"__isSmartRef__":true,"id":172},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"167":{"x":-15.750000000000002,"y":-15.750000000000002,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"168":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"169":{"x":31.500000000000004,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"170":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"171":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"172":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"173":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"174":{"morph":{"__isSmartRef__":true,"id":165},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"175":{"x":0,"y":-31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"176":{"_Position":{"__isSmartRef__":true,"id":177},"renderContextTable":{"__isSmartRef__":true,"id":178},"_Extent":{"__isSmartRef__":true,"id":179},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":180},"_BorderWidth":4,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":{"__isSmartRef__":true,"id":181},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"177":{"x":-50.400000000000006,"y":-50.400000000000006,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"178":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"179":{"x":100.80000000000001,"y":100.80000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"180":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"181":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"182":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"183":{"morph":{"__isSmartRef__":true,"id":164},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"184":{"x":225,"y":225,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"185":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":186},"derivationIds":[null,"6366B7DA-BD18-4D1A-9BA1-471B187A8188"],"id":"C5FA6760-E861-4F48-9BA8-B898142DBA97","renderContextTable":{"__isSmartRef__":true,"id":191},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":192}],"eventHandler":{"__isSmartRef__":true,"id":194},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":20,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":163},"priorExtent":{"__isSmartRef__":true,"id":195},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":196},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"__LivelyClassName__":"lively.morphic.Text"},"186":{"_Position":{"__isSmartRef__":true,"id":187},"renderContextTable":{"__isSmartRef__":true,"id":188},"_Extent":{"__isSmartRef__":true,"id":189},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":190},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"187":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"188":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"189":{"x":228,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"190":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"191":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"192":{"style":{"__isSmartRef__":true,"id":193},"chunkOwner":{"__isSmartRef__":true,"id":185},"storedString":"The Radial Engine","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"193":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"194":{"morph":{"__isSmartRef__":true,"id":185},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"195":{"x":228,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"196":{"x":110,"y":430,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"197":{"submorphs":[{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":220}],"scripts":[],"shape":{"__isSmartRef__":true,"id":248},"derivationIds":[null,"86D74D08-8D40-4005-92D8-0F738F821C85"],"id":"242C77AC-15E9-4640-B94D-1DDEAAE852DC","renderContextTable":{"__isSmartRef__":true,"id":264},"eventHandler":{"__isSmartRef__":true,"id":265},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":266},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","name":"Path","owner":{"__isSmartRef__":true,"id":163},"angle":0,"piston":{"__isSmartRef__":true,"id":220},"wristPin":{"__isSmartRef__":true,"id":221},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"__LivelyClassName__":"lively.morphic.Path"},"198":{"submorphs":[{"__isSmartRef__":true,"id":199}],"scripts":[],"shape":{"__isSmartRef__":true,"id":210},"derivationIds":[null],"id":"484C5B18-D5A4-460B-9209-FACABA4C94AC","renderContextTable":{"__isSmartRef__":true,"id":218},"eventHandler":{"__isSmartRef__":true,"id":219},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":197},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"199":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":200},"derivationIds":[null],"id":"C792F7F3-DFE3-4AAB-867E-A7CB6E36FCF5","renderContextTable":{"__isSmartRef__":true,"id":208},"eventHandler":{"__isSmartRef__":true,"id":209},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":198},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"200":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":201},{"__isSmartRef__":true,"id":202}],"renderContextTable":{"__isSmartRef__":true,"id":203},"_Position":{"__isSmartRef__":true,"id":204},"_Extent":{"__isSmartRef__":true,"id":205},"_Padding":{"__isSmartRef__":true,"id":206},"_BorderWidth":3.1500000000000004,"_BorderColor":{"__isSmartRef__":true,"id":207},"_NodeClass":["morph","path"],"_NodeId":"morph-c792f7f3-dfe3-4aab-867e-a7cb6e36fcf5","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"201":{"isAbsolute":true,"x":22.2738636073726,"y":22.273863607379962,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"202":{"isAbsolute":true,"x":-5.684341886080802e-14,"y":-94.57613639262007,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"203":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"204":{"x":-2.000000000000057,"y":-96.57613639262007,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"205":{"x":25.273863607372657,"y":119.85000000000004,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"206":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"207":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"208":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"209":{"morph":{"__isSmartRef__":true,"id":199},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"210":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":211},{"__isSmartRef__":true,"id":212}],"renderContextTable":{"__isSmartRef__":true,"id":213},"_Position":{"__isSmartRef__":true,"id":214},"_Extent":{"__isSmartRef__":true,"id":215},"_Padding":{"__isSmartRef__":true,"id":216},"_BorderWidth":9.450000000000001,"_BorderColor":{"__isSmartRef__":true,"id":217},"_NodeClass":["morph","path"],"_NodeId":"morph-484c5b18-d5a4-460b-9209-facaba4c94ac","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"211":{"isAbsolute":true,"x":22.2738636073726,"y":22.273863607379962,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"212":{"isAbsolute":true,"x":-5.684341886080802e-14,"y":-94.57613639262007,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"213":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"214":{"x":-5.000000000000057,"y":-99.57613639262007,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"215":{"x":31.273863607372657,"y":125.85000000000004,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"216":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"217":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"218":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"219":{"morph":{"__isSmartRef__":true,"id":198},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"220":{"submorphs":[{"__isSmartRef__":true,"id":221}],"scripts":[],"shape":{"__isSmartRef__":true,"id":231},"derivationIds":[null,"185F9427-AB31-4368-AB64-936DA87D4BA0"],"id":"0DD394CC-7449-441D-9A14-BC484AE08140","renderContextTable":{"__isSmartRef__":true,"id":244},"eventHandler":{"__isSmartRef__":true,"id":245},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":246},"owner":{"__isSmartRef__":true,"id":197},"__SourceModuleName__":"Global.lively.morphic.Core","topPos":{"__isSmartRef__":true,"id":247},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"221":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":222},"derivationIds":[null,"317B28F2-41F6-4AA2-942C-0C149BD7B782"],"id":"26329A4E-608D-473D-9845-A154482C0704","renderContextTable":{"__isSmartRef__":true,"id":228},"eventHandler":{"__isSmartRef__":true,"id":229},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":230},"owner":{"__isSmartRef__":true,"id":220},"__SourceModuleName__":"Global.lively.morphic.Core","isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Morph"},"222":{"_Position":{"__isSmartRef__":true,"id":223},"renderContextTable":{"__isSmartRef__":true,"id":224},"_Extent":{"__isSmartRef__":true,"id":225},"_Padding":{"__isSmartRef__":true,"id":226},"_NodeClass":["morph"],"_NodeId":"morph-317b28f2-41f6-4aa2-942c-0c149bd7b782","_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":227},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"223":{"x":-6.300000000000001,"y":-6.300000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"224":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"225":{"x":12.600000000000001,"y":12.600000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"226":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"227":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"228":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"229":{"morph":{"__isSmartRef__":true,"id":221},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"230":{"x":32.5,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"231":{"_Position":{"__isSmartRef__":true,"id":232},"renderContextTable":{"__isSmartRef__":true,"id":233},"_Extent":{"__isSmartRef__":true,"id":234},"_Padding":{"__isSmartRef__":true,"id":235},"_NodeClass":["morph","box"],"_NodeId":"morph-185f9427-ab31-4368-ab64-936da87d4ba0","_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":236},"_Fill":{"__isSmartRef__":true,"id":237},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"232":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"233":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"234":{"x":65,"y":63.00000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"235":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"236":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"237":{"stops":[{"__isSmartRef__":true,"id":238},{"__isSmartRef__":true,"id":240},{"__isSmartRef__":true,"id":242}],"vector":{"__isSmartRef__":true,"id":243},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"238":{"offset":0,"color":{"__isSmartRef__":true,"id":239}},"239":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"240":{"offset":0.4,"color":{"__isSmartRef__":true,"id":241}},"241":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"242":{"offset":1,"color":{"__isSmartRef__":true,"id":239}},"243":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"244":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"245":{"morph":{"__isSmartRef__":true,"id":220},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"246":{"x":-32.5,"y":-126.0761363926201,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"247":{"x":-32.5,"y":-183,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"248":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":249},{"__isSmartRef__":true,"id":250},{"__isSmartRef__":true,"id":251},{"__isSmartRef__":true,"id":252},{"__isSmartRef__":true,"id":253},{"__isSmartRef__":true,"id":254},{"__isSmartRef__":true,"id":255},{"__isSmartRef__":true,"id":256},{"__isSmartRef__":true,"id":257}],"renderContextTable":{"__isSmartRef__":true,"id":258},"_Position":{"__isSmartRef__":true,"id":259},"_Extent":{"__isSmartRef__":true,"id":260},"_Padding":{"__isSmartRef__":true,"id":261},"_BorderWidth":4,"_BorderColor":{"__isSmartRef__":true,"id":262},"_NodeClass":["morph","path"],"_NodeId":"morph-86d74d08-8d40-4005-92d8-0f738f821c85","_Fill":{"__isSmartRef__":true,"id":263},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"249":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"250":{"isAbsolute":true,"x":31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"251":{"isAbsolute":true,"x":31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"252":{"isAbsolute":true,"x":-31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"253":{"isAbsolute":true,"x":-31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"254":{"isAbsolute":true,"x":-31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"255":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"256":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"257":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"258":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"259":{"x":-34.5,"y":-195.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"260":{"x":68,"y":107.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"261":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"262":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"263":{"r":0.8750000000000053,"g":0.3750000000000262,"b":0.3750000000000262,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"264":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"265":{"morph":{"__isSmartRef__":true,"id":197},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"266":{"x":225,"y":225,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"267":{"submorphs":[{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":289}],"scripts":[],"shape":{"__isSmartRef__":true,"id":317},"derivationIds":[null,"86D74D08-8D40-4005-92D8-0F738F821C85"],"id":"CFFA823C-3C12-432D-961D-37AB44411A4D","renderContextTable":{"__isSmartRef__":true,"id":333},"eventHandler":{"__isSmartRef__":true,"id":334},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":335},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","name":"Path1","owner":{"__isSmartRef__":true,"id":163},"angle":1.2566370614359172,"piston":{"__isSmartRef__":true,"id":289},"wristPin":{"__isSmartRef__":true,"id":290},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":1.2566370614359172,"__LivelyClassName__":"lively.morphic.Path"},"268":{"submorphs":[{"__isSmartRef__":true,"id":269}],"scripts":[],"shape":{"__isSmartRef__":true,"id":279},"derivationIds":[null],"id":"34C8FBBD-3C8F-4F72-B129-9B4E135C584F","renderContextTable":{"__isSmartRef__":true,"id":287},"eventHandler":{"__isSmartRef__":true,"id":288},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":267},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"269":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":270},"derivationIds":[null],"id":"EE3A6D70-FC0E-4F67-8B02-541ABC3A03B1","renderContextTable":{"__isSmartRef__":true,"id":277},"eventHandler":{"__isSmartRef__":true,"id":278},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":268},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"270":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":271},{"__isSmartRef__":true,"id":272}],"renderContextTable":{"__isSmartRef__":true,"id":273},"_Position":{"__isSmartRef__":true,"id":274},"_Extent":{"__isSmartRef__":true,"id":275},"_Padding":{"__isSmartRef__":true,"id":276},"_BorderWidth":3.1500000000000004,"_BorderColor":{"__isSmartRef__":true,"id":207},"_NodeClass":["morph","path"],"_NodeId":"morph-ee3a6d70-fc0e-4f67-8b02-541abc3a03b1","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"271":{"isAbsolute":true,"x":28.066705511935826,"y":-14.30070074179112,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"272":{"isAbsolute":true,"x":-5.684341886080802e-14,"y":-131.15070074179113,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"273":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"274":{"x":-2.000000000000057,"y":-133.15070074179113,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"275":{"x":31.066705511935883,"y":119.85000000000001,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"276":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"277":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"278":{"morph":{"__isSmartRef__":true,"id":269},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"279":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":280},{"__isSmartRef__":true,"id":281}],"renderContextTable":{"__isSmartRef__":true,"id":282},"_Position":{"__isSmartRef__":true,"id":283},"_Extent":{"__isSmartRef__":true,"id":284},"_Padding":{"__isSmartRef__":true,"id":285},"_BorderWidth":9.450000000000001,"_BorderColor":{"__isSmartRef__":true,"id":286},"_NodeClass":["morph","path"],"_NodeId":"morph-34c8fbbd-3c8f-4f72-b129-9b4e135c584f","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"280":{"isAbsolute":true,"x":28.066705511935826,"y":-14.30070074179112,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"281":{"isAbsolute":true,"x":-5.684341886080802e-14,"y":-131.15070074179113,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"282":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"283":{"x":-5.000000000000057,"y":-136.15070074179113,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"284":{"x":37.06670551193588,"y":125.85000000000001,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"285":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"286":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"287":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"288":{"morph":{"__isSmartRef__":true,"id":268},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"289":{"submorphs":[{"__isSmartRef__":true,"id":290}],"scripts":[],"shape":{"__isSmartRef__":true,"id":300},"derivationIds":[null,"185F9427-AB31-4368-AB64-936DA87D4BA0"],"id":"7875B821-F52B-4429-83D8-8DB9A53A6CEC","renderContextTable":{"__isSmartRef__":true,"id":313},"eventHandler":{"__isSmartRef__":true,"id":314},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":315},"owner":{"__isSmartRef__":true,"id":267},"__SourceModuleName__":"Global.lively.morphic.Core","topPos":{"__isSmartRef__":true,"id":316},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"290":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":291},"derivationIds":[null,"317B28F2-41F6-4AA2-942C-0C149BD7B782"],"id":"CA222159-EBAB-4BF0-9C05-98275648D691","renderContextTable":{"__isSmartRef__":true,"id":297},"eventHandler":{"__isSmartRef__":true,"id":298},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":299},"owner":{"__isSmartRef__":true,"id":289},"__SourceModuleName__":"Global.lively.morphic.Core","isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Morph"},"291":{"_Position":{"__isSmartRef__":true,"id":292},"renderContextTable":{"__isSmartRef__":true,"id":293},"_Extent":{"__isSmartRef__":true,"id":294},"_Padding":{"__isSmartRef__":true,"id":295},"_NodeClass":["morph"],"_NodeId":"morph-317b28f2-41f6-4aa2-942c-0c149bd7b782","_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":296},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"292":{"x":-6.300000000000001,"y":-6.300000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"293":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"294":{"x":12.600000000000001,"y":12.600000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"295":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"296":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"297":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"298":{"morph":{"__isSmartRef__":true,"id":290},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"299":{"x":32.5,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"300":{"_Position":{"__isSmartRef__":true,"id":301},"renderContextTable":{"__isSmartRef__":true,"id":302},"_Extent":{"__isSmartRef__":true,"id":303},"_Padding":{"__isSmartRef__":true,"id":304},"_NodeClass":["morph","box"],"_NodeId":"morph-185f9427-ab31-4368-ab64-936da87d4ba0","_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":305},"_Fill":{"__isSmartRef__":true,"id":306},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"301":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"302":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"303":{"x":65,"y":63.00000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"304":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"305":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"306":{"stops":[{"__isSmartRef__":true,"id":307},{"__isSmartRef__":true,"id":309},{"__isSmartRef__":true,"id":311}],"vector":{"__isSmartRef__":true,"id":312},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"307":{"offset":0,"color":{"__isSmartRef__":true,"id":308}},"308":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"309":{"offset":0.4,"color":{"__isSmartRef__":true,"id":310}},"310":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"311":{"offset":1,"color":{"__isSmartRef__":true,"id":308}},"312":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"313":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"314":{"morph":{"__isSmartRef__":true,"id":289},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"315":{"x":-32.5,"y":-162.65070074179113,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"316":{"x":-32.5,"y":-183,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"317":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":318},{"__isSmartRef__":true,"id":319},{"__isSmartRef__":true,"id":320},{"__isSmartRef__":true,"id":321},{"__isSmartRef__":true,"id":322},{"__isSmartRef__":true,"id":323},{"__isSmartRef__":true,"id":324},{"__isSmartRef__":true,"id":325},{"__isSmartRef__":true,"id":326}],"renderContextTable":{"__isSmartRef__":true,"id":327},"_Position":{"__isSmartRef__":true,"id":328},"_Extent":{"__isSmartRef__":true,"id":329},"_Padding":{"__isSmartRef__":true,"id":330},"_BorderWidth":4,"_BorderColor":{"__isSmartRef__":true,"id":331},"_NodeClass":["morph","path"],"_NodeId":"morph-86d74d08-8d40-4005-92d8-0f738f821c85","_Fill":{"__isSmartRef__":true,"id":332},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"318":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"319":{"isAbsolute":true,"x":31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"320":{"isAbsolute":true,"x":31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"321":{"isAbsolute":true,"x":-31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"322":{"isAbsolute":true,"x":-31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"323":{"isAbsolute":true,"x":-31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"324":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"325":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"326":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"327":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"328":{"x":-34.5,"y":-195.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"329":{"x":68,"y":107.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"330":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"331":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"332":{"r":0.8350000000000053,"g":0.17500000000002625,"b":0.17500000000002625,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"333":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"334":{"morph":{"__isSmartRef__":true,"id":267},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"335":{"x":225,"y":225,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"336":{"submorphs":[{"__isSmartRef__":true,"id":337},{"__isSmartRef__":true,"id":362}],"scripts":[],"shape":{"__isSmartRef__":true,"id":390},"derivationIds":[null,"86D74D08-8D40-4005-92D8-0F738F821C85"],"id":"239720C7-D642-4780-A963-B50C64B903F2","renderContextTable":{"__isSmartRef__":true,"id":406},"eventHandler":{"__isSmartRef__":true,"id":407},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":408},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","name":"Path2","owner":{"__isSmartRef__":true,"id":163},"angle":2.5132741228718345,"piston":{"__isSmartRef__":true,"id":362},"wristPin":{"__isSmartRef__":true,"id":363},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":409},{"__isSmartRef__":true,"id":410},{"__isSmartRef__":true,"id":411},{"__isSmartRef__":true,"id":412},{"__isSmartRef__":true,"id":413},{"__isSmartRef__":true,"id":414},{"__isSmartRef__":true,"id":415},{"__isSmartRef__":true,"id":416},{"__isSmartRef__":true,"id":417}],"_Rotation":2.5132741228718345,"__LivelyClassName__":"lively.morphic.Path"},"337":{"submorphs":[{"__isSmartRef__":true,"id":338}],"scripts":[],"shape":{"__isSmartRef__":true,"id":350},"derivationIds":[null],"id":"80B52B08-B457-4574-A44F-F0278C26ACEB","renderContextTable":{"__isSmartRef__":true,"id":358},"eventHandler":{"__isSmartRef__":true,"id":359},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":336},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":360},{"__isSmartRef__":true,"id":361}],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"338":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":339},"derivationIds":[null],"id":"B99BB582-B932-446E-A273-D56A69E1107C","renderContextTable":{"__isSmartRef__":true,"id":346},"eventHandler":{"__isSmartRef__":true,"id":347},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":337},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":348},{"__isSmartRef__":true,"id":349}],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"339":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":340},{"__isSmartRef__":true,"id":341}],"renderContextTable":{"__isSmartRef__":true,"id":342},"_Position":{"__isSmartRef__":true,"id":343},"_Extent":{"__isSmartRef__":true,"id":344},"_Padding":{"__isSmartRef__":true,"id":345},"_BorderWidth":3.1500000000000004,"_BorderColor":{"__isSmartRef__":true,"id":207},"_NodeClass":["morph","path"],"_NodeId":"morph-b99bb582-b932-446e-a273-d56a69e1107c","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"340":{"isAbsolute":true,"x":-4.927685648762138,"y":-31.11218272874765,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"341":{"isAbsolute":true,"x":-2.842170943040401e-14,"y":-147.96218272874773,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"342":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"343":{"x":-6.927685648762138,"y":-149.96218272874773,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"344":{"x":7.927685648762109,"y":119.85000000000008,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"345":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"346":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"347":{"morph":{"__isSmartRef__":true,"id":338},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"348":{"morph":{"__isSmartRef__":true,"id":338},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"349":{"morph":{"__isSmartRef__":true,"id":338},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"350":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":351},{"__isSmartRef__":true,"id":352}],"renderContextTable":{"__isSmartRef__":true,"id":353},"_Position":{"__isSmartRef__":true,"id":354},"_Extent":{"__isSmartRef__":true,"id":355},"_Padding":{"__isSmartRef__":true,"id":356},"_BorderWidth":9.450000000000001,"_BorderColor":{"__isSmartRef__":true,"id":357},"_NodeClass":["morph","path"],"_NodeId":"morph-80b52b08-b457-4574-a44f-f0278c26aceb","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"351":{"isAbsolute":true,"x":-4.927685648762138,"y":-31.11218272874765,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"352":{"isAbsolute":true,"x":-2.842170943040401e-14,"y":-147.96218272874773,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"353":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"354":{"x":-9.927685648762138,"y":-152.96218272874773,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"355":{"x":13.92768564876211,"y":125.85000000000008,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"356":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"357":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"358":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"359":{"morph":{"__isSmartRef__":true,"id":337},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"360":{"morph":{"__isSmartRef__":true,"id":337},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"361":{"morph":{"__isSmartRef__":true,"id":337},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"362":{"submorphs":[{"__isSmartRef__":true,"id":363}],"scripts":[],"shape":{"__isSmartRef__":true,"id":373},"derivationIds":[null,"185F9427-AB31-4368-AB64-936DA87D4BA0"],"id":"6B89C9ED-75FC-45E4-B6CA-0541865D1B2A","renderContextTable":{"__isSmartRef__":true,"id":386},"eventHandler":{"__isSmartRef__":true,"id":387},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":388},"owner":{"__isSmartRef__":true,"id":336},"__SourceModuleName__":"Global.lively.morphic.Core","topPos":{"__isSmartRef__":true,"id":389},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"363":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":364},"derivationIds":[null,"317B28F2-41F6-4AA2-942C-0C149BD7B782"],"id":"C92CADF2-3750-4041-A2AE-747D885B6492","renderContextTable":{"__isSmartRef__":true,"id":370},"eventHandler":{"__isSmartRef__":true,"id":371},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":372},"owner":{"__isSmartRef__":true,"id":362},"__SourceModuleName__":"Global.lively.morphic.Core","isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Morph"},"364":{"_Position":{"__isSmartRef__":true,"id":365},"renderContextTable":{"__isSmartRef__":true,"id":366},"_Extent":{"__isSmartRef__":true,"id":367},"_Padding":{"__isSmartRef__":true,"id":368},"_NodeClass":["morph"],"_NodeId":"morph-317b28f2-41f6-4aa2-942c-0c149bd7b782","_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":369},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"365":{"x":-6.300000000000001,"y":-6.300000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"366":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"367":{"x":12.600000000000001,"y":12.600000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"368":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"369":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"370":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"371":{"morph":{"__isSmartRef__":true,"id":363},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"372":{"x":32.5,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"373":{"_Position":{"__isSmartRef__":true,"id":374},"renderContextTable":{"__isSmartRef__":true,"id":375},"_Extent":{"__isSmartRef__":true,"id":376},"_Padding":{"__isSmartRef__":true,"id":377},"_NodeClass":["morph","box"],"_NodeId":"morph-185f9427-ab31-4368-ab64-936da87d4ba0","_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":378},"_Fill":{"__isSmartRef__":true,"id":379},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"374":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"375":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"376":{"x":65,"y":63.00000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"377":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"378":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"379":{"stops":[{"__isSmartRef__":true,"id":380},{"__isSmartRef__":true,"id":382},{"__isSmartRef__":true,"id":384}],"vector":{"__isSmartRef__":true,"id":385},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"380":{"offset":0,"color":{"__isSmartRef__":true,"id":381}},"381":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"382":{"offset":0.4,"color":{"__isSmartRef__":true,"id":383}},"383":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"384":{"offset":1,"color":{"__isSmartRef__":true,"id":381}},"385":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"386":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"387":{"morph":{"__isSmartRef__":true,"id":362},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"388":{"x":-32.5,"y":-179.46218272874765,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"389":{"x":-32.5,"y":-183,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"390":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":391},{"__isSmartRef__":true,"id":392},{"__isSmartRef__":true,"id":393},{"__isSmartRef__":true,"id":394},{"__isSmartRef__":true,"id":395},{"__isSmartRef__":true,"id":396},{"__isSmartRef__":true,"id":397},{"__isSmartRef__":true,"id":398},{"__isSmartRef__":true,"id":399}],"renderContextTable":{"__isSmartRef__":true,"id":400},"_Position":{"__isSmartRef__":true,"id":401},"_Extent":{"__isSmartRef__":true,"id":402},"_Padding":{"__isSmartRef__":true,"id":403},"_BorderWidth":4,"_BorderColor":{"__isSmartRef__":true,"id":404},"_NodeClass":["morph","path"],"_NodeId":"morph-86d74d08-8d40-4005-92d8-0f738f821c85","_Fill":{"__isSmartRef__":true,"id":405},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"391":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"392":{"isAbsolute":true,"x":31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"393":{"isAbsolute":true,"x":31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"394":{"isAbsolute":true,"x":-31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"395":{"isAbsolute":true,"x":-31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"396":{"isAbsolute":true,"x":-31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"397":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"398":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"399":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"400":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"401":{"x":-34.5,"y":-195.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"402":{"x":68,"y":107.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"403":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"404":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"405":{"r":0.8,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"406":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"407":{"morph":{"__isSmartRef__":true,"id":336},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"408":{"x":225,"y":225,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"409":{"morph":{"__isSmartRef__":true,"id":336},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"410":{"morph":{"__isSmartRef__":true,"id":336},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"411":{"morph":{"__isSmartRef__":true,"id":336},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"412":{"morph":{"__isSmartRef__":true,"id":336},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"413":{"morph":{"__isSmartRef__":true,"id":336},"index":4,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"414":{"morph":{"__isSmartRef__":true,"id":336},"index":5,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"415":{"morph":{"__isSmartRef__":true,"id":336},"index":6,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"416":{"morph":{"__isSmartRef__":true,"id":336},"index":7,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"417":{"morph":{"__isSmartRef__":true,"id":336},"index":8,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"418":{"submorphs":[{"__isSmartRef__":true,"id":419},{"__isSmartRef__":true,"id":444}],"scripts":[],"shape":{"__isSmartRef__":true,"id":472},"derivationIds":[null,"86D74D08-8D40-4005-92D8-0F738F821C85"],"id":"B00CBDD6-F83D-49B3-87E8-C9C03036B166","renderContextTable":{"__isSmartRef__":true,"id":488},"eventHandler":{"__isSmartRef__":true,"id":489},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":490},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","name":"Path3","owner":{"__isSmartRef__":true,"id":163},"angle":3.7699111843077517,"piston":{"__isSmartRef__":true,"id":444},"wristPin":{"__isSmartRef__":true,"id":445},"isLockOwner":false,"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":491},{"__isSmartRef__":true,"id":492},{"__isSmartRef__":true,"id":493},{"__isSmartRef__":true,"id":494},{"__isSmartRef__":true,"id":495},{"__isSmartRef__":true,"id":496},{"__isSmartRef__":true,"id":497},{"__isSmartRef__":true,"id":498},{"__isSmartRef__":true,"id":499}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":3.7699111843077517,"__LivelyClassName__":"lively.morphic.Path"},"419":{"submorphs":[{"__isSmartRef__":true,"id":420}],"scripts":[],"shape":{"__isSmartRef__":true,"id":432},"derivationIds":[null],"id":"DD90B940-FE3C-4B55-8C02-7C1C1890944F","renderContextTable":{"__isSmartRef__":true,"id":440},"eventHandler":{"__isSmartRef__":true,"id":441},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":418},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":442},{"__isSmartRef__":true,"id":443}],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"420":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":421},"derivationIds":[null],"id":"48189542-A479-491E-BED6-4A03A3984C68","renderContextTable":{"__isSmartRef__":true,"id":428},"eventHandler":{"__isSmartRef__":true,"id":429},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":419},"isLockOwner":false,"showsHalos":false,"controlPoints":[{"__isSmartRef__":true,"id":430},{"__isSmartRef__":true,"id":431}],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"421":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":422},{"__isSmartRef__":true,"id":423}],"renderContextTable":{"__isSmartRef__":true,"id":424},"_Position":{"__isSmartRef__":true,"id":425},"_Extent":{"__isSmartRef__":true,"id":426},"_Padding":{"__isSmartRef__":true,"id":427},"_BorderWidth":3.1500000000000004,"_BorderColor":{"__isSmartRef__":true,"id":207},"_NodeClass":["morph","path"],"_NodeId":"morph-48189542-a479-491e-bed6-4a03a3984c68","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"422":{"isAbsolute":true,"x":-31.112182728746152,"y":-4.927685648772443,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"423":{"isAbsolute":true,"x":-2.2737367544323206e-13,"y":-121.77768564877246,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"424":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"425":{"x":-33.11218272874615,"y":-123.77768564877246,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"426":{"x":34.11218272874592,"y":119.85000000000002,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"427":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"428":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"429":{"morph":{"__isSmartRef__":true,"id":420},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"430":{"morph":{"__isSmartRef__":true,"id":420},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"431":{"morph":{"__isSmartRef__":true,"id":420},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"432":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":433},{"__isSmartRef__":true,"id":434}],"renderContextTable":{"__isSmartRef__":true,"id":435},"_Position":{"__isSmartRef__":true,"id":436},"_Extent":{"__isSmartRef__":true,"id":437},"_Padding":{"__isSmartRef__":true,"id":438},"_BorderWidth":9.450000000000001,"_BorderColor":{"__isSmartRef__":true,"id":439},"_NodeClass":["morph","path"],"_NodeId":"morph-dd90b940-fe3c-4b55-8c02-7c1c1890944f","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"433":{"isAbsolute":true,"x":-31.112182728746152,"y":-4.927685648772443,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"434":{"isAbsolute":true,"x":-2.2737367544323206e-13,"y":-121.77768564877246,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"435":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"436":{"x":-36.11218272874615,"y":-126.77768564877246,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"437":{"x":40.11218272874592,"y":125.85000000000002,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"438":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"439":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"440":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"441":{"morph":{"__isSmartRef__":true,"id":419},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"442":{"morph":{"__isSmartRef__":true,"id":419},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"443":{"morph":{"__isSmartRef__":true,"id":419},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"444":{"submorphs":[{"__isSmartRef__":true,"id":445}],"scripts":[],"shape":{"__isSmartRef__":true,"id":455},"derivationIds":[null,"185F9427-AB31-4368-AB64-936DA87D4BA0"],"id":"0252028A-6CC8-4CDA-8E72-DC80298D75D5","renderContextTable":{"__isSmartRef__":true,"id":468},"eventHandler":{"__isSmartRef__":true,"id":469},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":470},"owner":{"__isSmartRef__":true,"id":418},"__SourceModuleName__":"Global.lively.morphic.Core","topPos":{"__isSmartRef__":true,"id":471},"isLockOwner":false,"showsHalos":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Box"},"445":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":446},"derivationIds":[null,"317B28F2-41F6-4AA2-942C-0C149BD7B782"],"id":"C1DBEE9A-9723-4A5B-90A8-96AB6DBF290A","renderContextTable":{"__isSmartRef__":true,"id":452},"eventHandler":{"__isSmartRef__":true,"id":453},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":454},"owner":{"__isSmartRef__":true,"id":444},"__SourceModuleName__":"Global.lively.morphic.Core","isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Morph"},"446":{"_Position":{"__isSmartRef__":true,"id":447},"renderContextTable":{"__isSmartRef__":true,"id":448},"_Extent":{"__isSmartRef__":true,"id":449},"_Padding":{"__isSmartRef__":true,"id":450},"_NodeClass":["morph"],"_NodeId":"morph-317b28f2-41f6-4aa2-942c-0c149bd7b782","_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":451},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"447":{"x":-6.300000000000001,"y":-6.300000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"448":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"449":{"x":12.600000000000001,"y":12.600000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"450":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"451":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"452":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"453":{"morph":{"__isSmartRef__":true,"id":445},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"454":{"x":32.5,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"455":{"_Position":{"__isSmartRef__":true,"id":456},"renderContextTable":{"__isSmartRef__":true,"id":457},"_Extent":{"__isSmartRef__":true,"id":458},"_Padding":{"__isSmartRef__":true,"id":459},"_NodeClass":["morph","box"],"_NodeId":"morph-185f9427-ab31-4368-ab64-936da87d4ba0","_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":460},"_Fill":{"__isSmartRef__":true,"id":461},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"456":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"457":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"458":{"x":65,"y":63.00000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"459":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"460":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"461":{"stops":[{"__isSmartRef__":true,"id":462},{"__isSmartRef__":true,"id":464},{"__isSmartRef__":true,"id":466}],"vector":{"__isSmartRef__":true,"id":467},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"462":{"offset":0,"color":{"__isSmartRef__":true,"id":463}},"463":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"464":{"offset":0.4,"color":{"__isSmartRef__":true,"id":465}},"465":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"466":{"offset":1,"color":{"__isSmartRef__":true,"id":463}},"467":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"468":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"469":{"morph":{"__isSmartRef__":true,"id":444},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"470":{"x":-32.5,"y":-153.27768564877238,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"471":{"x":-32.5,"y":-183,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"472":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":473},{"__isSmartRef__":true,"id":474},{"__isSmartRef__":true,"id":475},{"__isSmartRef__":true,"id":476},{"__isSmartRef__":true,"id":477},{"__isSmartRef__":true,"id":478},{"__isSmartRef__":true,"id":479},{"__isSmartRef__":true,"id":480},{"__isSmartRef__":true,"id":481}],"renderContextTable":{"__isSmartRef__":true,"id":482},"_Position":{"__isSmartRef__":true,"id":483},"_Extent":{"__isSmartRef__":true,"id":484},"_Padding":{"__isSmartRef__":true,"id":485},"_BorderWidth":4,"_BorderColor":{"__isSmartRef__":true,"id":486},"_NodeClass":["morph","path"],"_NodeId":"morph-86d74d08-8d40-4005-92d8-0f738f821c85","_Fill":{"__isSmartRef__":true,"id":487},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"473":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"474":{"isAbsolute":true,"x":31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"475":{"isAbsolute":true,"x":31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"476":{"isAbsolute":true,"x":-31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"477":{"isAbsolute":true,"x":-31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"478":{"isAbsolute":true,"x":-31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"479":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"480":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"481":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"483":{"x":-34.5,"y":-195.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"484":{"x":68,"y":107.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"485":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"486":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"487":{"r":0.2249999999999739,"g":0.2249999999999739,"b":0.8449999999999949,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"488":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"489":{"morph":{"__isSmartRef__":true,"id":418},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"490":{"x":225,"y":225,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"491":{"morph":{"__isSmartRef__":true,"id":418},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"492":{"morph":{"__isSmartRef__":true,"id":418},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"493":{"morph":{"__isSmartRef__":true,"id":418},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"494":{"morph":{"__isSmartRef__":true,"id":418},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"495":{"morph":{"__isSmartRef__":true,"id":418},"index":4,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"496":{"morph":{"__isSmartRef__":true,"id":418},"index":5,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"497":{"morph":{"__isSmartRef__":true,"id":418},"index":6,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"498":{"morph":{"__isSmartRef__":true,"id":418},"index":7,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"499":{"morph":{"__isSmartRef__":true,"id":418},"index":8,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"500":{"submorphs":[{"__isSmartRef__":true,"id":501},{"__isSmartRef__":true,"id":538}],"scripts":[],"shape":{"__isSmartRef__":true,"id":566},"derivationIds":[null,"86D74D08-8D40-4005-92D8-0F738F821C85"],"id":"F499E228-7467-4D7B-A20A-41C7B95071F6","renderContextTable":{"__isSmartRef__":true,"id":582},"eventHandler":{"__isSmartRef__":true,"id":583},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":584},"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","name":"Path4","owner":{"__isSmartRef__":true,"id":163},"angle":5.026548245743669,"piston":{"__isSmartRef__":true,"id":538},"wristPin":{"__isSmartRef__":true,"id":539},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":5.026548245743669,"__LivelyClassName__":"lively.morphic.Path"},"501":{"submorphs":[{"__isSmartRef__":true,"id":502},{"__isSmartRef__":true,"id":512}],"scripts":[],"shape":{"__isSmartRef__":true,"id":528},"derivationIds":[null],"id":"0D5C9CA8-819F-43CC-B727-A7DC13603B82","renderContextTable":{"__isSmartRef__":true,"id":536},"eventHandler":{"__isSmartRef__":true,"id":537},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":500},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"502":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":503},"derivationIds":[null],"id":"66D4DEBF-C109-445B-B2F4-1AA22E04A202","renderContextTable":{"__isSmartRef__":true,"id":510},"eventHandler":{"__isSmartRef__":true,"id":511},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":501},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"503":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":504},{"__isSmartRef__":true,"id":505}],"renderContextTable":{"__isSmartRef__":true,"id":506},"_Position":{"__isSmartRef__":true,"id":507},"_Extent":{"__isSmartRef__":true,"id":508},"_Padding":{"__isSmartRef__":true,"id":509},"_BorderWidth":3.1500000000000004,"_BorderColor":{"__isSmartRef__":true,"id":207},"_NodeClass":["morph","path"],"_NodeId":"morph-66d4debf-c109-445b-b2f4-1aa22e04a202","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"504":{"isAbsolute":true,"x":-14.300700741800359,"y":28.066705511931243,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"505":{"isAbsolute":true,"x":-7.105427357601002e-15,"y":-88.78329448806869,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"506":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"507":{"x":-16.30070074180036,"y":-90.78329448806869,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"508":{"x":17.300700741800352,"y":119.84999999999994,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"509":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"510":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"511":{"morph":{"__isSmartRef__":true,"id":502},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"512":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":513},"derivationIds":[null,"0D55FE2C-D0E8-4A1C-A059-983F0BA78DE9","B25ED6E0-EA04-4E69-9EC8-37B25D3BF613"],"id":"9CF316D9-C8D4-455F-8422-C071BA7AFC2C","renderContextTable":{"__isSmartRef__":true,"id":525},"eventHandler":{"__isSmartRef__":true,"id":526},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":527},"__SourceModuleName__":"Global.lively.morphic.Core","name":"Morph","owner":{"__isSmartRef__":true,"id":501},"_ClipMode":"visible","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLockOwner":false,"_Rotation":-1.4810365366923255,"_Scale":0.9102399514140722,"__LivelyClassName__":"lively.morphic.Morph"},"513":{"_Position":{"__isSmartRef__":true,"id":514},"renderContextTable":{"__isSmartRef__":true,"id":515},"_Extent":{"__isSmartRef__":true,"id":516},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":517},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":518},"_Fill":{"__isSmartRef__":true,"id":519},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"514":{"x":-15.750000000000002,"y":-15.750000000000002,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"515":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"516":{"x":31.500000000000004,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"517":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"518":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"519":{"stops":[{"__isSmartRef__":true,"id":520},{"__isSmartRef__":true,"id":522}],"focus":{"__isSmartRef__":true,"id":524},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.RadialGradient"},"520":{"offset":0,"color":{"__isSmartRef__":true,"id":521}},"521":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"522":{"offset":1,"color":{"__isSmartRef__":true,"id":523}},"523":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"524":{"x":0.5,"y":0.5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"525":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"526":{"morph":{"__isSmartRef__":true,"id":512},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"527":{"x":-14.300700741800359,"y":28.066705511931243,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"528":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":529},{"__isSmartRef__":true,"id":530}],"renderContextTable":{"__isSmartRef__":true,"id":531},"_Position":{"__isSmartRef__":true,"id":532},"_Extent":{"__isSmartRef__":true,"id":533},"_Padding":{"__isSmartRef__":true,"id":534},"_BorderWidth":9.450000000000001,"_BorderColor":{"__isSmartRef__":true,"id":535},"_NodeClass":["morph","path"],"_NodeId":"morph-0d5c9ca8-819f-43cc-b727-a7dc13603b82","_Fill":null,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"529":{"isAbsolute":true,"x":-14.300700741800359,"y":28.066705511931243,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"530":{"isAbsolute":true,"x":-7.105427357601002e-15,"y":-88.78329448806869,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"531":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"532":{"x":-19.30070074180036,"y":-93.78329448806869,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"533":{"x":23.300700741800352,"y":125.84999999999994,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"534":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"535":{"r":0.2,"g":0.2,"b":0.2,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"536":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"537":{"morph":{"__isSmartRef__":true,"id":501},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"538":{"submorphs":[{"__isSmartRef__":true,"id":539}],"scripts":[],"shape":{"__isSmartRef__":true,"id":549},"derivationIds":[null,"185F9427-AB31-4368-AB64-936DA87D4BA0"],"id":"B7FB34C2-AC88-44A6-BB37-D203F1838527","renderContextTable":{"__isSmartRef__":true,"id":562},"eventHandler":{"__isSmartRef__":true,"id":563},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":564},"owner":{"__isSmartRef__":true,"id":500},"__SourceModuleName__":"Global.lively.morphic.Core","topPos":{"__isSmartRef__":true,"id":565},"isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Rotation":0,"_Scale":0.9999999999999999,"__LivelyClassName__":"lively.morphic.Box"},"539":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":540},"derivationIds":[null,"317B28F2-41F6-4AA2-942C-0C149BD7B782"],"id":"235C0665-433A-464B-BF7C-66E582ABE27F","renderContextTable":{"__isSmartRef__":true,"id":546},"eventHandler":{"__isSmartRef__":true,"id":547},"_ClipMode":"visible","__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":548},"owner":{"__isSmartRef__":true,"id":538},"__SourceModuleName__":"Global.lively.morphic.Core","isLockOwner":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Morph"},"540":{"_Position":{"__isSmartRef__":true,"id":541},"renderContextTable":{"__isSmartRef__":true,"id":542},"_Extent":{"__isSmartRef__":true,"id":543},"_Padding":{"__isSmartRef__":true,"id":544},"_NodeClass":["morph"],"_NodeId":"morph-317b28f2-41f6-4aa2-942c-0c149bd7b782","_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":545},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"541":{"x":-6.300000000000001,"y":-6.300000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"542":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"543":{"x":12.600000000000001,"y":12.600000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"544":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"545":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"546":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"547":{"morph":{"__isSmartRef__":true,"id":539},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"548":{"x":32.5,"y":31.500000000000004,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"549":{"_Position":{"__isSmartRef__":true,"id":550},"renderContextTable":{"__isSmartRef__":true,"id":551},"_Extent":{"__isSmartRef__":true,"id":552},"_Padding":{"__isSmartRef__":true,"id":553},"_NodeClass":["morph","box"],"_NodeId":"morph-185f9427-ab31-4368-ab64-936da87d4ba0","_BorderWidth":2,"_BorderColor":{"__isSmartRef__":true,"id":554},"_Fill":{"__isSmartRef__":true,"id":555},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"550":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"551":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"552":{"x":65,"y":63.00000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"553":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"554":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"555":{"stops":[{"__isSmartRef__":true,"id":556},{"__isSmartRef__":true,"id":558},{"__isSmartRef__":true,"id":560}],"vector":{"__isSmartRef__":true,"id":561},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"556":{"offset":0,"color":{"__isSmartRef__":true,"id":557}},"557":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"558":{"offset":0.4,"color":{"__isSmartRef__":true,"id":559}},"559":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"560":{"offset":1,"color":{"__isSmartRef__":true,"id":557}},"561":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"562":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"563":{"morph":{"__isSmartRef__":true,"id":538},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"564":{"x":-32.5,"y":-120.28329448806875,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"565":{"x":-32.5,"y":-183,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"566":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":567},{"__isSmartRef__":true,"id":568},{"__isSmartRef__":true,"id":569},{"__isSmartRef__":true,"id":570},{"__isSmartRef__":true,"id":571},{"__isSmartRef__":true,"id":572},{"__isSmartRef__":true,"id":573},{"__isSmartRef__":true,"id":574},{"__isSmartRef__":true,"id":575}],"renderContextTable":{"__isSmartRef__":true,"id":576},"_Position":{"__isSmartRef__":true,"id":577},"_Extent":{"__isSmartRef__":true,"id":578},"_Padding":{"__isSmartRef__":true,"id":579},"_BorderWidth":4,"_BorderColor":{"__isSmartRef__":true,"id":580},"_NodeClass":["morph","path"],"_NodeId":"morph-86d74d08-8d40-4005-92d8-0f738f821c85","_Fill":{"__isSmartRef__":true,"id":581},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"567":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"568":{"isAbsolute":true,"x":31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"569":{"isAbsolute":true,"x":31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"570":{"isAbsolute":true,"x":-31.5,"y":-117,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"571":{"isAbsolute":true,"x":-31.5,"y":-90,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"572":{"isAbsolute":true,"x":-31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"573":{"isAbsolute":true,"x":-18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"574":{"isAbsolute":true,"x":18.900000000000006,"y":-192.6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"575":{"isAbsolute":true,"x":31.5,"y":-180,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"576":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"577":{"x":-34.5,"y":-195.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"578":{"x":68,"y":107.6,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"579":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"580":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"581":{"r":0.42499999999997384,"g":0.42499999999997384,"b":0.8849999999999948,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"582":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"583":{"morph":{"__isSmartRef__":true,"id":500},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"584":{"x":225,"y":225,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"585":{"submorphs":[{"__isSmartRef__":true,"id":586}],"scripts":[],"shape":{"__isSmartRef__":true,"id":598},"derivationIds":[null],"id":"C3292E38-6CBB-4DD6-8FCD-4B59B9C92108","renderContextTable":{"__isSmartRef__":true,"id":614},"eventHandler":{"__isSmartRef__":true,"id":615},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":616},"priorExtent":{"__isSmartRef__":true,"id":617},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":604},"lighterFill":{"__isSmartRef__":true,"id":618},"label":{"__isSmartRef__":true,"id":586},"owner":{"__isSmartRef__":true,"id":163},"menuItems":[["1",{"__isSmartRef__":true,"id":163},"makeCylinders",1],["2",{"__isSmartRef__":true,"id":163},"makeCylinders",2],["3",{"__isSmartRef__":true,"id":163},"makeCylinders",3],["4",{"__isSmartRef__":true,"id":163},"makeCylinders",4],["5",{"__isSmartRef__":true,"id":163},"makeCylinders",5],["6",{"__isSmartRef__":true,"id":163},"makeCylinders",6],["7",{"__isSmartRef__":true,"id":163},"makeCylinders",7],["8",{"__isSmartRef__":true,"id":163},"makeCylinders",8],["9",{"__isSmartRef__":true,"id":163},"makeCylinders",9]],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":627},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"586":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":587},"derivationIds":[null],"id":"C09FC7F7-2547-47A9-AAD9-951E96B313D5","renderContextTable":{"__isSmartRef__":true,"id":593},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":594}],"eventHandler":{"__isSmartRef__":true,"id":596},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":585},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":592},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":597},"_MaxTextWidth":140,"_MinTextWidth":140,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"587":{"_Position":{"__isSmartRef__":true,"id":588},"renderContextTable":{"__isSmartRef__":true,"id":589},"_Extent":{"__isSmartRef__":true,"id":590},"_Padding":{"__isSmartRef__":true,"id":591},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-c09fc7f7-2547-47a9-aad9-951e96b313d5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"588":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"589":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"590":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"591":{"x":0,"y":3,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"592":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"593":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"594":{"style":{"__isSmartRef__":true,"id":595},"chunkOwner":{"__isSmartRef__":true,"id":586},"storedString":"5 cylinders","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"595":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"596":{"morph":{"__isSmartRef__":true,"id":586},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"597":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"598":{"_Position":{"__isSmartRef__":true,"id":599},"renderContextTable":{"__isSmartRef__":true,"id":600},"_Extent":{"__isSmartRef__":true,"id":601},"_Padding":{"__isSmartRef__":true,"id":602},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":603},"_Fill":{"__isSmartRef__":true,"id":604},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-c3292e38-6cbb-4dd6-8fcd-4b59b9c92108","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"599":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"600":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"601":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"602":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"603":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"604":{"stops":[{"__isSmartRef__":true,"id":605},{"__isSmartRef__":true,"id":607},{"__isSmartRef__":true,"id":609},{"__isSmartRef__":true,"id":611}],"vector":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"605":{"offset":0,"color":{"__isSmartRef__":true,"id":606}},"606":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"607":{"offset":0.4,"color":{"__isSmartRef__":true,"id":608}},"608":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"609":{"offset":0.6,"color":{"__isSmartRef__":true,"id":610}},"610":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"611":{"offset":1,"color":{"__isSmartRef__":true,"id":612}},"612":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"613":{"x":0,"y":0,"width":0,"height":1,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"614":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"615":{"morph":{"__isSmartRef__":true,"id":585},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"616":{"x":50,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"617":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"618":{"stops":[{"__isSmartRef__":true,"id":619},{"__isSmartRef__":true,"id":621},{"__isSmartRef__":true,"id":623},{"__isSmartRef__":true,"id":625}],"vector":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"619":{"offset":0,"color":{"__isSmartRef__":true,"id":620}},"620":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"621":{"offset":0.4,"color":{"__isSmartRef__":true,"id":622}},"622":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"623":{"offset":0.6,"color":{"__isSmartRef__":true,"id":624}},"624":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"625":{"offset":1,"color":{"__isSmartRef__":true,"id":626}},"626":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"627":{"onMouseUp":{"__isSmartRef__":true,"id":628}},"628":{"varMapping":{"__isSmartRef__":true,"id":629},"source":"function onMouseUp(evt) {\n lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders', this.menuItems); }","funcProperties":{"__isSmartRef__":true,"id":634},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"629":{"this":{"__isSmartRef__":true,"id":585},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":630}},"630":{"$super":{"__isSmartRef__":true,"id":631}},"631":{"varMapping":{"__isSmartRef__":true,"id":632},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":633},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"632":{"obj":{"__isSmartRef__":true,"id":585},"name":"onMouseUp"},"633":{},"634":{},"635":{"submorphs":[{"__isSmartRef__":true,"id":636}],"scripts":[],"shape":{"__isSmartRef__":true,"id":646},"derivationIds":[null],"id":"20623393-F893-45B3-B443-06222D869F25","renderContextTable":{"__isSmartRef__":true,"id":651},"eventHandler":{"__isSmartRef__":true,"id":652},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":653},"priorExtent":{"__isSmartRef__":true,"id":654},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":604},"lighterFill":{"__isSmartRef__":true,"id":655},"label":{"__isSmartRef__":true,"id":636},"owner":{"__isSmartRef__":true,"id":163},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":664},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"636":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":637},"derivationIds":[null],"id":"7615B613-D06E-45BC-B23F-65988868D1B5","renderContextTable":{"__isSmartRef__":true,"id":641},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":642}],"eventHandler":{"__isSmartRef__":true,"id":644},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":635},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":592},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":645},"_MaxTextWidth":140,"_MinTextWidth":140,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"637":{"_Position":{"__isSmartRef__":true,"id":638},"renderContextTable":{"__isSmartRef__":true,"id":639},"_Extent":{"__isSmartRef__":true,"id":640},"_Padding":{"__isSmartRef__":true,"id":591},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-7615b613-d06e-45bc-b23f-65988868d1b5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"638":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"639":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"640":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"641":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"642":{"style":{"__isSmartRef__":true,"id":643},"chunkOwner":{"__isSmartRef__":true,"id":636},"storedString":"sequential ignition","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"643":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"644":{"morph":{"__isSmartRef__":true,"id":636},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"645":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"646":{"_Position":{"__isSmartRef__":true,"id":647},"renderContextTable":{"__isSmartRef__":true,"id":648},"_Extent":{"__isSmartRef__":true,"id":649},"_Padding":{"__isSmartRef__":true,"id":650},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":603},"_Fill":{"__isSmartRef__":true,"id":604},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-20623393-f893-45b3-b443-06222d869f25","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"647":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"648":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"649":{"x":140,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"650":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"651":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"652":{"morph":{"__isSmartRef__":true,"id":635},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"653":{"x":50,"y":490,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"654":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"655":{"stops":[{"__isSmartRef__":true,"id":656},{"__isSmartRef__":true,"id":658},{"__isSmartRef__":true,"id":660},{"__isSmartRef__":true,"id":662}],"vector":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"656":{"offset":0,"color":{"__isSmartRef__":true,"id":657}},"657":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"658":{"offset":0.4,"color":{"__isSmartRef__":true,"id":659}},"659":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"660":{"offset":0.6,"color":{"__isSmartRef__":true,"id":661}},"661":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"662":{"offset":1,"color":{"__isSmartRef__":true,"id":663}},"663":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"664":{"onMouseUp":{"__isSmartRef__":true,"id":665}},"665":{"varMapping":{"__isSmartRef__":true,"id":666},"source":"function onMouseUp(evt) { \n this.owner.setAlternateTiming(!this.owner.alternate); }","funcProperties":{"__isSmartRef__":true,"id":671},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"666":{"this":{"__isSmartRef__":true,"id":635},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":667}},"667":{"$super":{"__isSmartRef__":true,"id":668}},"668":{"varMapping":{"__isSmartRef__":true,"id":669},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"669":{"obj":{"__isSmartRef__":true,"id":635},"name":"onMouseUp"},"670":{},"671":{},"672":{"submorphs":[{"__isSmartRef__":true,"id":673}],"scripts":[],"shape":{"__isSmartRef__":true,"id":683},"derivationIds":[null],"id":"A0DEF4BD-3A11-4E08-8B64-1718BA2B703A","renderContextTable":{"__isSmartRef__":true,"id":688},"eventHandler":{"__isSmartRef__":true,"id":689},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":690},"priorExtent":{"__isSmartRef__":true,"id":691},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":604},"lighterFill":{"__isSmartRef__":true,"id":692},"label":{"__isSmartRef__":true,"id":673},"owner":{"__isSmartRef__":true,"id":163},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":701},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"673":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":674},"derivationIds":[null],"id":"7396FF25-C7DC-4CA8-AE60-6540A2728B7B","renderContextTable":{"__isSmartRef__":true,"id":678},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":679}],"eventHandler":{"__isSmartRef__":true,"id":681},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":672},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":592},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":682},"_MaxTextWidth":70,"_MinTextWidth":70,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"674":{"_Position":{"__isSmartRef__":true,"id":675},"renderContextTable":{"__isSmartRef__":true,"id":676},"_Extent":{"__isSmartRef__":true,"id":677},"_Padding":{"__isSmartRef__":true,"id":591},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-7396ff25-c7dc-4ca8-ae60-6540a2728b7b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"675":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"676":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"677":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"678":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"679":{"style":{"__isSmartRef__":true,"id":680},"chunkOwner":{"__isSmartRef__":true,"id":673},"storedString":"running","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"680":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"681":{"morph":{"__isSmartRef__":true,"id":673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"682":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"683":{"_Position":{"__isSmartRef__":true,"id":684},"renderContextTable":{"__isSmartRef__":true,"id":685},"_Extent":{"__isSmartRef__":true,"id":686},"_Padding":{"__isSmartRef__":true,"id":687},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":603},"_Fill":{"__isSmartRef__":true,"id":604},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-a0def4bd-3a11-4e08-8b64-1718ba2b703a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"684":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"685":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"686":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"687":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"688":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"689":{"morph":{"__isSmartRef__":true,"id":672},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"690":{"x":320,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"691":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"692":{"stops":[{"__isSmartRef__":true,"id":693},{"__isSmartRef__":true,"id":695},{"__isSmartRef__":true,"id":697},{"__isSmartRef__":true,"id":699}],"vector":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"693":{"offset":0,"color":{"__isSmartRef__":true,"id":694}},"694":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"695":{"offset":0.4,"color":{"__isSmartRef__":true,"id":696}},"696":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"697":{"offset":0.6,"color":{"__isSmartRef__":true,"id":698}},"698":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"699":{"offset":1,"color":{"__isSmartRef__":true,"id":700}},"700":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"701":{"onMouseUp":{"__isSmartRef__":true,"id":702}},"702":{"varMapping":{"__isSmartRef__":true,"id":703},"source":"function onMouseUp(evt) {\n this.owner.setRunning(!this.owner.running); }","funcProperties":{"__isSmartRef__":true,"id":708},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"703":{"this":{"__isSmartRef__":true,"id":672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":704}},"704":{"$super":{"__isSmartRef__":true,"id":705}},"705":{"varMapping":{"__isSmartRef__":true,"id":706},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":707},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"706":{"obj":{"__isSmartRef__":true,"id":672},"name":"onMouseUp"},"707":{},"708":{},"709":{"submorphs":[{"__isSmartRef__":true,"id":710}],"scripts":[],"shape":{"__isSmartRef__":true,"id":720},"derivationIds":[null],"id":"7429EC54-E2C2-4FC4-A438-DD17A7F6D50B","renderContextTable":{"__isSmartRef__":true,"id":725},"eventHandler":{"__isSmartRef__":true,"id":726},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":727},"priorExtent":{"__isSmartRef__":true,"id":728},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":604},"lighterFill":{"__isSmartRef__":true,"id":729},"label":{"__isSmartRef__":true,"id":710},"owner":{"__isSmartRef__":true,"id":163},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":738},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"710":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":711},"derivationIds":[null],"id":"E2C7585D-9F03-4F28-A1F8-FD79821A9016","renderContextTable":{"__isSmartRef__":true,"id":715},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":716}],"eventHandler":{"__isSmartRef__":true,"id":718},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":709},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":592},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":719},"_MaxTextWidth":70,"_MinTextWidth":70,"_MaxTextHeight":null,"_MinTextHeight":null,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"711":{"_Position":{"__isSmartRef__":true,"id":712},"renderContextTable":{"__isSmartRef__":true,"id":713},"_Extent":{"__isSmartRef__":true,"id":714},"_Padding":{"__isSmartRef__":true,"id":591},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-e2c7585d-9f03-4f28-a1f8-fd79821a9016","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"712":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"713":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"714":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"715":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"716":{"style":{"__isSmartRef__":true,"id":717},"chunkOwner":{"__isSmartRef__":true,"id":710},"storedString":"slow","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"717":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"718":{"morph":{"__isSmartRef__":true,"id":710},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"719":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"720":{"_Position":{"__isSmartRef__":true,"id":721},"renderContextTable":{"__isSmartRef__":true,"id":722},"_Extent":{"__isSmartRef__":true,"id":723},"_Padding":{"__isSmartRef__":true,"id":724},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":603},"_Fill":{"__isSmartRef__":true,"id":604},"_BorderRadius":5,"_NodeClass":["morph","button"],"_NodeId":"morph-7429ec54-e2c2-4fc4-a438-dd17a7f6d50b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"721":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"722":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"723":{"x":70,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"724":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"725":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"726":{"morph":{"__isSmartRef__":true,"id":709},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"727":{"x":320,"y":490,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"728":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"729":{"stops":[{"__isSmartRef__":true,"id":730},{"__isSmartRef__":true,"id":732},{"__isSmartRef__":true,"id":734},{"__isSmartRef__":true,"id":736}],"vector":{"__isSmartRef__":true,"id":613},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"730":{"offset":0,"color":{"__isSmartRef__":true,"id":731}},"731":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"732":{"offset":0.4,"color":{"__isSmartRef__":true,"id":733}},"733":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"734":{"offset":0.6,"color":{"__isSmartRef__":true,"id":735}},"735":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"736":{"offset":1,"color":{"__isSmartRef__":true,"id":737}},"737":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"738":{"onMouseUp":{"__isSmartRef__":true,"id":739}},"739":{"varMapping":{"__isSmartRef__":true,"id":740},"source":"function onMouseUp(evt) {\n var isSlow = this.owner.stepTime != 1;\n this.owner.setStepTime(isSlow ? 1 : this.owner.normalSpeed);\n this.setLabel(isSlow ? 'fast' : 'slow'); }","funcProperties":{"__isSmartRef__":true,"id":745},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"740":{"this":{"__isSmartRef__":true,"id":709},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":741}},"741":{"$super":{"__isSmartRef__":true,"id":742}},"742":{"varMapping":{"__isSmartRef__":true,"id":743},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":744},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"743":{"obj":{"__isSmartRef__":true,"id":709},"name":"onMouseUp"},"744":{},"745":{},"746":{"position":{"__isSmartRef__":true,"id":747},"_Extent":{"__isSmartRef__":true,"id":748},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":518},"_Fill":{"__isSmartRef__":true,"id":749},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":750},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":751},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"747":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"748":{"x":581,"y":729.4777777777775,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"749":{"r":0,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"750":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"751":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"752":{"x":1,"y":0.04206308410510928,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"753":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":2,"partName":"LivelyEngine","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"754":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"755":{"morph":{"__isSmartRef__":true,"id":163},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"756":{"x":573,"y":719.433333333333,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"757":{"fill":{"__isSmartRef__":true,"id":758},"borderColor":{"__isSmartRef__":true,"id":518},"borderWidth":2},"758":{"stops":[{"__isSmartRef__":true,"id":759},{"__isSmartRef__":true,"id":760},{"__isSmartRef__":true,"id":762}],"vector":{"__isSmartRef__":true,"id":763},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"759":{"offset":0,"color":{"__isSmartRef__":true,"id":521}},"760":{"offset":0.4,"color":{"__isSmartRef__":true,"id":761}},"761":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"762":{"offset":1,"color":{"__isSmartRef__":true,"id":521}},"763":{"x":0,"y":0,"width":1,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"764":{"fill":{"__isSmartRef__":true,"id":519},"borderColor":{"__isSmartRef__":true,"id":518},"borderWidth":1},"765":{"x":2,"y":12.600000000000001,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"766":{"resizeWidth":true,"resizeHeight":true},"767":{"submorphs":[{"__isSmartRef__":true,"id":768},{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":840},{"__isSmartRef__":true,"id":866}],"scripts":[],"shape":{"__isSmartRef__":true,"id":892},"derivationIds":[null],"id":"79B2D4E9-6AAE-4F4C-BDF3-BC43419D6FB5","renderContextTable":{"__isSmartRef__":true,"id":899},"eventHandler":{"__isSmartRef__":true,"id":900},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":901},"items":[{"__isSmartRef__":true,"id":902},{"__isSmartRef__":true,"id":903},{"__isSmartRef__":true,"id":904},{"__isSmartRef__":true,"id":905}],"itemMorphs":[{"__isSmartRef__":true,"id":788},{"__isSmartRef__":true,"id":814},{"__isSmartRef__":true,"id":840},{"__isSmartRef__":true,"id":866}],"title":{"__isSmartRef__":true,"id":768},"priorExtent":{"__isSmartRef__":true,"id":906},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__SourceModuleName__":"Global.lively.morphic.Widgets","showsHalos":false,"__LivelyClassName__":"lively.morphic.Menu"},"768":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":769},"derivationIds":[null],"id":"9AA53E95-0838-4671-A1A2-E32B7F326608","renderContextTable":{"__isSmartRef__":true,"id":781},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":782}],"eventHandler":{"__isSmartRef__":true,"id":784},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":785},"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":786},"owner":{"__isSmartRef__":true,"id":767},"priorExtent":{"__isSmartRef__":true,"id":787},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"__LivelyClassName__":"lively.morphic.Text"},"769":{"_Position":{"__isSmartRef__":true,"id":770},"renderContextTable":{"__isSmartRef__":true,"id":771},"_Extent":{"__isSmartRef__":true,"id":772},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":773},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":774},"_Fill":{"__isSmartRef__":true,"id":775},"_BorderRadius":4,"_BorderStyle":"outset","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"770":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"771":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"772":{"x":108,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"773":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"774":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"775":{"stops":[{"__isSmartRef__":true,"id":776},{"__isSmartRef__":true,"id":778}],"vector":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"776":{"offset":0,"color":{"__isSmartRef__":true,"id":777}},"777":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"778":{"offset":1,"color":{"__isSmartRef__":true,"id":779}},"779":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"780":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"781":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"782":{"style":{"__isSmartRef__":true,"id":783},"chunkOwner":{"__isSmartRef__":true,"id":768},"storedString":"Operating State","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"783":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"784":{"morph":{"__isSmartRef__":true,"id":768},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"785":{"r":0.129,"g":0.129,"b":0.129,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"786":{"x":0,"y":-25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"787":{"x":130,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"788":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":789},"derivationIds":[null],"id":"CCDF4AFA-499D-4D21-BFB8-4028FE50A7E2","renderContextTable":{"__isSmartRef__":true,"id":794},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":795}],"eventHandler":{"__isSmartRef__":true,"id":797},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":767},"priorExtent":{"__isSmartRef__":true,"id":798},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","showsHalos":false,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":799},"__LivelyClassName__":"lively.morphic.Text"},"789":{"_Position":{"__isSmartRef__":true,"id":790},"renderContextTable":{"__isSmartRef__":true,"id":791},"_Extent":{"__isSmartRef__":true,"id":792},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":793},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"790":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"791":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"792":{"x":118,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"793":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"795":{"style":{"__isSmartRef__":true,"id":796},"chunkOwner":{"__isSmartRef__":true,"id":788},"storedString":"stop","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"796":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"797":{"morph":{"__isSmartRef__":true,"id":788},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"798":{"x":112,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"799":{"onMouseWheel":{"__isSmartRef__":true,"id":800},"onSelectStart":{"__isSmartRef__":true,"id":807}},"800":{"varMapping":{"__isSmartRef__":true,"id":801},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":806},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"801":{"this":{"__isSmartRef__":true,"id":788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":802}},"802":{"$super":{"__isSmartRef__":true,"id":803}},"803":{"varMapping":{"__isSmartRef__":true,"id":804},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":805},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"804":{"obj":{"__isSmartRef__":true,"id":788},"name":"onMouseWheel"},"805":{},"806":{},"807":{"varMapping":{"__isSmartRef__":true,"id":808},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":813},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"808":{"this":{"__isSmartRef__":true,"id":788},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":809}},"809":{"$super":{"__isSmartRef__":true,"id":810}},"810":{"varMapping":{"__isSmartRef__":true,"id":811},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":812},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"811":{"obj":{"__isSmartRef__":true,"id":788},"name":"onSelectStart"},"812":{},"813":{},"814":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":815},"derivationIds":[null],"id":"77AAE561-EF6B-4188-A2C4-8C48D9C840B9","renderContextTable":{"__isSmartRef__":true,"id":820},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":821}],"eventHandler":{"__isSmartRef__":true,"id":823},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":767},"priorExtent":{"__isSmartRef__":true,"id":824},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":825},"__LivelyClassName__":"lively.morphic.Text"},"815":{"_Position":{"__isSmartRef__":true,"id":816},"renderContextTable":{"__isSmartRef__":true,"id":817},"_Extent":{"__isSmartRef__":true,"id":818},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":819},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"816":{"x":0,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"817":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"818":{"x":118,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"819":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"820":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"821":{"style":{"__isSmartRef__":true,"id":822},"chunkOwner":{"__isSmartRef__":true,"id":814},"storedString":"step","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"822":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"823":{"morph":{"__isSmartRef__":true,"id":814},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"824":{"x":112,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"825":{"onMouseWheel":{"__isSmartRef__":true,"id":826},"onSelectStart":{"__isSmartRef__":true,"id":833}},"826":{"varMapping":{"__isSmartRef__":true,"id":827},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":832},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"827":{"this":{"__isSmartRef__":true,"id":814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":828}},"828":{"$super":{"__isSmartRef__":true,"id":829}},"829":{"varMapping":{"__isSmartRef__":true,"id":830},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":831},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"830":{"obj":{"__isSmartRef__":true,"id":814},"name":"onMouseWheel"},"831":{},"832":{},"833":{"varMapping":{"__isSmartRef__":true,"id":834},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":839},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"834":{"this":{"__isSmartRef__":true,"id":814},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":835}},"835":{"$super":{"__isSmartRef__":true,"id":836}},"836":{"varMapping":{"__isSmartRef__":true,"id":837},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":838},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"837":{"obj":{"__isSmartRef__":true,"id":814},"name":"onSelectStart"},"838":{},"839":{},"840":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":841},"derivationIds":[null],"id":"1A85BFFA-65BC-40F8-B261-982B6F85B08B","renderContextTable":{"__isSmartRef__":true,"id":846},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":847}],"eventHandler":{"__isSmartRef__":true,"id":849},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":767},"priorExtent":{"__isSmartRef__":true,"id":850},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":851},"__LivelyClassName__":"lively.morphic.Text"},"841":{"_Position":{"__isSmartRef__":true,"id":842},"renderContextTable":{"__isSmartRef__":true,"id":843},"_Extent":{"__isSmartRef__":true,"id":844},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":845},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"842":{"x":0,"y":46,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"843":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"844":{"x":118,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"845":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"846":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"847":{"style":{"__isSmartRef__":true,"id":848},"chunkOwner":{"__isSmartRef__":true,"id":840},"storedString":"rebuild","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"848":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"849":{"morph":{"__isSmartRef__":true,"id":840},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"850":{"x":112,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"851":{"onMouseWheel":{"__isSmartRef__":true,"id":852},"onSelectStart":{"__isSmartRef__":true,"id":859}},"852":{"varMapping":{"__isSmartRef__":true,"id":853},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":858},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"853":{"this":{"__isSmartRef__":true,"id":840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":854}},"854":{"$super":{"__isSmartRef__":true,"id":855}},"855":{"varMapping":{"__isSmartRef__":true,"id":856},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":857},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"856":{"obj":{"__isSmartRef__":true,"id":840},"name":"onMouseWheel"},"857":{},"858":{},"859":{"varMapping":{"__isSmartRef__":true,"id":860},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":865},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"860":{"this":{"__isSmartRef__":true,"id":840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":861}},"861":{"$super":{"__isSmartRef__":true,"id":862}},"862":{"varMapping":{"__isSmartRef__":true,"id":863},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":864},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"863":{"obj":{"__isSmartRef__":true,"id":840},"name":"onSelectStart"},"864":{},"865":{},"866":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":867},"derivationIds":[null],"id":"08D5A969-A0A2-4A54-85E1-AF4916EEB809","renderContextTable":{"__isSmartRef__":true,"id":872},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":873}],"eventHandler":{"__isSmartRef__":true,"id":875},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":767},"priorExtent":{"__isSmartRef__":true,"id":876},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":877},"__LivelyClassName__":"lively.morphic.Text"},"867":{"_Position":{"__isSmartRef__":true,"id":868},"renderContextTable":{"__isSmartRef__":true,"id":869},"_Extent":{"__isSmartRef__":true,"id":870},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":871},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"868":{"x":0,"y":69,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"869":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"870":{"x":118,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"871":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"872":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"873":{"style":{"__isSmartRef__":true,"id":874},"chunkOwner":{"__isSmartRef__":true,"id":866},"storedString":"fast","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"874":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"875":{"morph":{"__isSmartRef__":true,"id":866},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"876":{"x":112,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"877":{"onMouseWheel":{"__isSmartRef__":true,"id":878},"onSelectStart":{"__isSmartRef__":true,"id":885}},"878":{"varMapping":{"__isSmartRef__":true,"id":879},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":884},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"879":{"this":{"__isSmartRef__":true,"id":866},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":880}},"880":{"$super":{"__isSmartRef__":true,"id":881}},"881":{"varMapping":{"__isSmartRef__":true,"id":882},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":883},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"882":{"obj":{"__isSmartRef__":true,"id":866},"name":"onMouseWheel"},"883":{},"884":{},"885":{"varMapping":{"__isSmartRef__":true,"id":886},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":891},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"886":{"this":{"__isSmartRef__":true,"id":866},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":887}},"887":{"$super":{"__isSmartRef__":true,"id":888}},"888":{"varMapping":{"__isSmartRef__":true,"id":889},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":890},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"889":{"obj":{"__isSmartRef__":true,"id":866},"name":"onSelectStart"},"890":{},"891":{},"892":{"_Position":{"__isSmartRef__":true,"id":893},"renderContextTable":{"__isSmartRef__":true,"id":894},"_Extent":{"__isSmartRef__":true,"id":895},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":896},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":897},"_Fill":{"__isSmartRef__":true,"id":898},"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"893":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"894":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"895":{"x":106,"y":92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"896":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"897":{"r":0.9,"g":0.9,"b":0.9,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"898":{"r":0.975,"g":0.975,"b":0.975,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"899":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"900":{"morph":{"__isSmartRef__":true,"id":767},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"901":{"x":290,"y":580,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"902":{"isMenuItem":true,"isListItem":true,"string":"stop","value":"stop","idx":0},"903":{"isMenuItem":true,"isListItem":true,"string":"step","value":"step","idx":1},"904":{"isMenuItem":true,"isListItem":true,"string":"rebuild","value":"rebuild","idx":2},"905":{"isMenuItem":true,"isListItem":true,"string":"fast","value":"fast","idx":3},"906":{"x":106,"y":117,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"907":{"submorphs":[{"__isSmartRef__":true,"id":908},{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":1002},{"__isSmartRef__":true,"id":1028},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1106},{"__isSmartRef__":true,"id":1132}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1158},"derivationIds":[null],"id":"EEE0CE1F-6E26-4F90-918F-7D1EA7A01DD7","renderContextTable":{"__isSmartRef__":true,"id":1164},"eventHandler":{"__isSmartRef__":true,"id":1165},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1166},"items":[{"__isSmartRef__":true,"id":1167},{"__isSmartRef__":true,"id":1168},{"__isSmartRef__":true,"id":1169},{"__isSmartRef__":true,"id":1170},{"__isSmartRef__":true,"id":1171},{"__isSmartRef__":true,"id":1172},{"__isSmartRef__":true,"id":1173},{"__isSmartRef__":true,"id":1174},{"__isSmartRef__":true,"id":1175}],"itemMorphs":[{"__isSmartRef__":true,"id":924},{"__isSmartRef__":true,"id":950},{"__isSmartRef__":true,"id":976},{"__isSmartRef__":true,"id":1002},{"__isSmartRef__":true,"id":1028},{"__isSmartRef__":true,"id":1054},{"__isSmartRef__":true,"id":1080},{"__isSmartRef__":true,"id":1106},{"__isSmartRef__":true,"id":1132}],"title":{"__isSmartRef__":true,"id":908},"priorExtent":{"__isSmartRef__":true,"id":1176},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Menu"},"908":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":909},"derivationIds":[null],"id":"B2DDE3BD-6832-4CB9-8B83-E5B9B9394730","renderContextTable":{"__isSmartRef__":true,"id":918},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":919}],"eventHandler":{"__isSmartRef__":true,"id":921},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":785},"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":922},"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":923},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"909":{"_Position":{"__isSmartRef__":true,"id":910},"renderContextTable":{"__isSmartRef__":true,"id":911},"_Extent":{"__isSmartRef__":true,"id":912},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":913},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":914},"_Fill":{"__isSmartRef__":true,"id":915},"_BorderRadius":4,"_BorderStyle":"outset","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"910":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"911":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"912":{"x":136,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"913":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"914":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"915":{"stops":[{"__isSmartRef__":true,"id":916},{"__isSmartRef__":true,"id":917}],"vector":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"916":{"offset":0,"color":{"__isSmartRef__":true,"id":777}},"917":{"offset":1,"color":{"__isSmartRef__":true,"id":779}},"918":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"919":{"style":{"__isSmartRef__":true,"id":920},"chunkOwner":{"__isSmartRef__":true,"id":908},"storedString":"Number of cylinders","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"920":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"921":{"morph":{"__isSmartRef__":true,"id":908},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"922":{"x":0,"y":-25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"923":{"x":142,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"924":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":925},"derivationIds":[null],"id":"D1716D64-A042-4862-A9B5-553101330CD3","renderContextTable":{"__isSmartRef__":true,"id":930},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":931}],"eventHandler":{"__isSmartRef__":true,"id":933},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":934},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":935},"__LivelyClassName__":"lively.morphic.Text"},"925":{"_Position":{"__isSmartRef__":true,"id":926},"renderContextTable":{"__isSmartRef__":true,"id":927},"_Extent":{"__isSmartRef__":true,"id":928},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":929},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"926":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"927":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"928":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"929":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"930":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"931":{"style":{"__isSmartRef__":true,"id":932},"chunkOwner":{"__isSmartRef__":true,"id":924},"storedString":"1","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"932":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"933":{"morph":{"__isSmartRef__":true,"id":924},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"934":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"935":{"onMouseWheel":{"__isSmartRef__":true,"id":936},"onSelectStart":{"__isSmartRef__":true,"id":943}},"936":{"varMapping":{"__isSmartRef__":true,"id":937},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":942},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"937":{"this":{"__isSmartRef__":true,"id":924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":938}},"938":{"$super":{"__isSmartRef__":true,"id":939}},"939":{"varMapping":{"__isSmartRef__":true,"id":940},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":941},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"940":{"obj":{"__isSmartRef__":true,"id":924},"name":"onMouseWheel"},"941":{},"942":{},"943":{"varMapping":{"__isSmartRef__":true,"id":944},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":949},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"944":{"this":{"__isSmartRef__":true,"id":924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":945}},"945":{"$super":{"__isSmartRef__":true,"id":946}},"946":{"varMapping":{"__isSmartRef__":true,"id":947},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":948},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"947":{"obj":{"__isSmartRef__":true,"id":924},"name":"onSelectStart"},"948":{},"949":{},"950":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":951},"derivationIds":[null],"id":"D0601594-3D5F-481A-ADD6-EA4EEBC0D7B9","renderContextTable":{"__isSmartRef__":true,"id":956},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":957}],"eventHandler":{"__isSmartRef__":true,"id":959},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":960},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":961},"__LivelyClassName__":"lively.morphic.Text"},"951":{"_Position":{"__isSmartRef__":true,"id":952},"renderContextTable":{"__isSmartRef__":true,"id":953},"_Extent":{"__isSmartRef__":true,"id":954},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":955},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"952":{"x":0,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"953":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"954":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"955":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"956":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"957":{"style":{"__isSmartRef__":true,"id":958},"chunkOwner":{"__isSmartRef__":true,"id":950},"storedString":"2","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"958":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"959":{"morph":{"__isSmartRef__":true,"id":950},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"960":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"961":{"onMouseWheel":{"__isSmartRef__":true,"id":962},"onSelectStart":{"__isSmartRef__":true,"id":969}},"962":{"varMapping":{"__isSmartRef__":true,"id":963},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":968},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"963":{"this":{"__isSmartRef__":true,"id":950},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":964}},"964":{"$super":{"__isSmartRef__":true,"id":965}},"965":{"varMapping":{"__isSmartRef__":true,"id":966},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":967},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"966":{"obj":{"__isSmartRef__":true,"id":950},"name":"onMouseWheel"},"967":{},"968":{},"969":{"varMapping":{"__isSmartRef__":true,"id":970},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":975},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"970":{"this":{"__isSmartRef__":true,"id":950},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":971}},"971":{"$super":{"__isSmartRef__":true,"id":972}},"972":{"varMapping":{"__isSmartRef__":true,"id":973},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":974},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"973":{"obj":{"__isSmartRef__":true,"id":950},"name":"onSelectStart"},"974":{},"975":{},"976":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":977},"derivationIds":[null],"id":"E5C91869-8C6B-4455-BCDD-35201B35E48E","renderContextTable":{"__isSmartRef__":true,"id":982},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":983}],"eventHandler":{"__isSmartRef__":true,"id":985},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":986},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":987},"__LivelyClassName__":"lively.morphic.Text"},"977":{"_Position":{"__isSmartRef__":true,"id":978},"renderContextTable":{"__isSmartRef__":true,"id":979},"_Extent":{"__isSmartRef__":true,"id":980},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":981},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"978":{"x":0,"y":46,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"979":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"980":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"981":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"982":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"983":{"style":{"__isSmartRef__":true,"id":984},"chunkOwner":{"__isSmartRef__":true,"id":976},"storedString":"3","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"984":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"985":{"morph":{"__isSmartRef__":true,"id":976},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"986":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"987":{"onMouseWheel":{"__isSmartRef__":true,"id":988},"onSelectStart":{"__isSmartRef__":true,"id":995}},"988":{"varMapping":{"__isSmartRef__":true,"id":989},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":994},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"989":{"this":{"__isSmartRef__":true,"id":976},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":990}},"990":{"$super":{"__isSmartRef__":true,"id":991}},"991":{"varMapping":{"__isSmartRef__":true,"id":992},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":993},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"992":{"obj":{"__isSmartRef__":true,"id":976},"name":"onMouseWheel"},"993":{},"994":{},"995":{"varMapping":{"__isSmartRef__":true,"id":996},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1001},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"996":{"this":{"__isSmartRef__":true,"id":976},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":997}},"997":{"$super":{"__isSmartRef__":true,"id":998}},"998":{"varMapping":{"__isSmartRef__":true,"id":999},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1000},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"999":{"obj":{"__isSmartRef__":true,"id":976},"name":"onSelectStart"},"1000":{},"1001":{},"1002":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1003},"derivationIds":[null],"id":"FC3FB9CD-90B1-418F-B704-321C76F864F0","renderContextTable":{"__isSmartRef__":true,"id":1008},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1009}],"eventHandler":{"__isSmartRef__":true,"id":1011},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":1012},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1013},"__LivelyClassName__":"lively.morphic.Text"},"1003":{"_Position":{"__isSmartRef__":true,"id":1004},"renderContextTable":{"__isSmartRef__":true,"id":1005},"_Extent":{"__isSmartRef__":true,"id":1006},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1007},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1004":{"x":0,"y":69,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1005":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1006":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1007":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1008":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1009":{"style":{"__isSmartRef__":true,"id":1010},"chunkOwner":{"__isSmartRef__":true,"id":1002},"storedString":"4","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1010":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1011":{"morph":{"__isSmartRef__":true,"id":1002},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1012":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1013":{"onMouseWheel":{"__isSmartRef__":true,"id":1014},"onSelectStart":{"__isSmartRef__":true,"id":1021}},"1014":{"varMapping":{"__isSmartRef__":true,"id":1015},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1020},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1015":{"this":{"__isSmartRef__":true,"id":1002},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1016}},"1016":{"$super":{"__isSmartRef__":true,"id":1017}},"1017":{"varMapping":{"__isSmartRef__":true,"id":1018},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1019},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1018":{"obj":{"__isSmartRef__":true,"id":1002},"name":"onMouseWheel"},"1019":{},"1020":{},"1021":{"varMapping":{"__isSmartRef__":true,"id":1022},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1027},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1022":{"this":{"__isSmartRef__":true,"id":1002},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1023}},"1023":{"$super":{"__isSmartRef__":true,"id":1024}},"1024":{"varMapping":{"__isSmartRef__":true,"id":1025},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1026},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1025":{"obj":{"__isSmartRef__":true,"id":1002},"name":"onSelectStart"},"1026":{},"1027":{},"1028":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1029},"derivationIds":[null],"id":"9481B5E8-87A9-4363-87A5-4F0A1C5BDE05","renderContextTable":{"__isSmartRef__":true,"id":1034},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1035}],"eventHandler":{"__isSmartRef__":true,"id":1037},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":1038},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1039},"__LivelyClassName__":"lively.morphic.Text"},"1029":{"_Position":{"__isSmartRef__":true,"id":1030},"renderContextTable":{"__isSmartRef__":true,"id":1031},"_Extent":{"__isSmartRef__":true,"id":1032},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1033},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1030":{"x":0,"y":92,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1031":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1032":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1033":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1034":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1035":{"style":{"__isSmartRef__":true,"id":1036},"chunkOwner":{"__isSmartRef__":true,"id":1028},"storedString":"5","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1036":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1037":{"morph":{"__isSmartRef__":true,"id":1028},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1038":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1039":{"onMouseWheel":{"__isSmartRef__":true,"id":1040},"onSelectStart":{"__isSmartRef__":true,"id":1047}},"1040":{"varMapping":{"__isSmartRef__":true,"id":1041},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1046},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1041":{"this":{"__isSmartRef__":true,"id":1028},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1042}},"1042":{"$super":{"__isSmartRef__":true,"id":1043}},"1043":{"varMapping":{"__isSmartRef__":true,"id":1044},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1045},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1044":{"obj":{"__isSmartRef__":true,"id":1028},"name":"onMouseWheel"},"1045":{},"1046":{},"1047":{"varMapping":{"__isSmartRef__":true,"id":1048},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1053},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1048":{"this":{"__isSmartRef__":true,"id":1028},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1049}},"1049":{"$super":{"__isSmartRef__":true,"id":1050}},"1050":{"varMapping":{"__isSmartRef__":true,"id":1051},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1052},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1051":{"obj":{"__isSmartRef__":true,"id":1028},"name":"onSelectStart"},"1052":{},"1053":{},"1054":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1055},"derivationIds":[null],"id":"DC09170F-3AFC-4E9F-A60D-99EA444BAFBA","renderContextTable":{"__isSmartRef__":true,"id":1060},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1061}],"eventHandler":{"__isSmartRef__":true,"id":1063},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":1064},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1065},"__LivelyClassName__":"lively.morphic.Text"},"1055":{"_Position":{"__isSmartRef__":true,"id":1056},"renderContextTable":{"__isSmartRef__":true,"id":1057},"_Extent":{"__isSmartRef__":true,"id":1058},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1059},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1056":{"x":0,"y":115,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1057":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1058":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1059":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1060":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1061":{"style":{"__isSmartRef__":true,"id":1062},"chunkOwner":{"__isSmartRef__":true,"id":1054},"storedString":"6","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1062":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1063":{"morph":{"__isSmartRef__":true,"id":1054},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1064":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1065":{"onMouseWheel":{"__isSmartRef__":true,"id":1066},"onSelectStart":{"__isSmartRef__":true,"id":1073}},"1066":{"varMapping":{"__isSmartRef__":true,"id":1067},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1072},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1067":{"this":{"__isSmartRef__":true,"id":1054},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1068}},"1068":{"$super":{"__isSmartRef__":true,"id":1069}},"1069":{"varMapping":{"__isSmartRef__":true,"id":1070},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1071},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1070":{"obj":{"__isSmartRef__":true,"id":1054},"name":"onMouseWheel"},"1071":{},"1072":{},"1073":{"varMapping":{"__isSmartRef__":true,"id":1074},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1079},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1074":{"this":{"__isSmartRef__":true,"id":1054},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1075}},"1075":{"$super":{"__isSmartRef__":true,"id":1076}},"1076":{"varMapping":{"__isSmartRef__":true,"id":1077},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1078},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1077":{"obj":{"__isSmartRef__":true,"id":1054},"name":"onSelectStart"},"1078":{},"1079":{},"1080":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1081},"derivationIds":[null],"id":"32C8887C-5909-482F-A759-0A464A478DA5","renderContextTable":{"__isSmartRef__":true,"id":1086},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1087}],"eventHandler":{"__isSmartRef__":true,"id":1089},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":1090},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1091},"__LivelyClassName__":"lively.morphic.Text"},"1081":{"_Position":{"__isSmartRef__":true,"id":1082},"renderContextTable":{"__isSmartRef__":true,"id":1083},"_Extent":{"__isSmartRef__":true,"id":1084},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1085},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1082":{"x":0,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1083":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1084":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1085":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1086":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1087":{"style":{"__isSmartRef__":true,"id":1088},"chunkOwner":{"__isSmartRef__":true,"id":1080},"storedString":"7","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1088":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1089":{"morph":{"__isSmartRef__":true,"id":1080},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1090":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1091":{"onMouseWheel":{"__isSmartRef__":true,"id":1092},"onSelectStart":{"__isSmartRef__":true,"id":1099}},"1092":{"varMapping":{"__isSmartRef__":true,"id":1093},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1098},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1093":{"this":{"__isSmartRef__":true,"id":1080},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1094}},"1094":{"$super":{"__isSmartRef__":true,"id":1095}},"1095":{"varMapping":{"__isSmartRef__":true,"id":1096},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1097},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1096":{"obj":{"__isSmartRef__":true,"id":1080},"name":"onMouseWheel"},"1097":{},"1098":{},"1099":{"varMapping":{"__isSmartRef__":true,"id":1100},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1105},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1100":{"this":{"__isSmartRef__":true,"id":1080},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1101}},"1101":{"$super":{"__isSmartRef__":true,"id":1102}},"1102":{"varMapping":{"__isSmartRef__":true,"id":1103},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1104},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1103":{"obj":{"__isSmartRef__":true,"id":1080},"name":"onSelectStart"},"1104":{},"1105":{},"1106":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1107},"derivationIds":[null],"id":"7C7EA66E-F05A-491B-9B0A-1C4FC1E78B77","renderContextTable":{"__isSmartRef__":true,"id":1112},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1113}],"eventHandler":{"__isSmartRef__":true,"id":1115},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":1116},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1117},"__LivelyClassName__":"lively.morphic.Text"},"1107":{"_Position":{"__isSmartRef__":true,"id":1108},"renderContextTable":{"__isSmartRef__":true,"id":1109},"_Extent":{"__isSmartRef__":true,"id":1110},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1111},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1108":{"x":0,"y":161,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1109":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1110":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1111":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1112":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1113":{"style":{"__isSmartRef__":true,"id":1114},"chunkOwner":{"__isSmartRef__":true,"id":1106},"storedString":"8","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1114":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1115":{"morph":{"__isSmartRef__":true,"id":1106},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1116":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1117":{"onMouseWheel":{"__isSmartRef__":true,"id":1118},"onSelectStart":{"__isSmartRef__":true,"id":1125}},"1118":{"varMapping":{"__isSmartRef__":true,"id":1119},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1124},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1119":{"this":{"__isSmartRef__":true,"id":1106},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1120}},"1120":{"$super":{"__isSmartRef__":true,"id":1121}},"1121":{"varMapping":{"__isSmartRef__":true,"id":1122},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1123},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1122":{"obj":{"__isSmartRef__":true,"id":1106},"name":"onMouseWheel"},"1123":{},"1124":{},"1125":{"varMapping":{"__isSmartRef__":true,"id":1126},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1131},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1126":{"this":{"__isSmartRef__":true,"id":1106},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1127}},"1127":{"$super":{"__isSmartRef__":true,"id":1128}},"1128":{"varMapping":{"__isSmartRef__":true,"id":1129},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1130},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1129":{"obj":{"__isSmartRef__":true,"id":1106},"name":"onSelectStart"},"1130":{},"1131":{},"1132":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1133},"derivationIds":[null],"id":"F08FDF6D-981E-49C2-B4B8-A848E5D48CFA","renderContextTable":{"__isSmartRef__":true,"id":1138},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1139}],"eventHandler":{"__isSmartRef__":true,"id":1141},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":907},"priorExtent":{"__isSmartRef__":true,"id":1142},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1143},"__LivelyClassName__":"lively.morphic.Text"},"1133":{"_Position":{"__isSmartRef__":true,"id":1134},"renderContextTable":{"__isSmartRef__":true,"id":1135},"_Extent":{"__isSmartRef__":true,"id":1136},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1137},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1134":{"x":0,"y":184,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1135":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1136":{"x":136,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1137":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1138":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1139":{"style":{"__isSmartRef__":true,"id":1140},"chunkOwner":{"__isSmartRef__":true,"id":1132},"storedString":"9","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1140":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1141":{"morph":{"__isSmartRef__":true,"id":1132},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1142":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1143":{"onMouseWheel":{"__isSmartRef__":true,"id":1144},"onSelectStart":{"__isSmartRef__":true,"id":1151}},"1144":{"varMapping":{"__isSmartRef__":true,"id":1145},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1150},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1145":{"this":{"__isSmartRef__":true,"id":1132},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1146}},"1146":{"$super":{"__isSmartRef__":true,"id":1147}},"1147":{"varMapping":{"__isSmartRef__":true,"id":1148},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1149},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1148":{"obj":{"__isSmartRef__":true,"id":1132},"name":"onMouseWheel"},"1149":{},"1150":{},"1151":{"varMapping":{"__isSmartRef__":true,"id":1152},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1157},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1152":{"this":{"__isSmartRef__":true,"id":1132},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1153}},"1153":{"$super":{"__isSmartRef__":true,"id":1154}},"1154":{"varMapping":{"__isSmartRef__":true,"id":1155},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1155":{"obj":{"__isSmartRef__":true,"id":1132},"name":"onSelectStart"},"1156":{},"1157":{},"1158":{"_Position":{"__isSmartRef__":true,"id":1159},"renderContextTable":{"__isSmartRef__":true,"id":1160},"_Extent":{"__isSmartRef__":true,"id":1161},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1162},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":897},"_Fill":{"__isSmartRef__":true,"id":1163},"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1159":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1160":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1161":{"x":136,"y":207,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1162":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1163":{"r":0.975,"g":0.975,"b":0.975,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1164":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1165":{"morph":{"__isSmartRef__":true,"id":907},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1166":{"x":60,"y":465,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1167":{"isMenuItem":true,"isListItem":true,"string":"1","value":"1","idx":0},"1168":{"isMenuItem":true,"isListItem":true,"string":"2","value":"2","idx":1},"1169":{"isMenuItem":true,"isListItem":true,"string":"3","value":"3","idx":2},"1170":{"isMenuItem":true,"isListItem":true,"string":"4","value":"4","idx":3},"1171":{"isMenuItem":true,"isListItem":true,"string":"5","value":"5","idx":4},"1172":{"isMenuItem":true,"isListItem":true,"string":"6","value":"6","idx":5},"1173":{"isMenuItem":true,"isListItem":true,"string":"7","value":"7","idx":6},"1174":{"isMenuItem":true,"isListItem":true,"string":"8","value":"8","idx":7},"1175":{"isMenuItem":true,"isListItem":true,"string":"9","value":"9","idx":8},"1176":{"x":136,"y":232,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1177":{"submorphs":[{"__isSmartRef__":true,"id":1178},{"__isSmartRef__":true,"id":1194},{"__isSmartRef__":true,"id":1222}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1250},"derivationIds":[null],"id":"AA2E0A07-8CA4-415B-AA74-0E39C48E5887","renderContextTable":{"__isSmartRef__":true,"id":1256},"eventHandler":{"__isSmartRef__":true,"id":1257},"__layered_droppingEnabled__":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1258},"items":[{"__isSmartRef__":true,"id":1259},{"__isSmartRef__":true,"id":1260}],"itemMorphs":[{"__isSmartRef__":true,"id":1194},{"__isSmartRef__":true,"id":1222}],"title":{"__isSmartRef__":true,"id":1178},"priorExtent":{"__isSmartRef__":true,"id":1261},"remainOnScreen":true,"isEpiMorph":false,"owner":null,"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Menu"},"1178":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1179},"derivationIds":[null],"id":"61C73F1E-1B84-46BD-9D40-3BBDD33B70D7","renderContextTable":{"__isSmartRef__":true,"id":1188},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1189}],"eventHandler":{"__isSmartRef__":true,"id":1191},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":785},"eventsAreIgnored":true,"_Position":{"__isSmartRef__":true,"id":1192},"owner":{"__isSmartRef__":true,"id":1177},"priorExtent":{"__isSmartRef__":true,"id":1193},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1179":{"_Position":{"__isSmartRef__":true,"id":1180},"renderContextTable":{"__isSmartRef__":true,"id":1181},"_Extent":{"__isSmartRef__":true,"id":1182},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1183},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1184},"_Fill":{"__isSmartRef__":true,"id":1185},"_BorderRadius":4,"_BorderStyle":"outset","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1180":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1181":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1182":{"x":102,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1183":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1184":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1185":{"stops":[{"__isSmartRef__":true,"id":1186},{"__isSmartRef__":true,"id":1187}],"vector":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1186":{"offset":0,"color":{"__isSmartRef__":true,"id":777}},"1187":{"offset":1,"color":{"__isSmartRef__":true,"id":779}},"1188":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1189":{"style":{"__isSmartRef__":true,"id":1190},"chunkOwner":{"__isSmartRef__":true,"id":1178},"storedString":"Ignition timing","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1190":{"fontWeight":"bold","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1191":{"morph":{"__isSmartRef__":true,"id":1178},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1192":{"x":0,"y":-25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1193":{"x":142,"y":25,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1194":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1195},"derivationIds":[null],"id":"5FE97209-E510-49CE-9632-713AD65C9B22","renderContextTable":{"__isSmartRef__":true,"id":1200},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1201}],"eventHandler":{"__isSmartRef__":true,"id":1203},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1177},"priorExtent":{"__isSmartRef__":true,"id":1204},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1205},"__LivelyClassName__":"lively.morphic.Text"},"1195":{"_Position":{"__isSmartRef__":true,"id":1196},"renderContextTable":{"__isSmartRef__":true,"id":1197},"_Extent":{"__isSmartRef__":true,"id":1198},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1199},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1196":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1197":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1198":{"x":102,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1199":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1201":{"style":{"__isSmartRef__":true,"id":1202},"chunkOwner":{"__isSmartRef__":true,"id":1194},"storedString":"sequential","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1202":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1203":{"morph":{"__isSmartRef__":true,"id":1194},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1204":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1205":{"onMouseWheel":{"__isSmartRef__":true,"id":1206},"onSelectStart":{"__isSmartRef__":true,"id":1214}},"1206":{"varMapping":{"__isSmartRef__":true,"id":1207},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1212},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1207":{"this":{"__isSmartRef__":true,"id":1194},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1208}},"1208":{"$super":{"__isSmartRef__":true,"id":1209}},"1209":{"varMapping":{"__isSmartRef__":true,"id":1210},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1211},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1210":{"obj":{"__isSmartRef__":true,"id":1194},"name":"onMouseWheel"},"1211":{},"1212":{"timestamp":{"__isSmartRef__":true,"id":1213},"user":"undefined"},"1213":{"isSerializedDate":true,"string":"Thu Mar 15 2012 01:37:15 GMT+0100 (CET)"},"1214":{"varMapping":{"__isSmartRef__":true,"id":1215},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1220},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1215":{"this":{"__isSmartRef__":true,"id":1194},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1216}},"1216":{"$super":{"__isSmartRef__":true,"id":1217}},"1217":{"varMapping":{"__isSmartRef__":true,"id":1218},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1219},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1218":{"obj":{"__isSmartRef__":true,"id":1194},"name":"onSelectStart"},"1219":{},"1220":{"timestamp":{"__isSmartRef__":true,"id":1221},"user":"undefined"},"1221":{"isSerializedDate":true,"string":"Thu Mar 15 2012 01:37:15 GMT+0100 (CET)"},"1222":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1223},"derivationIds":[null],"id":"614202E2-564F-4D60-8CB9-4F3860BDA793","renderContextTable":{"__isSmartRef__":true,"id":1228},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1229}],"eventHandler":{"__isSmartRef__":true,"id":1231},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10.5,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1177},"priorExtent":{"__isSmartRef__":true,"id":1232},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"_HandStyle":"default","__SourceModuleName__":"Global.lively.morphic.TextCore","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1233},"__LivelyClassName__":"lively.morphic.Text"},"1223":{"_Position":{"__isSmartRef__":true,"id":1224},"renderContextTable":{"__isSmartRef__":true,"id":1225},"_Extent":{"__isSmartRef__":true,"id":1226},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1227},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1224":{"x":0,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1225":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1226":{"x":102,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1227":{"x":3,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1228":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1229":{"style":{"__isSmartRef__":true,"id":1230},"chunkOwner":{"__isSmartRef__":true,"id":1222},"storedString":"alternate","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1230":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1231":{"morph":{"__isSmartRef__":true,"id":1222},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1232":{"x":180,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1233":{"onMouseWheel":{"__isSmartRef__":true,"id":1234},"onSelectStart":{"__isSmartRef__":true,"id":1242}},"1234":{"varMapping":{"__isSmartRef__":true,"id":1235},"source":"function onMouseWheel(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1240},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1235":{"this":{"__isSmartRef__":true,"id":1222},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1236}},"1236":{"$super":{"__isSmartRef__":true,"id":1237}},"1237":{"varMapping":{"__isSmartRef__":true,"id":1238},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1239},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1238":{"obj":{"__isSmartRef__":true,"id":1222},"name":"onMouseWheel"},"1239":{},"1240":{"timestamp":{"__isSmartRef__":true,"id":1241},"user":"undefined"},"1241":{"isSerializedDate":true,"string":"Thu Mar 15 2012 01:37:15 GMT+0100 (CET)"},"1242":{"varMapping":{"__isSmartRef__":true,"id":1243},"source":"function onSelectStart(evt) {\n return false; // to allow scrolling\n }","funcProperties":{"__isSmartRef__":true,"id":1248},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1243":{"this":{"__isSmartRef__":true,"id":1222},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1244}},"1244":{"$super":{"__isSmartRef__":true,"id":1245}},"1245":{"varMapping":{"__isSmartRef__":true,"id":1246},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1247},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1246":{"obj":{"__isSmartRef__":true,"id":1222},"name":"onSelectStart"},"1247":{},"1248":{"timestamp":{"__isSmartRef__":true,"id":1249},"user":"undefined"},"1249":{"isSerializedDate":true,"string":"Thu Mar 15 2012 01:37:15 GMT+0100 (CET)"},"1250":{"_Position":{"__isSmartRef__":true,"id":1251},"renderContextTable":{"__isSmartRef__":true,"id":1252},"_Extent":{"__isSmartRef__":true,"id":1253},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1254},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":897},"_Fill":{"__isSmartRef__":true,"id":1255},"_Opacity":0.95,"_BorderRadius":4,"_BorderStyle":"outset","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1251":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1252":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1253":{"x":102,"y":46,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1254":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1255":{"r":0.975,"g":0.975,"b":0.975,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1256":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1257":{"morph":{"__isSmartRef__":true,"id":1177},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1258":{"x":290,"y":465,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1259":{"isMenuItem":true,"isListItem":true,"string":"sequential","value":"sequential","idx":0},"1260":{"isMenuItem":true,"isListItem":true,"string":"alternate","value":"alternate","idx":1},"1261":{"x":102,"y":71,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1262":{"submorphs":[{"__isSmartRef__":true,"id":1263}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1274},"derivationIds":[null],"id":"3B18BD5D-8391-49FD-B2BA-A60D4B68637F","renderContextTable":{"__isSmartRef__":true,"id":1289},"eventHandler":{"__isSmartRef__":true,"id":1290},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1291},"priorExtent":{"__isSmartRef__":true,"id":1292},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1293},"lighterFill":{"__isSmartRef__":true,"id":1280},"label":{"__isSmartRef__":true,"id":1263},"owner":null,"menuItems":[["1",{"__isSmartRef__":true,"id":163},"makeCylinders",1],["2",{"__isSmartRef__":true,"id":163},"makeCylinders",2],["3",{"__isSmartRef__":true,"id":163},"makeCylinders",3],["4",{"__isSmartRef__":true,"id":163},"makeCylinders",4],["5",{"__isSmartRef__":true,"id":163},"makeCylinders",5],["6",{"__isSmartRef__":true,"id":163},"makeCylinders",6],["7",{"__isSmartRef__":true,"id":163},"makeCylinders",7],["8",{"__isSmartRef__":true,"id":163},"makeCylinders",8],["9",{"__isSmartRef__":true,"id":163},"makeCylinders",9]],"__SourceModuleName__":"Global.lively.morphic.Widgets","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1302},"__LivelyClassName__":"lively.morphic.Button"},"1263":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1264},"derivationIds":[null],"id":"E1055358-3AC5-48AE-873A-7A64CC404CDA","renderContextTable":{"__isSmartRef__":true,"id":1269},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1270}],"eventHandler":{"__isSmartRef__":true,"id":1272},"grabbingEnabled":false,"__layered_droppingEnabled__":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1262},"priorExtent":{"__isSmartRef__":true,"id":1273},"_MaxTextWidth":70,"_MinTextWidth":70,"_MaxTextHeight":null,"_MinTextHeight":null,"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":171},"_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"1264":{"_Position":{"__isSmartRef__":true,"id":1265},"renderContextTable":{"__isSmartRef__":true,"id":1266},"_Extent":{"__isSmartRef__":true,"id":1267},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1268},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":171},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1265":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1266":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1267":{"x":70,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1268":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1269":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1270":{"style":{"__isSmartRef__":true,"id":1271},"chunkOwner":{"__isSmartRef__":true,"id":1263},"storedString":"Number of cylinders","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1271":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1272":{"morph":{"__isSmartRef__":true,"id":1263},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1273":{"x":70,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1274":{"_Position":{"__isSmartRef__":true,"id":1275},"renderContextTable":{"__isSmartRef__":true,"id":1276},"_Extent":{"__isSmartRef__":true,"id":1277},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1278},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1279},"_Fill":{"__isSmartRef__":true,"id":1280},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1275":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1276":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setClipMode":"setClipModeHTML"},"1277":{"x":70,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1278":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1279":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1280":{"stops":[{"__isSmartRef__":true,"id":1281},{"__isSmartRef__":true,"id":1283},{"__isSmartRef__":true,"id":1285},{"__isSmartRef__":true,"id":1287}],"vector":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1281":{"offset":0,"color":{"__isSmartRef__":true,"id":1282}},"1282":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1283":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1284}},"1284":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1285":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1286}},"1286":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1287":{"offset":1,"color":{"__isSmartRef__":true,"id":1288}},"1288":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1289":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1290":{"morph":{"__isSmartRef__":true,"id":1262},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1291":{"x":60,"y":440,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1292":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1293":{"stops":[{"__isSmartRef__":true,"id":1294},{"__isSmartRef__":true,"id":1296},{"__isSmartRef__":true,"id":1298},{"__isSmartRef__":true,"id":1300}],"vector":{"__isSmartRef__":true,"id":780},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1294":{"offset":0,"color":{"__isSmartRef__":true,"id":1295}},"1295":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1296":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1297}},"1297":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1298":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1299}},"1299":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1300":{"offset":1,"color":{"__isSmartRef__":true,"id":1301}},"1301":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1302":{"onMouseUp":{"__isSmartRef__":true,"id":1303}},"1303":{"varMapping":{"__isSmartRef__":true,"id":1304},"source":"function onMouseUp(evt) {\n lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders',\n this.menuItems); }","funcProperties":{"__isSmartRef__":true,"id":1309},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1304":{"this":{"__isSmartRef__":true,"id":1262},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1305}},"1305":{"$super":{"__isSmartRef__":true,"id":1306}},"1306":{"varMapping":{"__isSmartRef__":true,"id":1307},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1308},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1307":{"obj":{"__isSmartRef__":true,"id":1262},"name":"onMouseUp"},"1308":{},"1309":{"timestamp":{"__isSmartRef__":true,"id":1310},"user":"undefined"},"1310":{"isSerializedDate":true,"string":"Thu Mar 15 2012 01:37:15 GMT+0100 (CET)"},"1311":{"onrestore":{"__isSmartRef__":true,"id":1312},"rebuildButtons":{"__isSmartRef__":true,"id":1320},"reset":{"__isSmartRef__":true,"id":1324},"makeLayout":{"__isSmartRef__":true,"id":1328},"makeCylinders":{"__isSmartRef__":true,"id":1332},"movePiston":{"__isSmartRef__":true,"id":1336},"setRunning":{"__isSmartRef__":true,"id":1340},"nextStep":{"__isSmartRef__":true,"id":1344},"doStep":{"__isSmartRef__":true,"id":1348},"setAlternateTiming":{"__isSmartRef__":true,"id":1352},"setStepTime":{"__isSmartRef__":true,"id":1356},"startSteppingScripts":{"__isSmartRef__":true,"id":1359}},"1312":{"varMapping":{"__isSmartRef__":true,"id":1313},"source":"function onrestore() {\n $super();\n this.rebuildButtons.bind(this).delay(0); // FIXME\n}","funcProperties":{"__isSmartRef__":true,"id":1318},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1313":{"this":{"__isSmartRef__":true,"id":163},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1314}},"1314":{"$super":{"__isSmartRef__":true,"id":1315}},"1315":{"varMapping":{"__isSmartRef__":true,"id":1316},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1317},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1316":{"obj":{"__isSmartRef__":true,"id":163},"name":"onrestore"},"1317":{},"1318":{"timestamp":{"__isSmartRef__":true,"id":1319},"user":"undefined","tags":[]},"1319":{"isSerializedDate":true,"string":"Thu Mar 15 2012 02:19:20 GMT+0100 (CET)"},"1320":{"varMapping":{"__isSmartRef__":true,"id":1321},"source":"function rebuildButtons() { //this.rebuildButtons();\n this.submorphs.select(function (m) { return m instanceof ButtonMorph })\n .forEach(function (m) { m.remove() });\n\n var n = this.cylinders.length;\n var label = (n==1) ? '1 cylinder' : n.toString() + ' cylinders';\n var b = this.addMorph(new ButtonMorph (new Rectangle(50, 440, 140, 20), label));\n b.menuItems = Array.range(1,9).collect( function(i) {\n return [i.toString(), this, 'makeCylinders', i]; }.bind(this));\n b.addScript(function onMouseUp(evt) {\n lively.morphic.Menu.openAt(evt.getPosition(), 'Number of cylinders', this.menuItems); });\n\n var label = (this.alternate ? 'alternate' : 'sequential') + ' ignition';\n var b = this.addMorph(new ButtonMorph (new Rectangle(50, 490, 140, 20), label));\n b.addScript(function onMouseUp(evt) { \n this.owner.setAlternateTiming(!this.owner.alternate); });\n\n var label = this.running ? 'running' : 'stopped';\n var b = this.addMorph(new ButtonMorph (new Rectangle(320, 440, 70, 20), label));\n b.addScript(function onMouseUp(evt) {\n this.owner.setRunning(!this.owner.running); });\n\nif (this.running) {\n var label = (this.stepTime==1) ? 'fast' : 'slow';\n var b = this.addMorph(new ButtonMorph (new Rectangle(320, 490, 70, 20), label));\n b.addScript(function onMouseUp(evt) {\n var isSlow = this.owner.stepTime != 1;\n this.owner.setStepTime(isSlow ? 1 : this.owner.normalSpeed);\n this.setLabel(isSlow ? 'fast' : 'slow'); });\n} else {\n var b = this.addMorph(new ButtonMorph (new Rectangle(320, 490, 70, 20), 'step'));\n b.addScript(function onMouseUp(evt) { this.owner.doStep(); });\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1322},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1321":{"this":{"__isSmartRef__":true,"id":163}},"1322":{"timestamp":{"__isSmartRef__":true,"id":1323},"user":"undefined","tags":[]},"1323":{"isSerializedDate":true,"string":"Thu Mar 15 2012 04:35:47 GMT+0100 (CET)"},"1324":{"varMapping":{"__isSmartRef__":true,"id":1325},"source":"function reset() {\n this.applyStyle({\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.gray},\n {offset: 1, color: Color.darkGray}], 'NorthSouth'),\n borderColor: Color.black, \n borderWidth: 1,\n extent: pt(450, 690)\n })\n\n this.pistonStyle = {\n fill: new lively.morphic.LinearGradient([\n {offset: 0, color: Color.darkGray},\n {offset: 0.4, color: Color.lightGray},\n {offset: 1, color: Color.darkGray}], 'EastWest'),\n borderColor: Color.black, \n borderWidth: 2\n }\n \n this.crankPinStyle = {\n fill: new lively.morphic.RadialGradient([\n {offset: 0, color: Color.darkGray},\n {offset:1, color: Color.gray.darker(2)}]),\n borderColor: Color.black,\n borderWidth: 1\n }\n\n // set some state\n this.angleStep = Math.PI/8;\n this.cylinders = [];\n\n var bnds = this.innerBounds().withHeight(this.innerBounds().width);\n var center = bnds.center();\n var relBore = 0.14;\n var cr = bnds.scaleByRect(new Rectangle(0.5 - (relBore/2), 0.1, relBore, 0.2));\n var dHead = cr.width*0.2; // slight dome at top of cylinder -- room for valves\n var pistonBW = 2;\n this.topPosDisplacement = pt(pistonBW, dHead);\n\n this.makeLayout(this.cylinders.length || 1, this.alternate);\n}","funcProperties":{"__isSmartRef__":true,"id":1326},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1325":{"this":{"__isSmartRef__":true,"id":163}},"1326":{"timestamp":{"__isSmartRef__":true,"id":1327},"user":"undefined","tags":[]},"1327":{"isSerializedDate":true,"string":"Thu Mar 15 2012 03:42:53 GMT+0100 (CET)"},"1328":{"varMapping":{"__isSmartRef__":true,"id":1329},"source":"function makeLayout(nCylinders, alternating) {\n // FYI, here's the declarative structure...\n // Engine\n // Crank\n // CrankPin\n // CrankPinCap - follows the crank pin, but appears over connecting rods\n // ConnectingRod (with highlight)\n // Cylinder (may be many)\n // Piston\n // WristPin\n this.removeAllMorphs();\n\n this.makeLayout(this.cylinders.length || 1, this.alternate);\n var bnds = this.innerBounds().withHeight(this.innerBounds().width);\n this.stroke = bnds.height*0.12;\n this.normalSpeed = 100;\n this.crank = Morph.makeCircle(bnds.center(), this.stroke*0.8, 4, Color.black, Color.gray);\n this.addMorph(this.crank);\n this.crankPin = Morph.makeCircle(pt(0, -this.stroke/2), this.stroke*0.25, 1, \n Color.black, Color.gray.darker(2));\n this.crank.addMorph(this.crankPin);\n this.crankPinCap = this.crankPin.copy();\n this.crankPinCap.applyStyle(this.crankPinStyle);\n this.alternate = alternating;\n this.makeCylinders(nCylinders);\n\n this.rebuildButtons();\n\n var label = this.addMorph(TextMorph.makeLabel(\"The Radial Engine\",{fontSize: 20}));\n label.align(label.bounds().topCenter(), bnds.bottomCenter().addXY(0, -20));\n}","funcProperties":{"__isSmartRef__":true,"id":1330},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1329":{"this":{"__isSmartRef__":true,"id":163}},"1330":{"timestamp":{"__isSmartRef__":true,"id":1331},"user":"undefined","tags":[]},"1331":{"isSerializedDate":true,"string":"Thu Mar 15 2012 05:16:42 GMT+0100 (CET)"},"1332":{"varMapping":{"__isSmartRef__":true,"id":1333},"source":"function makeCylinders(nCylinders) {\n // Build cylinder-piston assembly with center of rotation at crank center\n this.crankAngle = 0; // goes up to 4*pi, while rotation wraps at 2*pi\n this.crank.setRotation(this.crankAngle);\n var bnds = this.innerBounds().withHeight(this.innerBounds().width),\n relBore = 0.14,\n cr = bnds.scaleByRect(new Rectangle(0.5 - (relBore/2), 0.10, relBore, 0.2));\n var dHead = cr.width*0.2, // slight dome at top of cylinder -- room for valves\n cylVerts = [cr.topRight(), cr.bottomRight(), //vertices of cylinder polygon\n cr.topRight().addXY(0, this.stroke), cr.topLeft().addXY(0, this.stroke),\n cr.bottomLeft(), cr.topLeft(),\n cr.topLeft().addXY(dHead, -dHead), cr.topRight().addXY(-dHead, -dHead),\n cr.topRight()];\n cylVerts = cylVerts.invoke('subPt', this.crank.bounds().center());\n\n // create prototype cylinder\n var cylinder = Morph.makePolygon(cylVerts, 4, Color.black, Color.gray);\n cylinder.setPosition(this.crank.bounds().center());\n var pistonBW = this.pistonStyle.borderWidth,\n pistonDx = (cylinder.getBorderWidth() + pistonBW) / 2 - 4,\n piston = Morph.makeRectangle(cr.insetByPt(pt(pistonDx, (cr.height-this.stroke)/2)));\n piston.applyStyle(this.pistonStyle);\n cylinder.addMorph(piston);\n var wristPin = Morph.makeCircle(piston.innerBounds().center(), cr.width*0.1, 0, null, Color.black);\n piston.addMorph(wristPin);\n\n // Duplicate and rotate the cylinder assembly to complete the engine\n if (this.cylinders) this.cylinders.invoke('remove'); // remove any previous assemblies\n if (this.connectingRods) this.connectingRods.invoke('remove');\n\n this.cylinders = []; // Note this is an array that points to various submorphs\n this.connectingRods = [];\n for (var i = 0; i < nCylinders; i++) {\n var cyl = cylinder.copy();\n this.addMorph(cyl)\n cyl.angle = (Math.PI*2/nCylinders)*i;\n if (this.alternate && i%2 == 1) cyl.angle += Math.PI*2;\n cyl.setRotation(cyl.angle);\n cyl.piston = cyl.topSubmorph();\n cyl.piston.topPos = cyl.innerBounds().topLeft().addPt(this.topPosDisplacement);\n cyl.wristPin = cyl.piston.topSubmorph();\n this.cylinders.push(cyl);\n // Note: cyl.connectingRod points to a morph that is not a submorph yet\n // Real endpoints get set later in doStep\n this.connectingRods[i] = cyl.addMorph(lively.morphic.Morph.makeLine(\n [pt(10, 10), pt(10, 10)], cr.width*0.15, Color.gray.darker(2) ));\n this.connectingRods[i].addMorph(lively.morphic.Morph.makeLine( // extra morph for highlight on rod\n [pt(10, 10), pt(10, 10)], cr.width*0.05, Color.darkGray ));\n cyl.addMorph(cyl.piston); // brings it on top of connecting rod (looks better)\n this.movePiston(cyl);\n };\n this.connectingRods[nCylinders-1].addMorph(this.crankPinCap);\n this.rebuildButtons(); // updates button labels\n this.doStep(); // makes connecting rods;\n}","funcProperties":{"__isSmartRef__":true,"id":1334},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1333":{"this":{"__isSmartRef__":true,"id":163}},"1334":{"timestamp":{"__isSmartRef__":true,"id":1335},"user":"undefined","tags":[]},"1335":{"isSerializedDate":true,"string":"Thu Mar 15 2012 05:20:24 GMT+0100 (CET)"},"1336":{"varMapping":{"__isSmartRef__":true,"id":1337},"source":"function movePiston(cyl) { // Method to move piston and connecting rod\n var pi = Math.PI;\n var phase = (this.crankAngle - cyl.angle);\n if (phase < 0) phase += pi*4;\n var dy = (Math.cos(phase) - 1 - 0.1) * this.stroke/2; //0.1 fudge for appearance\n cyl.piston.setPosition(cyl.piston.topPos.addXY(0, -dy));\n var cycle = Math.floor(phase / pi); // Change color based on cycle\n var frac = phase / pi - cycle; // Change shading based on fractional part of cycle (wow ;-)\n switch (cycle) {\n case 0: cyl.setFill(Color.blue.lighter()); break; // intake\n case 1: cyl.setFill(Color.blue.mixedWith(Color.blue.lighter(), frac)); break; // compression\n case 2: cyl.setFill(Color.red.lighter().mixedWith(Color.red, frac)); break; // power\n case 3: cyl.setFill(Color.red.lighter()); break; \n } // exhaust\n if (Math.abs(phase-2*pi) < this.angleStep/2) cyl.setFill(Color.yellow); // ignition\n}","funcProperties":{"__isSmartRef__":true,"id":1338},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1337":{"this":{"__isSmartRef__":true,"id":163}},"1338":{"timestamp":{"__isSmartRef__":true,"id":1339},"user":"undefined","tags":[]},"1339":{"isSerializedDate":true,"string":"Thu Mar 15 2012 05:25:02 GMT+0100 (CET)"},"1340":{"varMapping":{"__isSmartRef__":true,"id":1341},"source":"function setRunning(trueOrFalse) {\n this.running = trueOrFalse;\n this.rebuildButtons(); // updates buttons\n}","funcProperties":{"__isSmartRef__":true,"id":1342},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1341":{"this":{"__isSmartRef__":true,"id":163}},"1342":{"timestamp":{"__isSmartRef__":true,"id":1343},"user":"undefined","tags":[]},"1343":{"isSerializedDate":true,"string":"Thu Mar 15 2012 04:01:09 GMT+0100 (CET)"},"1344":{"varMapping":{"__isSmartRef__":true,"id":1345},"source":"function nextStep() {\n if (!this.running) return;\n // Don't bother stepping if we are in a collapsed window\n if (this.parent && this.parent.isCollapsed()) return;\n this.doStep();\n}","funcProperties":{"__isSmartRef__":true,"id":1346},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1345":{"this":{"__isSmartRef__":true,"id":163}},"1346":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":1347}},"1347":{"isSerializedDate":true,"string":"Tue Jul 12 2011 22:53:00 GMT+0200 (CEST)"},"1348":{"varMapping":{"__isSmartRef__":true,"id":1349},"source":"function doStep() {\n var crPt;\n this.crankAngle += this.angleStep; \n if (this.crankAngle > Math.PI*4) this.crankAngle -= Math.PI*4;\n this.crank.setRotation(this.crankAngle); // Rotate the crankshaft\n this.cylinders.forEach(function(cyl, i) {\n this.movePiston(cyl); // Move the pistons\n var cr = this.connectingRods[i];\n cr.setVertices( // Relocate the connecting rods\n [cr.localizePointFrom(this.crankPin.bounds().center(), this.crank),\n cr.localizePointFrom(cyl.wristPin.bounds().center(), cyl.piston)]\n );\n cr.submorphs[0].setVertices( // also the highlight stripes\n [cr.shape.vertices()[0],\n cr.shape.vertices()[1]]\n );\n crPt = cr.shape.vertices()[0];\n }, this);\n this.crankPinCap.setPosition(crPt);\n}","funcProperties":{"__isSmartRef__":true,"id":1350},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1349":{"this":{"__isSmartRef__":true,"id":163}},"1350":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":1351}},"1351":{"isSerializedDate":true,"string":"Wed Jul 13 2011 13:57:41 GMT+0200 (CEST)"},"1352":{"varMapping":{"__isSmartRef__":true,"id":1353},"source":"function setAlternateTiming(trueOrFalse) {\n // Demonstrate alternate and sequential firing order\n this.alternate = trueOrFalse;\n this.makeCylinders(this.cylinders.length);\n this.doStep(); // makes connecting rods\n}","funcProperties":{"__isSmartRef__":true,"id":1354},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1353":{"this":{"__isSmartRef__":true,"id":163}},"1354":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":1355}},"1355":{"isSerializedDate":true,"string":"Tue Jul 12 2011 22:53:00 GMT+0200 (CEST)"},"1356":{"varMapping":{"__isSmartRef__":true,"id":1357},"source":"function setStepTime(ms) {\n this.stepTime = ms;\n this.stopStepping();\n this.startStepping(ms,'nextStep');\n}","funcProperties":{"__isSmartRef__":true,"id":1358},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1357":{"this":{"__isSmartRef__":true,"id":163}},"1358":{},"1359":{"varMapping":{"__isSmartRef__":true,"id":1360},"source":"function startSteppingScripts() { \n this.setStepTime(this.normalSpeed);\n}","funcProperties":{"__isSmartRef__":true,"id":1361},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1360":{"this":{"__isSmartRef__":true,"id":163}},"1361":{"user":"robertkrahn","timestamp":{"__isSmartRef__":true,"id":1362}},"1362":{"isSerializedDate":true,"string":"Tue Jul 12 2011 22:53:00 GMT+0200 (CEST)"},"1363":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1364":{"partsSpaceName":"PartsBin/Demos/","__SourceModuleName__":"Global.lively.PartsBin","comment":"The Lively Engine - An illustration of how radial engines work and why they are designed with an odd number of cylinders","migrationLevel":4,"partName":"LivelyEngine","changes":[{"__isSmartRef__":true,"id":1365},{"__isSmartRef__":true,"id":1367},{"__isSmartRef__":true,"id":1369},{"__isSmartRef__":true,"id":1371}],"revisionOnLoad":145937,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1365":{"date":{"__isSmartRef__":true,"id":1366},"author":"undefined","message":"Tweaked the geometry to make up for small layout changes, and also cleaned up the appearance and operation of the controls","id":"86989E39-91BE-4F18-9F6C-844D0E9D6591"},"1366":{"isSerializedDate":true,"string":"Thu Mar 15 2012 05:28:23 GMT+0100 (CET)"},"1367":{"date":{"__isSmartRef__":true,"id":1368},"author":"Hank","message":"fixed piston offset, menu size. Still an extra line in menus, though","id":"6B3AF400-6D12-4F25-B790-98C8469227A0"},"1368":{"isSerializedDate":true,"string":"Thu Nov 10 2011 20:26:18 GMT+0100 (CET)"},"1369":{"date":{"__isSmartRef__":true,"id":1370},"author":"Hank","message":"fixed extra line on menus","id":"44E3BC5D-760C-498C-9A39-63ABCFC4A33F"},"1370":{"isSerializedDate":true,"string":"Thu Nov 10 2011 20:51:21 GMT+0100 (CET)"},"1371":{"date":{"__isSmartRef__":true,"id":1372},"author":"Hank","message":"initialized to one cylinder","id":"81D144CD-B26B-403E-BC12-189D91AE2897"},"1372":{"isSerializedDate":true,"string":"Thu Nov 10 2011 20:54:51 GMT+0100 (CET)"},"1373":{"x":664,"y":112,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1374":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1375},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":1381},"eventHandler":{"__isSmartRef__":true,"id":1382},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","priorExtent":{"__isSmartRef__":true,"id":1383},"__SourceModuleName__":"Global.lively.morphic.Events","internalClickedOnMorph":{"__isSmartRef__":true,"id":1384},"carriesGrabbedMorphs":false,"lastScrollTime":1338907181404,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Position":{"__isSmartRef__":true,"id":7326},"_Scale":1,"_Rotation":0,"owner":{"__isSmartRef__":true,"id":0},"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"1375":{"_Position":{"__isSmartRef__":true,"id":1376},"renderContextTable":{"__isSmartRef__":true,"id":1377},"_Extent":{"__isSmartRef__":true,"id":1378},"_Fill":{"__isSmartRef__":true,"id":1379},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1380},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1376":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1377":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1378":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1379":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1380":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1381":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1382":{"morph":{"__isSmartRef__":true,"id":1374},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1383":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1384":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1385},"id":"36936187-1FBC-4B4D-AA25-4FE7179540D3","renderContextTable":{"__isSmartRef__":true,"id":1391},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1392}],"eventHandler":{"__isSmartRef__":true,"id":1394},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1395},"priorExtent":{"__isSmartRef__":true,"id":1396},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1397},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[377,"C621D837-4DB4-4C83-A8C9-1C995944A45D","BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C","9AA4F44C-9D66-4990-B0E2-2998FC750C65","E136552C-1013-430B-8229-122AA2720D75","D343D9D5-BB6B-471C-89FD-977D04A54C18","198CEAEE-A3BF-4CED-8D10-C86583D458D7"],"__LivelyClassName__":"lively.morphic.Text"},"1385":{"_Position":{"__isSmartRef__":true,"id":1386},"renderContextTable":{"__isSmartRef__":true,"id":1387},"_Extent":{"__isSmartRef__":true,"id":1388},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1389},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1390},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1386":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1387":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1388":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1389":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1390":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1391":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1392":{"style":{"__isSmartRef__":true,"id":1393},"chunkOwner":{"__isSmartRef__":true,"id":1384},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"1393":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1394":{"morph":{"__isSmartRef__":true,"id":1384},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1395":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1396":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1397":{"submorphs":[{"__isSmartRef__":true,"id":1384}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1398},"id":"E2603263-0031-4C3E-A75C-E645E13EEA32","renderContextTable":{"__isSmartRef__":true,"id":1414},"eventHandler":{"__isSmartRef__":true,"id":1415},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1416},"priorExtent":{"__isSmartRef__":true,"id":1417},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1404},"lighterFill":{"__isSmartRef__":true,"id":1418},"label":{"__isSmartRef__":true,"id":1384},"owner":{"__isSmartRef__":true,"id":1427},"layout":{"__isSmartRef__":true,"id":7321},"attributeConnections":[{"__isSmartRef__":true,"id":7322},{"__isSmartRef__":true,"id":7324}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[376,"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E","A9533421-3987-49B1-B8FE-11D3B48B77B3","EC79C6DC-0809-4378-8061-032B4DD2D496","4DB70E9E-760D-401A-9BAD-25367B78CF72","1DC03620-BC8A-47EC-978A-2036FF929A8A","B048691C-3D91-4A6E-B21D-2AF0EB3E85C7"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"1398":{"_Position":{"__isSmartRef__":true,"id":1399},"renderContextTable":{"__isSmartRef__":true,"id":1400},"_Extent":{"__isSmartRef__":true,"id":1401},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1402},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1403},"_Fill":{"__isSmartRef__":true,"id":1404},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1399":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1400":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1401":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1402":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1403":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1404":{"stops":[{"__isSmartRef__":true,"id":1405},{"__isSmartRef__":true,"id":1407},{"__isSmartRef__":true,"id":1409},{"__isSmartRef__":true,"id":1411}],"vector":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1405":{"offset":0,"color":{"__isSmartRef__":true,"id":1406}},"1406":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1407":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1408}},"1408":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1409":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1410}},"1410":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1411":{"offset":1,"color":{"__isSmartRef__":true,"id":1412}},"1412":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1413":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1414":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1415":{"morph":{"__isSmartRef__":true,"id":1397},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1416":{"x":290.49672894514134,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1417":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1418":{"stops":[{"__isSmartRef__":true,"id":1419},{"__isSmartRef__":true,"id":1421},{"__isSmartRef__":true,"id":1423},{"__isSmartRef__":true,"id":1425}],"vector":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1419":{"offset":0,"color":{"__isSmartRef__":true,"id":1420}},"1420":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1421":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1422}},"1422":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1423":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1424}},"1424":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1425":{"offset":1,"color":{"__isSmartRef__":true,"id":1426}},"1426":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1427":{"submorphs":[{"__isSmartRef__":true,"id":1428},{"__isSmartRef__":true,"id":1397},{"__isSmartRef__":true,"id":1441},{"__isSmartRef__":true,"id":7268}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7304},"id":"5E575A94-2C42-4E66-AC86-0CBF70D7C0F7","renderContextTable":{"__isSmartRef__":true,"id":7316},"eventHandler":{"__isSmartRef__":true,"id":7317},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7318},"_Position":{"__isSmartRef__":true,"id":7319},"windowMorph":{"__isSmartRef__":true,"id":1473},"label":{"__isSmartRef__":true,"id":1428},"closeButton":{"__isSmartRef__":true,"id":1397},"menuButton":{"__isSmartRef__":true,"id":1441},"collapseButton":{"__isSmartRef__":true,"id":7268},"priorExtent":{"__isSmartRef__":true,"id":7320},"owner":{"__isSmartRef__":true,"id":1473},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[374,"CFE848EF-BE01-4E69-BBD0-796826FDBA2C","27B1F973-A4A1-49ED-8194-15A2125092E5","1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC","AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07","AA057279-ADDD-4D59-9A0A-E86FD7D21BE6","8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.TitleBar"},"1428":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1429},"id":"0F561EDF-835D-49D9-B772-7339FCDC1926","renderContextTable":{"__isSmartRef__":true,"id":1434},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1435}],"eventHandler":{"__isSmartRef__":true,"id":1437},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":1438},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":1427},"priorExtent":{"__isSmartRef__":true,"id":1439},"_MaxTextWidth":251.49672894514134,"_MinTextWidth":251.49672894514134,"_MaxTextHeight":null,"_MinTextHeight":null,"_Position":{"__isSmartRef__":true,"id":1440},"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[375,"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3","2EE1A4B9-842D-4C63-ABEA-21DC74163CEE","3F973521-D5D9-4B44-BCF8-822B923644E8","F50BD739-1DA1-4EB3-9653-7B3145EA8817","A7AE88A1-BD5C-4F03-9E65-373F047B2C25","F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB"],"__LivelyClassName__":"lively.morphic.Text"},"1429":{"_Position":{"__isSmartRef__":true,"id":1430},"renderContextTable":{"__isSmartRef__":true,"id":1431},"_Extent":{"__isSmartRef__":true,"id":1432},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1433},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1390},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1430":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1431":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1432":{"x":251.49672894514134,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1433":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1434":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1435":{"style":{"__isSmartRef__":true,"id":1436},"chunkOwner":{"__isSmartRef__":true,"id":1428},"storedString":"Explorer","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1436":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1437":{"morph":{"__isSmartRef__":true,"id":1428},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1438":{"resizeWidth":true},"1439":{"x":251.49672894514134,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1440":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1441":{"submorphs":[{"__isSmartRef__":true,"id":1442}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1454},"id":"2CFEE4F3-5ABF-4297-8216-A5655269B990","renderContextTable":{"__isSmartRef__":true,"id":1459},"eventHandler":{"__isSmartRef__":true,"id":1460},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":1461},"priorExtent":{"__isSmartRef__":true,"id":1462},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1404},"lighterFill":{"__isSmartRef__":true,"id":1463},"label":{"__isSmartRef__":true,"id":1442},"owner":{"__isSmartRef__":true,"id":1427},"attributeConnections":[{"__isSmartRef__":true,"id":1472},{"__isSmartRef__":true,"id":7266}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","prevScroll":[0,0],"derivationIds":[378,"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC","A8A6A338-D618-4672-AFA8-914FD7C2A19E","85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C","535E0653-E19D-4F22-952A-34C8EDED44E9","977A1381-981C-4500-B887-78143DE21406","62DA4EDF-FBE4-4D01-834D-C3E763CF55DE"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"1442":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1443},"id":"8C2835B4-927E-4314-961C-46293B1512A5","renderContextTable":{"__isSmartRef__":true,"id":1448},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":1449}],"eventHandler":{"__isSmartRef__":true,"id":1451},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":1452},"priorExtent":{"__isSmartRef__":true,"id":1453},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":1441},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"prevScroll":[0,0],"derivationIds":[379,"9C08820E-6B60-44C2-9150-BD546391671F","36F5662C-375A-4549-B94E-F150DCBCE3F8","030ACD5E-7567-45E7-928D-24821846DBD3","B1DB7B8C-99F5-44D9-8312-ADD58545154E","9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0","353D5A24-E404-457D-93C4-BC195B094724"],"__LivelyClassName__":"lively.morphic.Text"},"1443":{"_Position":{"__isSmartRef__":true,"id":1444},"renderContextTable":{"__isSmartRef__":true,"id":1445},"_Extent":{"__isSmartRef__":true,"id":1446},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1447},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1390},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1444":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1445":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1446":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1447":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1448":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1449":{"style":{"__isSmartRef__":true,"id":1450},"chunkOwner":{"__isSmartRef__":true,"id":1442},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"1450":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1451":{"morph":{"__isSmartRef__":true,"id":1442},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1452":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1453":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1454":{"_Position":{"__isSmartRef__":true,"id":1455},"renderContextTable":{"__isSmartRef__":true,"id":1456},"_Extent":{"__isSmartRef__":true,"id":1457},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1458},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1403},"_Fill":{"__isSmartRef__":true,"id":1404},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1455":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1457":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1458":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1459":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1460":{"morph":{"__isSmartRef__":true,"id":1441},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1461":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1462":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1463":{"stops":[{"__isSmartRef__":true,"id":1464},{"__isSmartRef__":true,"id":1466},{"__isSmartRef__":true,"id":1468},{"__isSmartRef__":true,"id":1470}],"vector":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1464":{"offset":0,"color":{"__isSmartRef__":true,"id":1465}},"1465":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1466":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1467}},"1467":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1468":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1469}},"1469":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1470":{"offset":1,"color":{"__isSmartRef__":true,"id":1471}},"1471":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1472":{"sourceObj":{"__isSmartRef__":true,"id":1441},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1473},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7265},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1473":{"submorphs":[{"__isSmartRef__":true,"id":1474},{"__isSmartRef__":true,"id":7199},{"__isSmartRef__":true,"id":1427}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7236},"id":"452ADDF2-6F84-43F5-9EF3-0F9D954BCDB8","renderContextTable":{"__isSmartRef__":true,"id":7240},"eventHandler":{"__isSmartRef__":true,"id":7241},"droppingEnabled":true,"halosEnabled":true,"__layered_draggingEnabled__":true,"layout":{"__isSmartRef__":true,"id":7242},"LK2":true,"_Position":{"__isSmartRef__":true,"id":7243},"priorExtent":{"__isSmartRef__":true,"id":7244},"targetMorph":{"__isSmartRef__":true,"id":1474},"titleBar":{"__isSmartRef__":true,"id":1427},"contentOffset":{"__isSmartRef__":true,"id":7245},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":6797},"name":"Explorer","prevDragPos":{"__isSmartRef__":true,"id":7246},"isBeingDragged":false,"highlighted":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","explorer":{"__isSmartRef__":true,"id":1474},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isCopyMorphRef":true,"morphRefId":1,"prevScroll":[0,0],"minExtent":{"__isSmartRef__":true,"id":7247},"derivationIds":[369,"5976C77B-5C20-4DC4-BDA1-A2269E9FEC17","8A4661CC-271E-4CA9-9B42-C428E5DCCB01","B002D7D6-4167-4D6A-8981-E569CE5EE4CC","21A298C5-87D3-4C5F-8FB6-34DB19723B44","A077835E-1096-40C4-92FB-6830D29FC989","32525E7F-A548-4001-86AE-BBDE7D2BAD17"],"_Rotation":0,"_Scale":1.0141055623885957,"_ClipMode":"visible","owner":null,"state":"shutdown","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7248},"__LivelyClassName__":"lively.morphic.Window","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"1474":{"submorphs":[{"__isSmartRef__":true,"id":1475},{"__isSmartRef__":true,"id":7142}],"scripts":[],"id":"E7A1F551-236F-475A-9C00-3F314F4529A9","shape":{"__isSmartRef__":true,"id":7165},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":7172},"showsHalos":false,"name":"ExplorerPane","partsBinMetaInfo":{"__isSmartRef__":true,"id":7173},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":7176},"eventHandler":{"__isSmartRef__":true,"id":7177},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1473},"priorExtent":{"__isSmartRef__":true,"id":7178},"distanceToDragEvent":{"__isSmartRef__":true,"id":7179},"layout":{"__isSmartRef__":true,"id":7180},"workspace":{"__isSmartRef__":true,"id":7142},"treeView":{"__isSmartRef__":true,"id":1475},"focusedNode":{"__isSmartRef__":true,"id":1478},"isInLayoutCycle":false,"prevScroll":[0,0],"derivationIds":[370,"19EB328E-FFB1-41CD-B181-A60FCF27908C","D1C1A399-6222-405C-A922-2ADD2DFBFB56","F7B66347-DB63-470F-8ABC-5C342E31BC5E","7A83A60F-0956-4BD5-AFDB-B7CFECEF9E30","D14B60A2-D449-4E15-8A1B-EADF6D8A988B","9AA7774E-2D58-467B-986D-947454B915CA"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7182},"__LivelyClassName__":"lively.morphic.Box"},"1475":{"submorphs":[{"__isSmartRef__":true,"id":1476}],"scripts":[{"__isSmartRef__":true,"id":7060}],"id":"53657861-5148-4156-8FE7-B423EC298F12","shape":{"__isSmartRef__":true,"id":7061},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":7067},"showsHalos":false,"name":"TreeView","partsBinMetaInfo":{"__isSmartRef__":true,"id":7068},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":7069},"eventHandler":{"__isSmartRef__":true,"id":7070},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"priorExtent":{"__isSmartRef__":true,"id":7071},"layout":{"__isSmartRef__":true,"id":7072},"isInLayoutCycle":false,"isCopyMorphRef":true,"morphRefId":1,"isBeingDragged":false,"owner":{"__isSmartRef__":true,"id":1474},"distanceToDragEvent":{"__isSmartRef__":true,"id":7074},"colors":{"__isSmartRef__":true,"id":7075},"fonts":{"__isSmartRef__":true,"id":7077},"sizes":{"__isSmartRef__":true,"id":7078},"rootNode":{"__isSmartRef__":true,"id":1478},"prevScroll":[0,0],"derivationIds":[371,"5F72E9BF-51FA-45DD-9F01-ADDC32FBF64C","4B46569F-B458-41CF-846F-31DB325C55FE","BC2E4190-4592-4E2C-8644-51CA0FC16963","DBB73829-F82D-45F0-8499-2332C8C0487E","78E2B139-F388-4299-A7CC-0964C21003A4","F124DD76-61DA-471A-A1DA-D01C9F74D5C3"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7083},"__LivelyClassName__":"lively.morphic.Box"},"1476":{"submorphs":[{"__isSmartRef__":true,"id":1477}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7042},"derivationIds":[null],"id":"7CF6AE9D-94AA-4F26-9ED0-D5AE2A764092","renderContextTable":{"__isSmartRef__":true,"id":7047},"eventHandler":{"__isSmartRef__":true,"id":7048},"_ClipMode":"scroll","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":7049},"layout":{"__isSmartRef__":true,"id":7050},"grabbingEnabled":false,"draggingEnabled":false,"name":"TreeViewScrollPane","owner":{"__isSmartRef__":true,"id":1475},"priorExtent":{"__isSmartRef__":true,"id":7051},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7052},"__LivelyClassName__":"lively.morphic.Clip","__SourceModuleName__":"Global.lively.morphic.Core"},"1477":{"submorphs":[{"__isSmartRef__":true,"id":1478},{"__isSmartRef__":true,"id":1577}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7024},"derivationIds":[null],"id":"73B3DA4F-BF25-4889-985B-60ABA0DB4A62","renderContextTable":{"__isSmartRef__":true,"id":7029},"eventHandler":{"__isSmartRef__":true,"id":7030},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":7031},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":7033},"owner":{"__isSmartRef__":true,"id":1476},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7034},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1478":{"submorphs":[{"__isSmartRef__":true,"id":1479},{"__isSmartRef__":true,"id":1497}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1516},"derivationIds":[null],"id":"F631BF93-F860-4A7A-BC31-6A7EE7577CBB","renderContextTable":{"__isSmartRef__":true,"id":1521},"eventHandler":{"__isSmartRef__":true,"id":1522},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1523},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":163},"propertyList":["submorphs","scripts","id","shape","__layered_droppingEnabled__","halosEnabled","registeredForMouseEvents","_Position","showsHalos","name","partsBinMetaInfo","__SourceModuleName__","renderContextTable","eventHandler","attributeConnections","doNotSerialize","doNotCopyProperties","owner","priorExtent","pistonStyle","crankPinStyle","angleStep","topPosDisplacement","layout","cylinders","stroke","normalSpeed","crank","crankPin","crankPinCap","alternate","crankAngle","connectingRods","runMenu","running","stepTime","cylindersMenu","ignitionMenu","derivationIds","cylindersButton","_ClipMode","isLockOwner","isBeingDragged","withLayers","_renderContext","_isRendered","halos","_Rotation","_Scale"],"level":0,"treeView":{"__isSmartRef__":true,"id":1475},"label":"Properties","children":[{"__isSmartRef__":true,"id":1524},{"__isSmartRef__":true,"id":1579},{"__isSmartRef__":true,"id":1663},{"__isSmartRef__":true,"id":1747},{"__isSmartRef__":true,"id":1831},{"__isSmartRef__":true,"id":1915},{"__isSmartRef__":true,"id":1999},{"__isSmartRef__":true,"id":2083},{"__isSmartRef__":true,"id":2168},{"__isSmartRef__":true,"id":2252},{"__isSmartRef__":true,"id":2336},{"__isSmartRef__":true,"id":2420},{"__isSmartRef__":true,"id":2504},{"__isSmartRef__":true,"id":2588},{"__isSmartRef__":true,"id":2672},{"__isSmartRef__":true,"id":2756},{"__isSmartRef__":true,"id":2840},{"__isSmartRef__":true,"id":2924},{"__isSmartRef__":true,"id":3008},{"__isSmartRef__":true,"id":3092},{"__isSmartRef__":true,"id":3176},{"__isSmartRef__":true,"id":3260},{"__isSmartRef__":true,"id":3344},{"__isSmartRef__":true,"id":3428},{"__isSmartRef__":true,"id":3512},{"__isSmartRef__":true,"id":3596},{"__isSmartRef__":true,"id":3680},{"__isSmartRef__":true,"id":3764},{"__isSmartRef__":true,"id":3848},{"__isSmartRef__":true,"id":3932},{"__isSmartRef__":true,"id":4016},{"__isSmartRef__":true,"id":4100},{"__isSmartRef__":true,"id":4184},{"__isSmartRef__":true,"id":4268},{"__isSmartRef__":true,"id":4352},{"__isSmartRef__":true,"id":4436},{"__isSmartRef__":true,"id":4520},{"__isSmartRef__":true,"id":4604},{"__isSmartRef__":true,"id":4688},{"__isSmartRef__":true,"id":4772},{"__isSmartRef__":true,"id":4856},{"__isSmartRef__":true,"id":4940},{"__isSmartRef__":true,"id":5024},{"__isSmartRef__":true,"id":5108},{"__isSmartRef__":true,"id":5192},{"__isSmartRef__":true,"id":5276},{"__isSmartRef__":true,"id":5360},{"__isSmartRef__":true,"id":5444},{"__isSmartRef__":true,"id":5528}],"parent":null,"expander":{"__isSmartRef__":true,"id":1479},"text":{"__isSmartRef__":true,"id":1497},"owner":{"__isSmartRef__":true,"id":1477},"_Position":{"__isSmartRef__":true,"id":7002},"priorExtent":{"__isSmartRef__":true,"id":7003},"_Rotation":0,"_Scale":1.0141055623885957,"childrenWrapper":{"__isSmartRef__":true,"id":1577},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7004},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1479":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1480},"derivationIds":[null],"id":"10DF2D0D-534E-406F-A6E7-46C03E082229","renderContextTable":{"__isSmartRef__":true,"id":1487},"eventHandler":{"__isSmartRef__":true,"id":1488},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1489},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":true,"owner":{"__isSmartRef__":true,"id":1478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1490},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1480":{"_Position":{"__isSmartRef__":true,"id":1481},"renderContextTable":{"__isSmartRef__":true,"id":1482},"_Extent":{"__isSmartRef__":true,"id":1483},"_Padding":{"__isSmartRef__":true,"id":1484},"_NodeClass":["morph","box"],"_NodeId":"morph-10df2d0d-534e-406f-a6e7-46c03e082229","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1486},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1481":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1482":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1483":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1484":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1485":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1486":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1487":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1488":{"morph":{"__isSmartRef__":true,"id":1479},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1489":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1490":{"toggle":{"__isSmartRef__":true,"id":1491},"toggleExpansion":{"__isSmartRef__":true,"id":1494}},"1491":{"varMapping":{"__isSmartRef__":true,"id":1492},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1492":{"this":{"__isSmartRef__":true,"id":1479}},"1493":{},"1494":{"varMapping":{"__isSmartRef__":true,"id":1495},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1495":{"this":{"__isSmartRef__":true,"id":1479}},"1496":{},"1497":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1498},"derivationIds":[null],"id":"3D44E606-BDD1-40CA-9534-775A1EA750E1","renderContextTable":{"__isSmartRef__":true,"id":1504},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1505},{"__isSmartRef__":true,"id":1507}],"eventHandler":{"__isSmartRef__":true,"id":1510},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1511},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1512},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1498":{"_Position":{"__isSmartRef__":true,"id":1499},"renderContextTable":{"__isSmartRef__":true,"id":1500},"_Extent":{"__isSmartRef__":true,"id":1501},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":{"__isSmartRef__":true,"id":1503},"_NodeClass":["morph","text"],"_NodeId":"morph-3d44e606-bdd1-40ca-9534-775a1ea750e1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1499":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1500":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1501":{"x":149,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1502":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1503":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1504":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1505":{"style":{"__isSmartRef__":true,"id":1506},"chunkOwner":{"__isSmartRef__":true,"id":1497},"storedString":"Properties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1506":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1507":{"style":{"__isSmartRef__":true,"id":1508},"chunkOwner":{"__isSmartRef__":true,"id":1497},"storedString":": LivelyEngine","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1508":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1509":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1510":{"morph":{"__isSmartRef__":true,"id":1497},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1511":{"x":180,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1512":{"layoutText":{"__isSmartRef__":true,"id":1513}},"1513":{"varMapping":{"__isSmartRef__":true,"id":1514},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1515},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1514":{"this":{"__isSmartRef__":true,"id":1497}},"1515":{},"1516":{"_Position":{"__isSmartRef__":true,"id":1517},"renderContextTable":{"__isSmartRef__":true,"id":1518},"_Extent":{"__isSmartRef__":true,"id":1519},"_Padding":{"__isSmartRef__":true,"id":1520},"_NodeClass":["morph"],"_NodeId":"morph-f631bf93-f860-4a7a-bc31-6a7ee7577cbb","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1517":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1518":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1519":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1520":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1521":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1522":{"morph":{"__isSmartRef__":true,"id":1478},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1523":{"resizeWidth":true},"1524":{"submorphs":[{"__isSmartRef__":true,"id":1525},{"__isSmartRef__":true,"id":1542}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1558},"derivationIds":[null],"id":"EDD320DC-823D-41CC-B9A5-89BE57FF2A7A","renderContextTable":{"__isSmartRef__":true,"id":1563},"eventHandler":{"__isSmartRef__":true,"id":1564},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1565},"grabbingEnabled":false,"draggingEnabled":false,"data":"visible","propertyList":["0","1","2","3","4","5","6"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"_ClipMode","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":1525},"text":{"__isSmartRef__":true,"id":1542},"owner":{"__isSmartRef__":true,"id":1566},"_Position":{"__isSmartRef__":true,"id":6980},"priorExtent":{"__isSmartRef__":true,"id":6981},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6982},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1525":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1526},"derivationIds":[null],"id":"8F36D73E-2AC9-41DE-9D0C-5C29B8BDD0F6","renderContextTable":{"__isSmartRef__":true,"id":1532},"eventHandler":{"__isSmartRef__":true,"id":1533},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1534},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1535},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1526":{"_Position":{"__isSmartRef__":true,"id":1527},"renderContextTable":{"__isSmartRef__":true,"id":1528},"_Extent":{"__isSmartRef__":true,"id":1529},"_Padding":{"__isSmartRef__":true,"id":1530},"_NodeClass":["morph","box"],"_NodeId":"morph-8f36d73e-2ac9-41de-9d0c-5c29b8bdd0f6","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1531},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1527":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1528":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1529":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1530":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1531":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1532":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1533":{"morph":{"__isSmartRef__":true,"id":1525},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1534":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1535":{"toggle":{"__isSmartRef__":true,"id":1536},"toggleExpansion":{"__isSmartRef__":true,"id":1539}},"1536":{"varMapping":{"__isSmartRef__":true,"id":1537},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1538},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1537":{"this":{"__isSmartRef__":true,"id":1525}},"1538":{},"1539":{"varMapping":{"__isSmartRef__":true,"id":1540},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1541},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1540":{"this":{"__isSmartRef__":true,"id":1525}},"1541":{},"1542":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1543},"derivationIds":[null],"id":"173F8F38-DDDF-4231-8E87-39F4AD7551F9","renderContextTable":{"__isSmartRef__":true,"id":1547},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1548},{"__isSmartRef__":true,"id":1550}],"eventHandler":{"__isSmartRef__":true,"id":1552},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1553},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1554},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1543":{"_Position":{"__isSmartRef__":true,"id":1544},"renderContextTable":{"__isSmartRef__":true,"id":1545},"_Extent":{"__isSmartRef__":true,"id":1546},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-173f8f38-dddf-4231-8e87-39f4ad7551f9","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1544":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1545":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1546":{"x":115,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1547":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1548":{"style":{"__isSmartRef__":true,"id":1549},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":"_ClipMode","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1549":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1550":{"style":{"__isSmartRef__":true,"id":1551},"chunkOwner":{"__isSmartRef__":true,"id":1542},"storedString":": visible","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1551":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1552":{"morph":{"__isSmartRef__":true,"id":1542},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1553":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1554":{"layoutText":{"__isSmartRef__":true,"id":1555}},"1555":{"varMapping":{"__isSmartRef__":true,"id":1556},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1556":{"this":{"__isSmartRef__":true,"id":1542}},"1557":{},"1558":{"_Position":{"__isSmartRef__":true,"id":1559},"renderContextTable":{"__isSmartRef__":true,"id":1560},"_Extent":{"__isSmartRef__":true,"id":1561},"_Padding":{"__isSmartRef__":true,"id":1562},"_NodeClass":["morph"],"_NodeId":"morph-edd320dc-823d-41cc-b9a5-89be57ff2a7a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1559":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1560":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1561":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1562":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1563":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1564":{"morph":{"__isSmartRef__":true,"id":1524},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1565":{"resizeWidth":true},"1566":{"submorphs":[{"__isSmartRef__":true,"id":1524}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1567},"derivationIds":[null],"id":"E64852BD-EFD8-4742-A221-BFC327E3FFC2","renderContextTable":{"__isSmartRef__":true,"id":1572},"eventHandler":{"__isSmartRef__":true,"id":1573},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1574},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1576},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":6971},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6972},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1567":{"_Position":{"__isSmartRef__":true,"id":1568},"renderContextTable":{"__isSmartRef__":true,"id":1569},"_Extent":{"__isSmartRef__":true,"id":1570},"_Padding":{"__isSmartRef__":true,"id":1571},"_NodeClass":["morph"],"_NodeId":"morph-e64852bd-efd8-4742-a221-bfc327e3ffc2","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1568":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1569":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1570":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1571":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1572":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1573":{"morph":{"__isSmartRef__":true,"id":1566},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1574":{"layouter":{"__isSmartRef__":true,"id":1575},"resizeWidth":true},"1575":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1566},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"1576":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1577":{"submorphs":[{"__isSmartRef__":true,"id":1566},{"__isSmartRef__":true,"id":1578},{"__isSmartRef__":true,"id":1662},{"__isSmartRef__":true,"id":1746},{"__isSmartRef__":true,"id":1830},{"__isSmartRef__":true,"id":1914},{"__isSmartRef__":true,"id":1998},{"__isSmartRef__":true,"id":2082},{"__isSmartRef__":true,"id":2167},{"__isSmartRef__":true,"id":2251},{"__isSmartRef__":true,"id":2335},{"__isSmartRef__":true,"id":2419},{"__isSmartRef__":true,"id":2503},{"__isSmartRef__":true,"id":2587},{"__isSmartRef__":true,"id":2671},{"__isSmartRef__":true,"id":2755},{"__isSmartRef__":true,"id":2839},{"__isSmartRef__":true,"id":2923},{"__isSmartRef__":true,"id":3007},{"__isSmartRef__":true,"id":3091},{"__isSmartRef__":true,"id":3175},{"__isSmartRef__":true,"id":3259},{"__isSmartRef__":true,"id":3343},{"__isSmartRef__":true,"id":3427},{"__isSmartRef__":true,"id":3511},{"__isSmartRef__":true,"id":3595},{"__isSmartRef__":true,"id":3679},{"__isSmartRef__":true,"id":3763},{"__isSmartRef__":true,"id":3847},{"__isSmartRef__":true,"id":3931},{"__isSmartRef__":true,"id":4015},{"__isSmartRef__":true,"id":4099},{"__isSmartRef__":true,"id":4183},{"__isSmartRef__":true,"id":4267},{"__isSmartRef__":true,"id":4351},{"__isSmartRef__":true,"id":4435},{"__isSmartRef__":true,"id":4519},{"__isSmartRef__":true,"id":4603},{"__isSmartRef__":true,"id":4687},{"__isSmartRef__":true,"id":4771},{"__isSmartRef__":true,"id":4855},{"__isSmartRef__":true,"id":4939},{"__isSmartRef__":true,"id":5023},{"__isSmartRef__":true,"id":5107},{"__isSmartRef__":true,"id":5191},{"__isSmartRef__":true,"id":5275},{"__isSmartRef__":true,"id":5359},{"__isSmartRef__":true,"id":5443},{"__isSmartRef__":true,"id":5527}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6949},"derivationIds":[null],"id":"FF1839A7-8E94-49CE-A98B-7894AFD0C683","renderContextTable":{"__isSmartRef__":true,"id":6954},"eventHandler":{"__isSmartRef__":true,"id":6955},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6956},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6958},"owner":{"__isSmartRef__":true,"id":1477},"_Position":{"__isSmartRef__":true,"id":6959},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6960},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1578":{"submorphs":[{"__isSmartRef__":true,"id":1579}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1643},"derivationIds":[null],"id":"5F881A5E-A402-4CB4-AD87-1FFA496F2E7D","renderContextTable":{"__isSmartRef__":true,"id":1648},"eventHandler":{"__isSmartRef__":true,"id":1649},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1650},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1652},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":1653},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1654},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1579":{"submorphs":[{"__isSmartRef__":true,"id":1580},{"__isSmartRef__":true,"id":1597}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1613},"derivationIds":[null],"id":"F1272D5A-4B6F-4C99-B201-C9D87B657808","renderContextTable":{"__isSmartRef__":true,"id":1618},"eventHandler":{"__isSmartRef__":true,"id":1619},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1620},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":752},"propertyList":["x","y"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"_Position","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":1580},"text":{"__isSmartRef__":true,"id":1597},"owner":{"__isSmartRef__":true,"id":1578},"_Position":{"__isSmartRef__":true,"id":1621},"priorExtent":{"__isSmartRef__":true,"id":1622},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1623},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1580":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1581},"derivationIds":[null],"id":"9F579F86-1746-4B38-8321-2D118A42EBD6","renderContextTable":{"__isSmartRef__":true,"id":1587},"eventHandler":{"__isSmartRef__":true,"id":1588},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1589},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1590},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1581":{"_Position":{"__isSmartRef__":true,"id":1582},"renderContextTable":{"__isSmartRef__":true,"id":1583},"_Extent":{"__isSmartRef__":true,"id":1584},"_Padding":{"__isSmartRef__":true,"id":1585},"_NodeClass":["morph","box"],"_NodeId":"morph-9f579f86-1746-4b38-8321-2d118a42ebd6","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1586},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1582":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1583":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1584":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1585":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1586":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1587":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1588":{"morph":{"__isSmartRef__":true,"id":1580},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1589":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1590":{"toggle":{"__isSmartRef__":true,"id":1591},"toggleExpansion":{"__isSmartRef__":true,"id":1594}},"1591":{"varMapping":{"__isSmartRef__":true,"id":1592},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1592":{"this":{"__isSmartRef__":true,"id":1580}},"1593":{},"1594":{"varMapping":{"__isSmartRef__":true,"id":1595},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1596},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1595":{"this":{"__isSmartRef__":true,"id":1580}},"1596":{},"1597":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1598},"derivationIds":[null],"id":"93E0225B-D86E-4A67-9AC1-ADAB159C7FDF","renderContextTable":{"__isSmartRef__":true,"id":1602},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1603},{"__isSmartRef__":true,"id":1605}],"eventHandler":{"__isSmartRef__":true,"id":1607},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1608},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1609},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1598":{"_Position":{"__isSmartRef__":true,"id":1599},"renderContextTable":{"__isSmartRef__":true,"id":1600},"_Extent":{"__isSmartRef__":true,"id":1601},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-93e0225b-d86e-4a67-9ac1-adab159c7fdf","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1599":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1600":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1601":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1602":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1603":{"style":{"__isSmartRef__":true,"id":1604},"chunkOwner":{"__isSmartRef__":true,"id":1597},"storedString":"_Position","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1604":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1605":{"style":{"__isSmartRef__":true,"id":1606},"chunkOwner":{"__isSmartRef__":true,"id":1597},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1606":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1607":{"morph":{"__isSmartRef__":true,"id":1597},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1608":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1609":{"layoutText":{"__isSmartRef__":true,"id":1610}},"1610":{"varMapping":{"__isSmartRef__":true,"id":1611},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1612},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1611":{"this":{"__isSmartRef__":true,"id":1597}},"1612":{},"1613":{"_Position":{"__isSmartRef__":true,"id":1614},"renderContextTable":{"__isSmartRef__":true,"id":1615},"_Extent":{"__isSmartRef__":true,"id":1616},"_Padding":{"__isSmartRef__":true,"id":1617},"_NodeClass":["morph"],"_NodeId":"morph-f1272d5a-4b6f-4c99-b201-c9d87b657808","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1614":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1615":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1616":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1617":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1618":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1619":{"morph":{"__isSmartRef__":true,"id":1579},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1620":{"resizeWidth":true},"1621":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1622":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1623":{"updateExpanderColor":{"__isSmartRef__":true,"id":1624},"onMouseDown":{"__isSmartRef__":true,"id":1627},"isRoot":{"__isSmartRef__":true,"id":1634},"displayValue":{"__isSmartRef__":true,"id":1637},"update":{"__isSmartRef__":true,"id":1640}},"1624":{"varMapping":{"__isSmartRef__":true,"id":1625},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":1626},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1625":{"this":{"__isSmartRef__":true,"id":1579}},"1626":{},"1627":{"varMapping":{"__isSmartRef__":true,"id":1628},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":1633},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1628":{"this":{"__isSmartRef__":true,"id":1579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1629}},"1629":{"$super":{"__isSmartRef__":true,"id":1630}},"1630":{"varMapping":{"__isSmartRef__":true,"id":1631},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1632},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1631":{"obj":{"__isSmartRef__":true,"id":1579},"name":"onMouseDown"},"1632":{},"1633":{},"1634":{"varMapping":{"__isSmartRef__":true,"id":1635},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":1636},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1635":{"this":{"__isSmartRef__":true,"id":1579}},"1636":{},"1637":{"varMapping":{"__isSmartRef__":true,"id":1638},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":1639},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1638":{"this":{"__isSmartRef__":true,"id":1579}},"1639":{},"1640":{"varMapping":{"__isSmartRef__":true,"id":1641},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1641":{"this":{"__isSmartRef__":true,"id":1579}},"1642":{},"1643":{"_Position":{"__isSmartRef__":true,"id":1644},"renderContextTable":{"__isSmartRef__":true,"id":1645},"_Extent":{"__isSmartRef__":true,"id":1646},"_Padding":{"__isSmartRef__":true,"id":1647},"_NodeClass":["morph"],"_NodeId":"morph-5f881a5e-a402-4cb4-ad87-1ffa496f2e7d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1644":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1645":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1646":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1647":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1648":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1649":{"morph":{"__isSmartRef__":true,"id":1578},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1650":{"layouter":{"__isSmartRef__":true,"id":1651},"resizeWidth":true},"1651":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1578},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"1652":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1653":{"x":0,"y":960,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1654":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":1655}},"1655":{"varMapping":{"__isSmartRef__":true,"id":1656},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":1661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1656":{"this":{"__isSmartRef__":true,"id":1578},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1657}},"1657":{"$super":{"__isSmartRef__":true,"id":1658}},"1658":{"varMapping":{"__isSmartRef__":true,"id":1659},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1660},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1659":{"obj":{"__isSmartRef__":true,"id":1578},"name":"getLayoutableSubmorphs"},"1660":{},"1661":{},"1662":{"submorphs":[{"__isSmartRef__":true,"id":1663}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1727},"derivationIds":[null],"id":"BCEED90E-40BC-4376-90AE-8B90608547AC","renderContextTable":{"__isSmartRef__":true,"id":1732},"eventHandler":{"__isSmartRef__":true,"id":1733},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1734},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1736},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":1737},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1738},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1663":{"submorphs":[{"__isSmartRef__":true,"id":1664},{"__isSmartRef__":true,"id":1681}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1697},"derivationIds":[null],"id":"5B2CE889-6F36-4545-A742-1BE11CD91AA6","renderContextTable":{"__isSmartRef__":true,"id":1702},"eventHandler":{"__isSmartRef__":true,"id":1703},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1704},"grabbingEnabled":false,"draggingEnabled":false,"data":0,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"_Rotation","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":1664},"text":{"__isSmartRef__":true,"id":1681},"owner":{"__isSmartRef__":true,"id":1662},"_Position":{"__isSmartRef__":true,"id":1705},"priorExtent":{"__isSmartRef__":true,"id":1706},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1707},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1664":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1665},"derivationIds":[null],"id":"BB40AC78-7738-4435-99FE-8AC3F97610E8","renderContextTable":{"__isSmartRef__":true,"id":1671},"eventHandler":{"__isSmartRef__":true,"id":1672},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1673},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1663},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1674},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1665":{"_Position":{"__isSmartRef__":true,"id":1666},"renderContextTable":{"__isSmartRef__":true,"id":1667},"_Extent":{"__isSmartRef__":true,"id":1668},"_Padding":{"__isSmartRef__":true,"id":1669},"_NodeClass":["morph","box"],"_NodeId":"morph-bb40ac78-7738-4435-99fe-8ac3f97610e8","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1670},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1666":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1667":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1668":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1669":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1670":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1671":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1672":{"morph":{"__isSmartRef__":true,"id":1664},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1673":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1674":{"toggle":{"__isSmartRef__":true,"id":1675},"toggleExpansion":{"__isSmartRef__":true,"id":1678}},"1675":{"varMapping":{"__isSmartRef__":true,"id":1676},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1676":{"this":{"__isSmartRef__":true,"id":1664}},"1677":{},"1678":{"varMapping":{"__isSmartRef__":true,"id":1679},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1680},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1679":{"this":{"__isSmartRef__":true,"id":1664}},"1680":{},"1681":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1682},"derivationIds":[null],"id":"26A692A2-0E44-4B0D-8B72-A45E7436286C","renderContextTable":{"__isSmartRef__":true,"id":1686},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1687},{"__isSmartRef__":true,"id":1689}],"eventHandler":{"__isSmartRef__":true,"id":1691},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1692},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1663},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1693},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1682":{"_Position":{"__isSmartRef__":true,"id":1683},"renderContextTable":{"__isSmartRef__":true,"id":1684},"_Extent":{"__isSmartRef__":true,"id":1685},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-26a692a2-0e44-4b0d-8b72-a45e7436286c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1683":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1684":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1685":{"x":79,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1686":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1687":{"style":{"__isSmartRef__":true,"id":1688},"chunkOwner":{"__isSmartRef__":true,"id":1681},"storedString":"_Rotation","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1688":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1689":{"style":{"__isSmartRef__":true,"id":1690},"chunkOwner":{"__isSmartRef__":true,"id":1681},"storedString":": 0","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1690":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1691":{"morph":{"__isSmartRef__":true,"id":1681},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1692":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1693":{"layoutText":{"__isSmartRef__":true,"id":1694}},"1694":{"varMapping":{"__isSmartRef__":true,"id":1695},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1696},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1695":{"this":{"__isSmartRef__":true,"id":1681}},"1696":{},"1697":{"_Position":{"__isSmartRef__":true,"id":1698},"renderContextTable":{"__isSmartRef__":true,"id":1699},"_Extent":{"__isSmartRef__":true,"id":1700},"_Padding":{"__isSmartRef__":true,"id":1701},"_NodeClass":["morph"],"_NodeId":"morph-5b2ce889-6f36-4545-a742-1be11cd91aa6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1698":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1699":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1700":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1701":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1702":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1703":{"morph":{"__isSmartRef__":true,"id":1663},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1704":{"resizeWidth":true},"1705":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1706":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1707":{"updateExpanderColor":{"__isSmartRef__":true,"id":1708},"onMouseDown":{"__isSmartRef__":true,"id":1711},"isRoot":{"__isSmartRef__":true,"id":1718},"displayValue":{"__isSmartRef__":true,"id":1721},"update":{"__isSmartRef__":true,"id":1724}},"1708":{"varMapping":{"__isSmartRef__":true,"id":1709},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":1710},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1709":{"this":{"__isSmartRef__":true,"id":1663}},"1710":{},"1711":{"varMapping":{"__isSmartRef__":true,"id":1712},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":1717},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1712":{"this":{"__isSmartRef__":true,"id":1663},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1713}},"1713":{"$super":{"__isSmartRef__":true,"id":1714}},"1714":{"varMapping":{"__isSmartRef__":true,"id":1715},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1716},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1715":{"obj":{"__isSmartRef__":true,"id":1663},"name":"onMouseDown"},"1716":{},"1717":{},"1718":{"varMapping":{"__isSmartRef__":true,"id":1719},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":1720},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1719":{"this":{"__isSmartRef__":true,"id":1663}},"1720":{},"1721":{"varMapping":{"__isSmartRef__":true,"id":1722},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":1723},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1722":{"this":{"__isSmartRef__":true,"id":1663}},"1723":{},"1724":{"varMapping":{"__isSmartRef__":true,"id":1725},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1725":{"this":{"__isSmartRef__":true,"id":1663}},"1726":{},"1727":{"_Position":{"__isSmartRef__":true,"id":1728},"renderContextTable":{"__isSmartRef__":true,"id":1729},"_Extent":{"__isSmartRef__":true,"id":1730},"_Padding":{"__isSmartRef__":true,"id":1731},"_NodeClass":["morph"],"_NodeId":"morph-bceed90e-40bc-4376-90ae-8b90608547ac","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1728":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1729":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1730":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1731":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1732":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1733":{"morph":{"__isSmartRef__":true,"id":1662},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1734":{"layouter":{"__isSmartRef__":true,"id":1735},"resizeWidth":true},"1735":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1662},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"1736":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1737":{"x":0,"y":940,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1738":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":1739}},"1739":{"varMapping":{"__isSmartRef__":true,"id":1740},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":1745},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1740":{"this":{"__isSmartRef__":true,"id":1662},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1741}},"1741":{"$super":{"__isSmartRef__":true,"id":1742}},"1742":{"varMapping":{"__isSmartRef__":true,"id":1743},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1744},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1743":{"obj":{"__isSmartRef__":true,"id":1662},"name":"getLayoutableSubmorphs"},"1744":{},"1745":{},"1746":{"submorphs":[{"__isSmartRef__":true,"id":1747}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1811},"derivationIds":[null],"id":"847FD13F-CE90-4151-B1A5-8788CCDE3D91","renderContextTable":{"__isSmartRef__":true,"id":1816},"eventHandler":{"__isSmartRef__":true,"id":1817},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1818},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1820},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":1821},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1822},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1747":{"submorphs":[{"__isSmartRef__":true,"id":1748},{"__isSmartRef__":true,"id":1765}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1781},"derivationIds":[null],"id":"733D0234-E6E8-4966-8452-5584E847FCB6","renderContextTable":{"__isSmartRef__":true,"id":1786},"eventHandler":{"__isSmartRef__":true,"id":1787},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1788},"grabbingEnabled":false,"draggingEnabled":false,"data":5,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"_Scale","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":1748},"text":{"__isSmartRef__":true,"id":1765},"owner":{"__isSmartRef__":true,"id":1746},"_Position":{"__isSmartRef__":true,"id":1789},"priorExtent":{"__isSmartRef__":true,"id":1790},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1791},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1748":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1749},"derivationIds":[null],"id":"CB210A50-49C4-41F1-A6A2-7D65805D2ABD","renderContextTable":{"__isSmartRef__":true,"id":1755},"eventHandler":{"__isSmartRef__":true,"id":1756},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1757},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1747},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1758},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1749":{"_Position":{"__isSmartRef__":true,"id":1750},"renderContextTable":{"__isSmartRef__":true,"id":1751},"_Extent":{"__isSmartRef__":true,"id":1752},"_Padding":{"__isSmartRef__":true,"id":1753},"_NodeClass":["morph","box"],"_NodeId":"morph-cb210a50-49c4-41f1-a6a2-7d65805d2abd","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1754},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1750":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1751":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1752":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1753":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1754":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1755":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1756":{"morph":{"__isSmartRef__":true,"id":1748},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1757":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1758":{"toggle":{"__isSmartRef__":true,"id":1759},"toggleExpansion":{"__isSmartRef__":true,"id":1762}},"1759":{"varMapping":{"__isSmartRef__":true,"id":1760},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1761},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1760":{"this":{"__isSmartRef__":true,"id":1748}},"1761":{},"1762":{"varMapping":{"__isSmartRef__":true,"id":1763},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1764},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1763":{"this":{"__isSmartRef__":true,"id":1748}},"1764":{},"1765":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1766},"derivationIds":[null],"id":"45107553-F3C0-47CC-9EBD-129D32E96419","renderContextTable":{"__isSmartRef__":true,"id":1770},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1771},{"__isSmartRef__":true,"id":1773}],"eventHandler":{"__isSmartRef__":true,"id":1775},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1776},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1747},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1777},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1766":{"_Position":{"__isSmartRef__":true,"id":1767},"renderContextTable":{"__isSmartRef__":true,"id":1768},"_Extent":{"__isSmartRef__":true,"id":1769},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-45107553-f3c0-47cc-9ebd-129d32e96419","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1767":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1768":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1769":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1770":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1771":{"style":{"__isSmartRef__":true,"id":1772},"chunkOwner":{"__isSmartRef__":true,"id":1765},"storedString":"_Scale","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1772":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1773":{"style":{"__isSmartRef__":true,"id":1774},"chunkOwner":{"__isSmartRef__":true,"id":1765},"storedString":": 5","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1774":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1775":{"morph":{"__isSmartRef__":true,"id":1765},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1776":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1777":{"layoutText":{"__isSmartRef__":true,"id":1778}},"1778":{"varMapping":{"__isSmartRef__":true,"id":1779},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1780},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1779":{"this":{"__isSmartRef__":true,"id":1765}},"1780":{},"1781":{"_Position":{"__isSmartRef__":true,"id":1782},"renderContextTable":{"__isSmartRef__":true,"id":1783},"_Extent":{"__isSmartRef__":true,"id":1784},"_Padding":{"__isSmartRef__":true,"id":1785},"_NodeClass":["morph"],"_NodeId":"morph-733d0234-e6e8-4966-8452-5584e847fcb6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1782":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1783":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1784":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1785":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1786":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1787":{"morph":{"__isSmartRef__":true,"id":1747},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1788":{"resizeWidth":true},"1789":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1790":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1791":{"updateExpanderColor":{"__isSmartRef__":true,"id":1792},"onMouseDown":{"__isSmartRef__":true,"id":1795},"isRoot":{"__isSmartRef__":true,"id":1802},"displayValue":{"__isSmartRef__":true,"id":1805},"update":{"__isSmartRef__":true,"id":1808}},"1792":{"varMapping":{"__isSmartRef__":true,"id":1793},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":1794},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1793":{"this":{"__isSmartRef__":true,"id":1747}},"1794":{},"1795":{"varMapping":{"__isSmartRef__":true,"id":1796},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":1801},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1796":{"this":{"__isSmartRef__":true,"id":1747},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1797}},"1797":{"$super":{"__isSmartRef__":true,"id":1798}},"1798":{"varMapping":{"__isSmartRef__":true,"id":1799},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1800},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1799":{"obj":{"__isSmartRef__":true,"id":1747},"name":"onMouseDown"},"1800":{},"1801":{},"1802":{"varMapping":{"__isSmartRef__":true,"id":1803},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":1804},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1803":{"this":{"__isSmartRef__":true,"id":1747}},"1804":{},"1805":{"varMapping":{"__isSmartRef__":true,"id":1806},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":1807},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1806":{"this":{"__isSmartRef__":true,"id":1747}},"1807":{},"1808":{"varMapping":{"__isSmartRef__":true,"id":1809},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1810},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1809":{"this":{"__isSmartRef__":true,"id":1747}},"1810":{},"1811":{"_Position":{"__isSmartRef__":true,"id":1812},"renderContextTable":{"__isSmartRef__":true,"id":1813},"_Extent":{"__isSmartRef__":true,"id":1814},"_Padding":{"__isSmartRef__":true,"id":1815},"_NodeClass":["morph"],"_NodeId":"morph-847fd13f-ce90-4151-b1a5-8788ccde3d91","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1812":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1813":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1814":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1815":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1816":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1817":{"morph":{"__isSmartRef__":true,"id":1746},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1818":{"layouter":{"__isSmartRef__":true,"id":1819},"resizeWidth":true},"1819":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1746},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"1820":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1821":{"x":0,"y":920,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1822":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":1823}},"1823":{"varMapping":{"__isSmartRef__":true,"id":1824},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":1829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1824":{"this":{"__isSmartRef__":true,"id":1746},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1825}},"1825":{"$super":{"__isSmartRef__":true,"id":1826}},"1826":{"varMapping":{"__isSmartRef__":true,"id":1827},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1828},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1827":{"obj":{"__isSmartRef__":true,"id":1746},"name":"getLayoutableSubmorphs"},"1828":{},"1829":{},"1830":{"submorphs":[{"__isSmartRef__":true,"id":1831}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1895},"derivationIds":[null],"id":"CE78118E-0FC8-4949-BF8F-E9C1B2044048","renderContextTable":{"__isSmartRef__":true,"id":1900},"eventHandler":{"__isSmartRef__":true,"id":1901},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1902},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1904},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":1905},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1906},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1831":{"submorphs":[{"__isSmartRef__":true,"id":1832},{"__isSmartRef__":true,"id":1849}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1865},"derivationIds":[null],"id":"5DEE6520-95F8-439D-9C58-C6606AD2880C","renderContextTable":{"__isSmartRef__":true,"id":1870},"eventHandler":{"__isSmartRef__":true,"id":1871},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1872},"grabbingEnabled":false,"draggingEnabled":false,"data":"Global.lively.morphic.Core","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"__SourceModuleName__","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":1832},"text":{"__isSmartRef__":true,"id":1849},"owner":{"__isSmartRef__":true,"id":1830},"_Position":{"__isSmartRef__":true,"id":1873},"priorExtent":{"__isSmartRef__":true,"id":1874},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1875},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1832":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1833},"derivationIds":[null],"id":"B317A7C2-D5F9-4105-95C3-06353BFB8050","renderContextTable":{"__isSmartRef__":true,"id":1839},"eventHandler":{"__isSmartRef__":true,"id":1840},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1841},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1831},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1842},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1833":{"_Position":{"__isSmartRef__":true,"id":1834},"renderContextTable":{"__isSmartRef__":true,"id":1835},"_Extent":{"__isSmartRef__":true,"id":1836},"_Padding":{"__isSmartRef__":true,"id":1837},"_NodeClass":["morph","box"],"_NodeId":"morph-b317a7c2-d5f9-4105-95c3-06353bfb8050","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1838},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1834":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1835":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1836":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1837":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1838":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1839":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1840":{"morph":{"__isSmartRef__":true,"id":1832},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1841":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1842":{"toggle":{"__isSmartRef__":true,"id":1843},"toggleExpansion":{"__isSmartRef__":true,"id":1846}},"1843":{"varMapping":{"__isSmartRef__":true,"id":1844},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1844":{"this":{"__isSmartRef__":true,"id":1832}},"1845":{},"1846":{"varMapping":{"__isSmartRef__":true,"id":1847},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1848},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1847":{"this":{"__isSmartRef__":true,"id":1832}},"1848":{},"1849":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1850},"derivationIds":[null],"id":"909DEE5E-A1AC-4209-B42A-32A4FE1E4027","renderContextTable":{"__isSmartRef__":true,"id":1854},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1855},{"__isSmartRef__":true,"id":1857}],"eventHandler":{"__isSmartRef__":true,"id":1859},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1860},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1831},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1861},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1850":{"_Position":{"__isSmartRef__":true,"id":1851},"renderContextTable":{"__isSmartRef__":true,"id":1852},"_Extent":{"__isSmartRef__":true,"id":1853},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-909dee5e-a1ac-4209-b42a-32a4fe1e4027","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1851":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1852":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1853":{"x":315,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1854":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1855":{"style":{"__isSmartRef__":true,"id":1856},"chunkOwner":{"__isSmartRef__":true,"id":1849},"storedString":"__SourceModuleName__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1856":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1857":{"style":{"__isSmartRef__":true,"id":1858},"chunkOwner":{"__isSmartRef__":true,"id":1849},"storedString":": Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1858":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1859":{"morph":{"__isSmartRef__":true,"id":1849},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1860":{"x":360,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1861":{"layoutText":{"__isSmartRef__":true,"id":1862}},"1862":{"varMapping":{"__isSmartRef__":true,"id":1863},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1864},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1863":{"this":{"__isSmartRef__":true,"id":1849}},"1864":{},"1865":{"_Position":{"__isSmartRef__":true,"id":1866},"renderContextTable":{"__isSmartRef__":true,"id":1867},"_Extent":{"__isSmartRef__":true,"id":1868},"_Padding":{"__isSmartRef__":true,"id":1869},"_NodeClass":["morph"],"_NodeId":"morph-5dee6520-95f8-439d-9c58-c6606ad2880c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1866":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1867":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1868":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1869":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1870":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1871":{"morph":{"__isSmartRef__":true,"id":1831},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1872":{"resizeWidth":true},"1873":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1874":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1875":{"updateExpanderColor":{"__isSmartRef__":true,"id":1876},"onMouseDown":{"__isSmartRef__":true,"id":1879},"isRoot":{"__isSmartRef__":true,"id":1886},"displayValue":{"__isSmartRef__":true,"id":1889},"update":{"__isSmartRef__":true,"id":1892}},"1876":{"varMapping":{"__isSmartRef__":true,"id":1877},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":1878},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1877":{"this":{"__isSmartRef__":true,"id":1831}},"1878":{},"1879":{"varMapping":{"__isSmartRef__":true,"id":1880},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":1885},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1880":{"this":{"__isSmartRef__":true,"id":1831},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1881}},"1881":{"$super":{"__isSmartRef__":true,"id":1882}},"1882":{"varMapping":{"__isSmartRef__":true,"id":1883},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1884},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1883":{"obj":{"__isSmartRef__":true,"id":1831},"name":"onMouseDown"},"1884":{},"1885":{},"1886":{"varMapping":{"__isSmartRef__":true,"id":1887},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":1888},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1887":{"this":{"__isSmartRef__":true,"id":1831}},"1888":{},"1889":{"varMapping":{"__isSmartRef__":true,"id":1890},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":1891},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1890":{"this":{"__isSmartRef__":true,"id":1831}},"1891":{},"1892":{"varMapping":{"__isSmartRef__":true,"id":1893},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1893":{"this":{"__isSmartRef__":true,"id":1831}},"1894":{},"1895":{"_Position":{"__isSmartRef__":true,"id":1896},"renderContextTable":{"__isSmartRef__":true,"id":1897},"_Extent":{"__isSmartRef__":true,"id":1898},"_Padding":{"__isSmartRef__":true,"id":1899},"_NodeClass":["morph"],"_NodeId":"morph-ce78118e-0fc8-4949-bf8f-e9c1b2044048","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1896":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1897":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1898":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1899":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1900":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1901":{"morph":{"__isSmartRef__":true,"id":1830},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1902":{"layouter":{"__isSmartRef__":true,"id":1903},"resizeWidth":true},"1903":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1830},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"1904":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1905":{"x":0,"y":900,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1906":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":1907}},"1907":{"varMapping":{"__isSmartRef__":true,"id":1908},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":1913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1908":{"this":{"__isSmartRef__":true,"id":1830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1909}},"1909":{"$super":{"__isSmartRef__":true,"id":1910}},"1910":{"varMapping":{"__isSmartRef__":true,"id":1911},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1912},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1911":{"obj":{"__isSmartRef__":true,"id":1830},"name":"getLayoutableSubmorphs"},"1912":{},"1913":{},"1914":{"submorphs":[{"__isSmartRef__":true,"id":1915}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1979},"derivationIds":[null],"id":"BCC2C8C8-0DDE-4025-A1F3-3E9DFF00B002","renderContextTable":{"__isSmartRef__":true,"id":1984},"eventHandler":{"__isSmartRef__":true,"id":1985},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1986},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":1988},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":1989},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1990},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1915":{"submorphs":[{"__isSmartRef__":true,"id":1916},{"__isSmartRef__":true,"id":1933}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1949},"derivationIds":[null],"id":"E112BE7D-DBE5-454A-AB5E-B69C1BB0B323","renderContextTable":{"__isSmartRef__":true,"id":1954},"eventHandler":{"__isSmartRef__":true,"id":1955},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":1956},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"__layered_droppingEnabled__","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":1916},"text":{"__isSmartRef__":true,"id":1933},"owner":{"__isSmartRef__":true,"id":1914},"_Position":{"__isSmartRef__":true,"id":1957},"priorExtent":{"__isSmartRef__":true,"id":1958},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1959},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1916":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1917},"derivationIds":[null],"id":"089D5676-EE65-4D93-B240-06CEF4948AFC","renderContextTable":{"__isSmartRef__":true,"id":1923},"eventHandler":{"__isSmartRef__":true,"id":1924},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1925},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1915},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1926},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"1917":{"_Position":{"__isSmartRef__":true,"id":1918},"renderContextTable":{"__isSmartRef__":true,"id":1919},"_Extent":{"__isSmartRef__":true,"id":1920},"_Padding":{"__isSmartRef__":true,"id":1921},"_NodeClass":["morph","box"],"_NodeId":"morph-089d5676-ee65-4d93-b240-06cef4948afc","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":1922},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1918":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1919":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1920":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1921":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1922":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1923":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1924":{"morph":{"__isSmartRef__":true,"id":1916},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1925":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1926":{"toggle":{"__isSmartRef__":true,"id":1927},"toggleExpansion":{"__isSmartRef__":true,"id":1930}},"1927":{"varMapping":{"__isSmartRef__":true,"id":1928},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":1929},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1928":{"this":{"__isSmartRef__":true,"id":1916}},"1929":{},"1930":{"varMapping":{"__isSmartRef__":true,"id":1931},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":1932},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1931":{"this":{"__isSmartRef__":true,"id":1916}},"1932":{},"1933":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1934},"derivationIds":[null],"id":"F5F54DD4-9ABA-46BA-A04F-258AF204E84F","renderContextTable":{"__isSmartRef__":true,"id":1938},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":1939},{"__isSmartRef__":true,"id":1941}],"eventHandler":{"__isSmartRef__":true,"id":1943},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":1944},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1915},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1945},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1934":{"_Position":{"__isSmartRef__":true,"id":1935},"renderContextTable":{"__isSmartRef__":true,"id":1936},"_Extent":{"__isSmartRef__":true,"id":1937},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f5f54dd4-9aba-46ba-a04f-258af204e84f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1935":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1936":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1937":{"x":211,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1938":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1939":{"style":{"__isSmartRef__":true,"id":1940},"chunkOwner":{"__isSmartRef__":true,"id":1933},"storedString":"__layered_droppingEnabled__","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1940":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1941":{"style":{"__isSmartRef__":true,"id":1942},"chunkOwner":{"__isSmartRef__":true,"id":1933},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1942":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"1943":{"morph":{"__isSmartRef__":true,"id":1933},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1944":{"x":247.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1945":{"layoutText":{"__isSmartRef__":true,"id":1946}},"1946":{"varMapping":{"__isSmartRef__":true,"id":1947},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":1948},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1947":{"this":{"__isSmartRef__":true,"id":1933}},"1948":{},"1949":{"_Position":{"__isSmartRef__":true,"id":1950},"renderContextTable":{"__isSmartRef__":true,"id":1951},"_Extent":{"__isSmartRef__":true,"id":1952},"_Padding":{"__isSmartRef__":true,"id":1953},"_NodeClass":["morph"],"_NodeId":"morph-e112be7d-dbe5-454a-ab5e-b69c1bb0b323","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1950":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1951":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1952":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1953":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1954":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1955":{"morph":{"__isSmartRef__":true,"id":1915},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1956":{"resizeWidth":true},"1957":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1958":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1959":{"updateExpanderColor":{"__isSmartRef__":true,"id":1960},"onMouseDown":{"__isSmartRef__":true,"id":1963},"isRoot":{"__isSmartRef__":true,"id":1970},"displayValue":{"__isSmartRef__":true,"id":1973},"update":{"__isSmartRef__":true,"id":1976}},"1960":{"varMapping":{"__isSmartRef__":true,"id":1961},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":1962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1961":{"this":{"__isSmartRef__":true,"id":1915}},"1962":{},"1963":{"varMapping":{"__isSmartRef__":true,"id":1964},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":1969},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1964":{"this":{"__isSmartRef__":true,"id":1915},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1965}},"1965":{"$super":{"__isSmartRef__":true,"id":1966}},"1966":{"varMapping":{"__isSmartRef__":true,"id":1967},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1968},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1967":{"obj":{"__isSmartRef__":true,"id":1915},"name":"onMouseDown"},"1968":{},"1969":{},"1970":{"varMapping":{"__isSmartRef__":true,"id":1971},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":1972},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1971":{"this":{"__isSmartRef__":true,"id":1915}},"1972":{},"1973":{"varMapping":{"__isSmartRef__":true,"id":1974},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":1975},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1974":{"this":{"__isSmartRef__":true,"id":1915}},"1975":{},"1976":{"varMapping":{"__isSmartRef__":true,"id":1977},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1977":{"this":{"__isSmartRef__":true,"id":1915}},"1978":{},"1979":{"_Position":{"__isSmartRef__":true,"id":1980},"renderContextTable":{"__isSmartRef__":true,"id":1981},"_Extent":{"__isSmartRef__":true,"id":1982},"_Padding":{"__isSmartRef__":true,"id":1983},"_NodeClass":["morph"],"_NodeId":"morph-bcc2c8c8-0dde-4025-a1f3-3e9dff00b002","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"1980":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1981":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"1982":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1983":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1984":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"1985":{"morph":{"__isSmartRef__":true,"id":1914},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"1986":{"layouter":{"__isSmartRef__":true,"id":1987},"resizeWidth":true},"1987":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1914},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"1988":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1989":{"x":0,"y":880,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1990":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":1991}},"1991":{"varMapping":{"__isSmartRef__":true,"id":1992},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":1997},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1992":{"this":{"__isSmartRef__":true,"id":1914},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1993}},"1993":{"$super":{"__isSmartRef__":true,"id":1994}},"1994":{"varMapping":{"__isSmartRef__":true,"id":1995},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":1996},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"1995":{"obj":{"__isSmartRef__":true,"id":1914},"name":"getLayoutableSubmorphs"},"1996":{},"1997":{},"1998":{"submorphs":[{"__isSmartRef__":true,"id":1999}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2063},"derivationIds":[null],"id":"60B4382E-1067-4D78-8DE2-A684F471719B","renderContextTable":{"__isSmartRef__":true,"id":2068},"eventHandler":{"__isSmartRef__":true,"id":2069},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2070},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2072},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2073},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2074},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"1999":{"submorphs":[{"__isSmartRef__":true,"id":2000},{"__isSmartRef__":true,"id":2017}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2033},"derivationIds":[null],"id":"1F43D138-5DB9-44B3-9EB2-B79890F7FB1E","renderContextTable":{"__isSmartRef__":true,"id":2038},"eventHandler":{"__isSmartRef__":true,"id":2039},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2040},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"_isRendered","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2000},"text":{"__isSmartRef__":true,"id":2017},"owner":{"__isSmartRef__":true,"id":1998},"_Position":{"__isSmartRef__":true,"id":2041},"priorExtent":{"__isSmartRef__":true,"id":2042},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2043},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2000":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2001},"derivationIds":[null],"id":"91653A8F-4AAC-47F7-ADB9-DDC5AC1749F7","renderContextTable":{"__isSmartRef__":true,"id":2007},"eventHandler":{"__isSmartRef__":true,"id":2008},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2009},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":1999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2010},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2001":{"_Position":{"__isSmartRef__":true,"id":2002},"renderContextTable":{"__isSmartRef__":true,"id":2003},"_Extent":{"__isSmartRef__":true,"id":2004},"_Padding":{"__isSmartRef__":true,"id":2005},"_NodeClass":["morph","box"],"_NodeId":"morph-91653a8f-4aac-47f7-adb9-ddc5ac1749f7","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2006},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2002":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2003":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2004":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2005":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2006":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2007":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2008":{"morph":{"__isSmartRef__":true,"id":2000},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2009":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2010":{"toggle":{"__isSmartRef__":true,"id":2011},"toggleExpansion":{"__isSmartRef__":true,"id":2014}},"2011":{"varMapping":{"__isSmartRef__":true,"id":2012},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2013},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2012":{"this":{"__isSmartRef__":true,"id":2000}},"2013":{},"2014":{"varMapping":{"__isSmartRef__":true,"id":2015},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2016},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2015":{"this":{"__isSmartRef__":true,"id":2000}},"2016":{},"2017":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2018},"derivationIds":[null],"id":"60FD8250-2CF2-4DE2-9007-267E3EC64519","renderContextTable":{"__isSmartRef__":true,"id":2022},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2023},{"__isSmartRef__":true,"id":2025}],"eventHandler":{"__isSmartRef__":true,"id":2027},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2028},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":1999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2029},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2018":{"_Position":{"__isSmartRef__":true,"id":2019},"renderContextTable":{"__isSmartRef__":true,"id":2020},"_Extent":{"__isSmartRef__":true,"id":2021},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-60fd8250-2cf2-4de2-9007-267e3ec64519","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2019":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2020":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2021":{"x":111,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2022":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2023":{"style":{"__isSmartRef__":true,"id":2024},"chunkOwner":{"__isSmartRef__":true,"id":2017},"storedString":"_isRendered","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2024":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2025":{"style":{"__isSmartRef__":true,"id":2026},"chunkOwner":{"__isSmartRef__":true,"id":2017},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2026":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2027":{"morph":{"__isSmartRef__":true,"id":2017},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2028":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2029":{"layoutText":{"__isSmartRef__":true,"id":2030}},"2030":{"varMapping":{"__isSmartRef__":true,"id":2031},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2032},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2031":{"this":{"__isSmartRef__":true,"id":2017}},"2032":{},"2033":{"_Position":{"__isSmartRef__":true,"id":2034},"renderContextTable":{"__isSmartRef__":true,"id":2035},"_Extent":{"__isSmartRef__":true,"id":2036},"_Padding":{"__isSmartRef__":true,"id":2037},"_NodeClass":["morph"],"_NodeId":"morph-1f43d138-5db9-44b3-9eb2-b79890f7fb1e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2034":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2035":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2036":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2037":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2038":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2039":{"morph":{"__isSmartRef__":true,"id":1999},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2040":{"resizeWidth":true},"2041":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2042":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2043":{"updateExpanderColor":{"__isSmartRef__":true,"id":2044},"onMouseDown":{"__isSmartRef__":true,"id":2047},"isRoot":{"__isSmartRef__":true,"id":2054},"displayValue":{"__isSmartRef__":true,"id":2057},"update":{"__isSmartRef__":true,"id":2060}},"2044":{"varMapping":{"__isSmartRef__":true,"id":2045},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2046},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2045":{"this":{"__isSmartRef__":true,"id":1999}},"2046":{},"2047":{"varMapping":{"__isSmartRef__":true,"id":2048},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2053},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2048":{"this":{"__isSmartRef__":true,"id":1999},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2049}},"2049":{"$super":{"__isSmartRef__":true,"id":2050}},"2050":{"varMapping":{"__isSmartRef__":true,"id":2051},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2052},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2051":{"obj":{"__isSmartRef__":true,"id":1999},"name":"onMouseDown"},"2052":{},"2053":{},"2054":{"varMapping":{"__isSmartRef__":true,"id":2055},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2056},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2055":{"this":{"__isSmartRef__":true,"id":1999}},"2056":{},"2057":{"varMapping":{"__isSmartRef__":true,"id":2058},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2059},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2058":{"this":{"__isSmartRef__":true,"id":1999}},"2059":{},"2060":{"varMapping":{"__isSmartRef__":true,"id":2061},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2061":{"this":{"__isSmartRef__":true,"id":1999}},"2062":{},"2063":{"_Position":{"__isSmartRef__":true,"id":2064},"renderContextTable":{"__isSmartRef__":true,"id":2065},"_Extent":{"__isSmartRef__":true,"id":2066},"_Padding":{"__isSmartRef__":true,"id":2067},"_NodeClass":["morph"],"_NodeId":"morph-60b4382e-1067-4d78-8de2-a684f471719b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2064":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2065":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2066":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2067":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2068":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2069":{"morph":{"__isSmartRef__":true,"id":1998},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2070":{"layouter":{"__isSmartRef__":true,"id":2071},"resizeWidth":true},"2071":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1998},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2072":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2073":{"x":0,"y":860,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2074":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2075}},"2075":{"varMapping":{"__isSmartRef__":true,"id":2076},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2076":{"this":{"__isSmartRef__":true,"id":1998},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2077}},"2077":{"$super":{"__isSmartRef__":true,"id":2078}},"2078":{"varMapping":{"__isSmartRef__":true,"id":2079},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2080},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2079":{"obj":{"__isSmartRef__":true,"id":1998},"name":"getLayoutableSubmorphs"},"2080":{},"2081":{},"2082":{"submorphs":[{"__isSmartRef__":true,"id":2083}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2148},"derivationIds":[null],"id":"E97AAA42-9CB6-4FE0-A159-8D6F51BD11AC","renderContextTable":{"__isSmartRef__":true,"id":2153},"eventHandler":{"__isSmartRef__":true,"id":2154},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2155},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2157},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2158},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2159},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2083":{"submorphs":[{"__isSmartRef__":true,"id":2084},{"__isSmartRef__":true,"id":2101}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2117},"derivationIds":[null],"id":"63006C27-FB52-4F3F-BA76-6B5E126BE107","renderContextTable":{"__isSmartRef__":true,"id":2122},"eventHandler":{"__isSmartRef__":true,"id":2123},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2124},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":2125},"propertyList":["parentNode","morphNode","shapeNode","originNode"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"_renderContext","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2084},"text":{"__isSmartRef__":true,"id":2101},"owner":{"__isSmartRef__":true,"id":2082},"_Position":{"__isSmartRef__":true,"id":2126},"priorExtent":{"__isSmartRef__":true,"id":2127},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2128},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2084":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2085},"derivationIds":[null],"id":"039ABF43-4D47-4D41-9AAB-BAD62D0F7C49","renderContextTable":{"__isSmartRef__":true,"id":2091},"eventHandler":{"__isSmartRef__":true,"id":2092},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2093},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2083},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2094},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2085":{"_Position":{"__isSmartRef__":true,"id":2086},"renderContextTable":{"__isSmartRef__":true,"id":2087},"_Extent":{"__isSmartRef__":true,"id":2088},"_Padding":{"__isSmartRef__":true,"id":2089},"_NodeClass":["morph","box"],"_NodeId":"morph-039abf43-4d47-4d41-9aab-bad62d0f7c49","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2090},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2086":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2087":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2088":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2089":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2090":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2091":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2092":{"morph":{"__isSmartRef__":true,"id":2084},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2093":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2094":{"toggle":{"__isSmartRef__":true,"id":2095},"toggleExpansion":{"__isSmartRef__":true,"id":2098}},"2095":{"varMapping":{"__isSmartRef__":true,"id":2096},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2096":{"this":{"__isSmartRef__":true,"id":2084}},"2097":{},"2098":{"varMapping":{"__isSmartRef__":true,"id":2099},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2100},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2099":{"this":{"__isSmartRef__":true,"id":2084}},"2100":{},"2101":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2102},"derivationIds":[null],"id":"54E8EAA3-FE36-4CAA-99B3-C04CDC9CD288","renderContextTable":{"__isSmartRef__":true,"id":2106},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2107},{"__isSmartRef__":true,"id":2109}],"eventHandler":{"__isSmartRef__":true,"id":2111},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2112},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2083},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2113},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2102":{"_Position":{"__isSmartRef__":true,"id":2103},"renderContextTable":{"__isSmartRef__":true,"id":2104},"_Extent":{"__isSmartRef__":true,"id":2105},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-54e8eaa3-fe36-4caa-99b3-c04cdc9cd288","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2103":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2104":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2105":{"x":193,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2106":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2107":{"style":{"__isSmartRef__":true,"id":2108},"chunkOwner":{"__isSmartRef__":true,"id":2101},"storedString":"_renderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2108":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2109":{"style":{"__isSmartRef__":true,"id":2110},"chunkOwner":{"__isSmartRef__":true,"id":2101},"storedString":": RenderContext","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2110":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2111":{"morph":{"__isSmartRef__":true,"id":2101},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2112":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2113":{"layoutText":{"__isSmartRef__":true,"id":2114}},"2114":{"varMapping":{"__isSmartRef__":true,"id":2115},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2116},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2115":{"this":{"__isSmartRef__":true,"id":2101}},"2116":{},"2117":{"_Position":{"__isSmartRef__":true,"id":2118},"renderContextTable":{"__isSmartRef__":true,"id":2119},"_Extent":{"__isSmartRef__":true,"id":2120},"_Padding":{"__isSmartRef__":true,"id":2121},"_NodeClass":["morph"],"_NodeId":"morph-63006c27-fb52-4f3f-ba76-6b5e126be107","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2118":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2119":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2120":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2121":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2122":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2123":{"morph":{"__isSmartRef__":true,"id":2083},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2124":{"resizeWidth":true},"2125":{"__LivelyClassName__":"lively.morphic.HTML.RenderContext","__SourceModuleName__":"Global.lively.morphic.HTML"},"2126":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2127":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2128":{"updateExpanderColor":{"__isSmartRef__":true,"id":2129},"onMouseDown":{"__isSmartRef__":true,"id":2132},"isRoot":{"__isSmartRef__":true,"id":2139},"displayValue":{"__isSmartRef__":true,"id":2142},"update":{"__isSmartRef__":true,"id":2145}},"2129":{"varMapping":{"__isSmartRef__":true,"id":2130},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2131},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2130":{"this":{"__isSmartRef__":true,"id":2083}},"2131":{},"2132":{"varMapping":{"__isSmartRef__":true,"id":2133},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2138},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2133":{"this":{"__isSmartRef__":true,"id":2083},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2134}},"2134":{"$super":{"__isSmartRef__":true,"id":2135}},"2135":{"varMapping":{"__isSmartRef__":true,"id":2136},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2137},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2136":{"obj":{"__isSmartRef__":true,"id":2083},"name":"onMouseDown"},"2137":{},"2138":{},"2139":{"varMapping":{"__isSmartRef__":true,"id":2140},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2140":{"this":{"__isSmartRef__":true,"id":2083}},"2141":{},"2142":{"varMapping":{"__isSmartRef__":true,"id":2143},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2144},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2143":{"this":{"__isSmartRef__":true,"id":2083}},"2144":{},"2145":{"varMapping":{"__isSmartRef__":true,"id":2146},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2146":{"this":{"__isSmartRef__":true,"id":2083}},"2147":{},"2148":{"_Position":{"__isSmartRef__":true,"id":2149},"renderContextTable":{"__isSmartRef__":true,"id":2150},"_Extent":{"__isSmartRef__":true,"id":2151},"_Padding":{"__isSmartRef__":true,"id":2152},"_NodeClass":["morph"],"_NodeId":"morph-e97aaa42-9cb6-4fe0-a159-8d6f51bd11ac","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2149":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2150":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2151":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2152":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2153":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2154":{"morph":{"__isSmartRef__":true,"id":2082},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2155":{"layouter":{"__isSmartRef__":true,"id":2156},"resizeWidth":true},"2156":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2082},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2157":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2158":{"x":0,"y":840,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2159":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2160}},"2160":{"varMapping":{"__isSmartRef__":true,"id":2161},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2166},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2161":{"this":{"__isSmartRef__":true,"id":2082},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2162}},"2162":{"$super":{"__isSmartRef__":true,"id":2163}},"2163":{"varMapping":{"__isSmartRef__":true,"id":2164},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2164":{"obj":{"__isSmartRef__":true,"id":2082},"name":"getLayoutableSubmorphs"},"2165":{},"2166":{},"2167":{"submorphs":[{"__isSmartRef__":true,"id":2168}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2232},"derivationIds":[null],"id":"0C3BB8DC-560F-439D-AA8C-EE2E98708E3A","renderContextTable":{"__isSmartRef__":true,"id":2237},"eventHandler":{"__isSmartRef__":true,"id":2238},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2239},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2241},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2242},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2243},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2168":{"submorphs":[{"__isSmartRef__":true,"id":2169},{"__isSmartRef__":true,"id":2186}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2202},"derivationIds":[null],"id":"A2FAB45F-4923-44B2-BBF6-9FC402C27FE4","renderContextTable":{"__isSmartRef__":true,"id":2207},"eventHandler":{"__isSmartRef__":true,"id":2208},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2209},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"alternate","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2169},"text":{"__isSmartRef__":true,"id":2186},"owner":{"__isSmartRef__":true,"id":2167},"_Position":{"__isSmartRef__":true,"id":2210},"priorExtent":{"__isSmartRef__":true,"id":2211},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2212},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2169":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2170},"derivationIds":[null],"id":"412B6AF4-993D-4A74-A58C-EA91E2970A89","renderContextTable":{"__isSmartRef__":true,"id":2176},"eventHandler":{"__isSmartRef__":true,"id":2177},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2178},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2168},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2179},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2170":{"_Position":{"__isSmartRef__":true,"id":2171},"renderContextTable":{"__isSmartRef__":true,"id":2172},"_Extent":{"__isSmartRef__":true,"id":2173},"_Padding":{"__isSmartRef__":true,"id":2174},"_NodeClass":["morph","box"],"_NodeId":"morph-412b6af4-993d-4a74-a58c-ea91e2970a89","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2175},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2171":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2172":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2173":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2174":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2175":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2176":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2177":{"morph":{"__isSmartRef__":true,"id":2169},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2178":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2179":{"toggle":{"__isSmartRef__":true,"id":2180},"toggleExpansion":{"__isSmartRef__":true,"id":2183}},"2180":{"varMapping":{"__isSmartRef__":true,"id":2181},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2181":{"this":{"__isSmartRef__":true,"id":2169}},"2182":{},"2183":{"varMapping":{"__isSmartRef__":true,"id":2184},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2185},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2184":{"this":{"__isSmartRef__":true,"id":2169}},"2185":{},"2186":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2187},"derivationIds":[null],"id":"EF3CDEC1-CF8E-46E9-A42B-36EFD27C0328","renderContextTable":{"__isSmartRef__":true,"id":2191},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2192},{"__isSmartRef__":true,"id":2194}],"eventHandler":{"__isSmartRef__":true,"id":2196},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2197},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2168},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2198},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2187":{"_Position":{"__isSmartRef__":true,"id":2188},"renderContextTable":{"__isSmartRef__":true,"id":2189},"_Extent":{"__isSmartRef__":true,"id":2190},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-ef3cdec1-cf8e-46e9-a42b-36efd27c0328","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2188":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2189":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2190":{"x":94,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2191":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2192":{"style":{"__isSmartRef__":true,"id":2193},"chunkOwner":{"__isSmartRef__":true,"id":2186},"storedString":"alternate","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2193":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2194":{"style":{"__isSmartRef__":true,"id":2195},"chunkOwner":{"__isSmartRef__":true,"id":2186},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2195":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2196":{"morph":{"__isSmartRef__":true,"id":2186},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2197":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2198":{"layoutText":{"__isSmartRef__":true,"id":2199}},"2199":{"varMapping":{"__isSmartRef__":true,"id":2200},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2200":{"this":{"__isSmartRef__":true,"id":2186}},"2201":{},"2202":{"_Position":{"__isSmartRef__":true,"id":2203},"renderContextTable":{"__isSmartRef__":true,"id":2204},"_Extent":{"__isSmartRef__":true,"id":2205},"_Padding":{"__isSmartRef__":true,"id":2206},"_NodeClass":["morph"],"_NodeId":"morph-a2fab45f-4923-44b2-bbf6-9fc402c27fe4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2203":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2205":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2206":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2207":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2208":{"morph":{"__isSmartRef__":true,"id":2168},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2209":{"resizeWidth":true},"2210":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2211":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2212":{"updateExpanderColor":{"__isSmartRef__":true,"id":2213},"onMouseDown":{"__isSmartRef__":true,"id":2216},"isRoot":{"__isSmartRef__":true,"id":2223},"displayValue":{"__isSmartRef__":true,"id":2226},"update":{"__isSmartRef__":true,"id":2229}},"2213":{"varMapping":{"__isSmartRef__":true,"id":2214},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2215},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2214":{"this":{"__isSmartRef__":true,"id":2168}},"2215":{},"2216":{"varMapping":{"__isSmartRef__":true,"id":2217},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2222},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2217":{"this":{"__isSmartRef__":true,"id":2168},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2218}},"2218":{"$super":{"__isSmartRef__":true,"id":2219}},"2219":{"varMapping":{"__isSmartRef__":true,"id":2220},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2221},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2220":{"obj":{"__isSmartRef__":true,"id":2168},"name":"onMouseDown"},"2221":{},"2222":{},"2223":{"varMapping":{"__isSmartRef__":true,"id":2224},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2224":{"this":{"__isSmartRef__":true,"id":2168}},"2225":{},"2226":{"varMapping":{"__isSmartRef__":true,"id":2227},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2228},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2227":{"this":{"__isSmartRef__":true,"id":2168}},"2228":{},"2229":{"varMapping":{"__isSmartRef__":true,"id":2230},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2230":{"this":{"__isSmartRef__":true,"id":2168}},"2231":{},"2232":{"_Position":{"__isSmartRef__":true,"id":2233},"renderContextTable":{"__isSmartRef__":true,"id":2234},"_Extent":{"__isSmartRef__":true,"id":2235},"_Padding":{"__isSmartRef__":true,"id":2236},"_NodeClass":["morph"],"_NodeId":"morph-0c3bb8dc-560f-439d-aa8c-ee2e98708e3a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2233":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2234":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2235":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2236":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2237":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2238":{"morph":{"__isSmartRef__":true,"id":2167},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2239":{"layouter":{"__isSmartRef__":true,"id":2240},"resizeWidth":true},"2240":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2167},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2241":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2242":{"x":0,"y":820,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2243":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2244}},"2244":{"varMapping":{"__isSmartRef__":true,"id":2245},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2250},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2245":{"this":{"__isSmartRef__":true,"id":2167},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2246}},"2246":{"$super":{"__isSmartRef__":true,"id":2247}},"2247":{"varMapping":{"__isSmartRef__":true,"id":2248},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2248":{"obj":{"__isSmartRef__":true,"id":2167},"name":"getLayoutableSubmorphs"},"2249":{},"2250":{},"2251":{"submorphs":[{"__isSmartRef__":true,"id":2252}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2316},"derivationIds":[null],"id":"481B3AEA-D3F7-417C-ADC0-DDE8AEB0F9F4","renderContextTable":{"__isSmartRef__":true,"id":2321},"eventHandler":{"__isSmartRef__":true,"id":2322},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2323},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2325},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2326},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2327},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2252":{"submorphs":[{"__isSmartRef__":true,"id":2253},{"__isSmartRef__":true,"id":2270}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2286},"derivationIds":[null],"id":"363ED009-B525-4B95-AE3E-0ED408C9BC24","renderContextTable":{"__isSmartRef__":true,"id":2291},"eventHandler":{"__isSmartRef__":true,"id":2292},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2293},"grabbingEnabled":false,"draggingEnabled":false,"data":0.39269908169872414,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"angleStep","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2253},"text":{"__isSmartRef__":true,"id":2270},"owner":{"__isSmartRef__":true,"id":2251},"_Position":{"__isSmartRef__":true,"id":2294},"priorExtent":{"__isSmartRef__":true,"id":2295},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2296},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2253":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2254},"derivationIds":[null],"id":"6E6C49B3-B7A3-49E4-8F6D-DF8CC0771BBA","renderContextTable":{"__isSmartRef__":true,"id":2260},"eventHandler":{"__isSmartRef__":true,"id":2261},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2262},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2263},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2254":{"_Position":{"__isSmartRef__":true,"id":2255},"renderContextTable":{"__isSmartRef__":true,"id":2256},"_Extent":{"__isSmartRef__":true,"id":2257},"_Padding":{"__isSmartRef__":true,"id":2258},"_NodeClass":["morph","box"],"_NodeId":"morph-6e6c49b3-b7a3-49e4-8f6d-df8cc0771bba","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2259},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2255":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2256":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2257":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2258":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2259":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2260":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2261":{"morph":{"__isSmartRef__":true,"id":2253},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2262":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2263":{"toggle":{"__isSmartRef__":true,"id":2264},"toggleExpansion":{"__isSmartRef__":true,"id":2267}},"2264":{"varMapping":{"__isSmartRef__":true,"id":2265},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2265":{"this":{"__isSmartRef__":true,"id":2253}},"2266":{},"2267":{"varMapping":{"__isSmartRef__":true,"id":2268},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2269},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2268":{"this":{"__isSmartRef__":true,"id":2253}},"2269":{},"2270":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2271},"derivationIds":[null],"id":"4332220A-C42C-4304-AF66-5A69EBB314FA","renderContextTable":{"__isSmartRef__":true,"id":2275},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2276},{"__isSmartRef__":true,"id":2278}],"eventHandler":{"__isSmartRef__":true,"id":2280},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2281},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2282},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2271":{"_Position":{"__isSmartRef__":true,"id":2272},"renderContextTable":{"__isSmartRef__":true,"id":2273},"_Extent":{"__isSmartRef__":true,"id":2274},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-4332220a-c42c-4304-af66-5a69ebb314fa","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2272":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2273":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2274":{"x":204,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2275":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2276":{"style":{"__isSmartRef__":true,"id":2277},"chunkOwner":{"__isSmartRef__":true,"id":2270},"storedString":"angleStep","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2277":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2278":{"style":{"__isSmartRef__":true,"id":2279},"chunkOwner":{"__isSmartRef__":true,"id":2270},"storedString":": 0.39269908169872414","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2279":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2280":{"morph":{"__isSmartRef__":true,"id":2270},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2281":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2282":{"layoutText":{"__isSmartRef__":true,"id":2283}},"2283":{"varMapping":{"__isSmartRef__":true,"id":2284},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2284":{"this":{"__isSmartRef__":true,"id":2270}},"2285":{},"2286":{"_Position":{"__isSmartRef__":true,"id":2287},"renderContextTable":{"__isSmartRef__":true,"id":2288},"_Extent":{"__isSmartRef__":true,"id":2289},"_Padding":{"__isSmartRef__":true,"id":2290},"_NodeClass":["morph"],"_NodeId":"morph-363ed009-b525-4b95-ae3e-0ed408c9bc24","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2287":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2288":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2289":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2290":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2291":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2292":{"morph":{"__isSmartRef__":true,"id":2252},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2293":{"resizeWidth":true},"2294":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2295":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2296":{"updateExpanderColor":{"__isSmartRef__":true,"id":2297},"onMouseDown":{"__isSmartRef__":true,"id":2300},"isRoot":{"__isSmartRef__":true,"id":2307},"displayValue":{"__isSmartRef__":true,"id":2310},"update":{"__isSmartRef__":true,"id":2313}},"2297":{"varMapping":{"__isSmartRef__":true,"id":2298},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2299},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2298":{"this":{"__isSmartRef__":true,"id":2252}},"2299":{},"2300":{"varMapping":{"__isSmartRef__":true,"id":2301},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2306},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2301":{"this":{"__isSmartRef__":true,"id":2252},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2302}},"2302":{"$super":{"__isSmartRef__":true,"id":2303}},"2303":{"varMapping":{"__isSmartRef__":true,"id":2304},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2305},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2304":{"obj":{"__isSmartRef__":true,"id":2252},"name":"onMouseDown"},"2305":{},"2306":{},"2307":{"varMapping":{"__isSmartRef__":true,"id":2308},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2308":{"this":{"__isSmartRef__":true,"id":2252}},"2309":{},"2310":{"varMapping":{"__isSmartRef__":true,"id":2311},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2312},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2311":{"this":{"__isSmartRef__":true,"id":2252}},"2312":{},"2313":{"varMapping":{"__isSmartRef__":true,"id":2314},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2314":{"this":{"__isSmartRef__":true,"id":2252}},"2315":{},"2316":{"_Position":{"__isSmartRef__":true,"id":2317},"renderContextTable":{"__isSmartRef__":true,"id":2318},"_Extent":{"__isSmartRef__":true,"id":2319},"_Padding":{"__isSmartRef__":true,"id":2320},"_NodeClass":["morph"],"_NodeId":"morph-481b3aea-d3f7-417c-adc0-dde8aeb0f9f4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2317":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2318":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2319":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2320":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2321":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2322":{"morph":{"__isSmartRef__":true,"id":2251},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2323":{"layouter":{"__isSmartRef__":true,"id":2324},"resizeWidth":true},"2324":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2251},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2325":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2326":{"x":0,"y":800,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2327":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2328}},"2328":{"varMapping":{"__isSmartRef__":true,"id":2329},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2334},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2329":{"this":{"__isSmartRef__":true,"id":2251},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2330}},"2330":{"$super":{"__isSmartRef__":true,"id":2331}},"2331":{"varMapping":{"__isSmartRef__":true,"id":2332},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2332":{"obj":{"__isSmartRef__":true,"id":2251},"name":"getLayoutableSubmorphs"},"2333":{},"2334":{},"2335":{"submorphs":[{"__isSmartRef__":true,"id":2336}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2400},"derivationIds":[null],"id":"FB936959-B9D0-411F-924C-7C59379E6FA7","renderContextTable":{"__isSmartRef__":true,"id":2405},"eventHandler":{"__isSmartRef__":true,"id":2406},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2407},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2409},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2410},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2411},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2336":{"submorphs":[{"__isSmartRef__":true,"id":2337},{"__isSmartRef__":true,"id":2354}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2370},"derivationIds":[null],"id":"1F74AFAB-BAC8-4A64-BBE1-1BB2D83DFAF3","renderContextTable":{"__isSmartRef__":true,"id":2375},"eventHandler":{"__isSmartRef__":true,"id":2376},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2377},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"attributeConnections","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2337},"text":{"__isSmartRef__":true,"id":2354},"owner":{"__isSmartRef__":true,"id":2335},"_Position":{"__isSmartRef__":true,"id":2378},"priorExtent":{"__isSmartRef__":true,"id":2379},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2380},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2337":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2338},"derivationIds":[null],"id":"42371EA9-2C05-43C7-A398-C7975899806D","renderContextTable":{"__isSmartRef__":true,"id":2344},"eventHandler":{"__isSmartRef__":true,"id":2345},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2346},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2336},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2347},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2338":{"_Position":{"__isSmartRef__":true,"id":2339},"renderContextTable":{"__isSmartRef__":true,"id":2340},"_Extent":{"__isSmartRef__":true,"id":2341},"_Padding":{"__isSmartRef__":true,"id":2342},"_NodeClass":["morph","box"],"_NodeId":"morph-42371ea9-2c05-43c7-a398-c7975899806d","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2343},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2339":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2340":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2341":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2342":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2343":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2344":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2345":{"morph":{"__isSmartRef__":true,"id":2337},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2346":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2347":{"toggle":{"__isSmartRef__":true,"id":2348},"toggleExpansion":{"__isSmartRef__":true,"id":2351}},"2348":{"varMapping":{"__isSmartRef__":true,"id":2349},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2349":{"this":{"__isSmartRef__":true,"id":2337}},"2350":{},"2351":{"varMapping":{"__isSmartRef__":true,"id":2352},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2353},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2352":{"this":{"__isSmartRef__":true,"id":2337}},"2353":{},"2354":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2355},"derivationIds":[null],"id":"5B8CD14E-841A-4345-A27D-E5F8E4909528","renderContextTable":{"__isSmartRef__":true,"id":2359},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2360},{"__isSmartRef__":true,"id":2362}],"eventHandler":{"__isSmartRef__":true,"id":2364},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2365},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2336},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2366},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2355":{"_Position":{"__isSmartRef__":true,"id":2356},"renderContextTable":{"__isSmartRef__":true,"id":2357},"_Extent":{"__isSmartRef__":true,"id":2358},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-5b8cd14e-841a-4345-a27d-e5f8e4909528","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2356":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2357":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2358":{"x":144,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2359":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2360":{"style":{"__isSmartRef__":true,"id":2361},"chunkOwner":{"__isSmartRef__":true,"id":2354},"storedString":"attributeConnections","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2361":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2362":{"style":{"__isSmartRef__":true,"id":2363},"chunkOwner":{"__isSmartRef__":true,"id":2354},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2363":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2364":{"morph":{"__isSmartRef__":true,"id":2354},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2365":{"x":180,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2366":{"layoutText":{"__isSmartRef__":true,"id":2367}},"2367":{"varMapping":{"__isSmartRef__":true,"id":2368},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2368":{"this":{"__isSmartRef__":true,"id":2354}},"2369":{},"2370":{"_Position":{"__isSmartRef__":true,"id":2371},"renderContextTable":{"__isSmartRef__":true,"id":2372},"_Extent":{"__isSmartRef__":true,"id":2373},"_Padding":{"__isSmartRef__":true,"id":2374},"_NodeClass":["morph"],"_NodeId":"morph-1f74afab-bac8-4a64-bbe1-1bb2d83dfaf3","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2371":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2372":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2373":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2374":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2375":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2376":{"morph":{"__isSmartRef__":true,"id":2336},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2377":{"resizeWidth":true},"2378":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2379":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2380":{"updateExpanderColor":{"__isSmartRef__":true,"id":2381},"onMouseDown":{"__isSmartRef__":true,"id":2384},"isRoot":{"__isSmartRef__":true,"id":2391},"displayValue":{"__isSmartRef__":true,"id":2394},"update":{"__isSmartRef__":true,"id":2397}},"2381":{"varMapping":{"__isSmartRef__":true,"id":2382},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2383},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2382":{"this":{"__isSmartRef__":true,"id":2336}},"2383":{},"2384":{"varMapping":{"__isSmartRef__":true,"id":2385},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2390},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2385":{"this":{"__isSmartRef__":true,"id":2336},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2386}},"2386":{"$super":{"__isSmartRef__":true,"id":2387}},"2387":{"varMapping":{"__isSmartRef__":true,"id":2388},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2389},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2388":{"obj":{"__isSmartRef__":true,"id":2336},"name":"onMouseDown"},"2389":{},"2390":{},"2391":{"varMapping":{"__isSmartRef__":true,"id":2392},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2392":{"this":{"__isSmartRef__":true,"id":2336}},"2393":{},"2394":{"varMapping":{"__isSmartRef__":true,"id":2395},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2396},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2395":{"this":{"__isSmartRef__":true,"id":2336}},"2396":{},"2397":{"varMapping":{"__isSmartRef__":true,"id":2398},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2399},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2398":{"this":{"__isSmartRef__":true,"id":2336}},"2399":{},"2400":{"_Position":{"__isSmartRef__":true,"id":2401},"renderContextTable":{"__isSmartRef__":true,"id":2402},"_Extent":{"__isSmartRef__":true,"id":2403},"_Padding":{"__isSmartRef__":true,"id":2404},"_NodeClass":["morph"],"_NodeId":"morph-fb936959-b9d0-411f-924c-7c59379e6fa7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2401":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2402":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2403":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2404":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2405":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2406":{"morph":{"__isSmartRef__":true,"id":2335},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2407":{"layouter":{"__isSmartRef__":true,"id":2408},"resizeWidth":true},"2408":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2335},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2409":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2410":{"x":0,"y":780,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2411":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2412}},"2412":{"varMapping":{"__isSmartRef__":true,"id":2413},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2418},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2413":{"this":{"__isSmartRef__":true,"id":2335},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2414}},"2414":{"$super":{"__isSmartRef__":true,"id":2415}},"2415":{"varMapping":{"__isSmartRef__":true,"id":2416},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2417},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2416":{"obj":{"__isSmartRef__":true,"id":2335},"name":"getLayoutableSubmorphs"},"2417":{},"2418":{},"2419":{"submorphs":[{"__isSmartRef__":true,"id":2420}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2484},"derivationIds":[null],"id":"4491878E-A7FC-4501-9933-5D640CF3DBE0","renderContextTable":{"__isSmartRef__":true,"id":2489},"eventHandler":{"__isSmartRef__":true,"id":2490},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2491},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2493},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2494},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2495},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2420":{"submorphs":[{"__isSmartRef__":true,"id":2421},{"__isSmartRef__":true,"id":2438}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2454},"derivationIds":[null],"id":"415217EB-C50B-4518-9D6F-5A3B6F635EA8","renderContextTable":{"__isSmartRef__":true,"id":2459},"eventHandler":{"__isSmartRef__":true,"id":2460},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2461},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":198},{"__isSmartRef__":true,"id":268},{"__isSmartRef__":true,"id":337},{"__isSmartRef__":true,"id":419},{"__isSmartRef__":true,"id":501}],"propertyList":["0","1","2","3","4"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"connectingRods","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2421},"text":{"__isSmartRef__":true,"id":2438},"owner":{"__isSmartRef__":true,"id":2419},"_Position":{"__isSmartRef__":true,"id":2462},"priorExtent":{"__isSmartRef__":true,"id":2463},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2464},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2421":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2422},"derivationIds":[null],"id":"884C3CE0-2476-452E-A253-4C1ECFCF1185","renderContextTable":{"__isSmartRef__":true,"id":2428},"eventHandler":{"__isSmartRef__":true,"id":2429},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2430},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2420},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2431},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2422":{"_Position":{"__isSmartRef__":true,"id":2423},"renderContextTable":{"__isSmartRef__":true,"id":2424},"_Extent":{"__isSmartRef__":true,"id":2425},"_Padding":{"__isSmartRef__":true,"id":2426},"_NodeClass":["morph","box"],"_NodeId":"morph-884c3ce0-2476-452e-a253-4c1ecfcf1185","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2427},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2423":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2424":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2425":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2426":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2427":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2428":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2429":{"morph":{"__isSmartRef__":true,"id":2421},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2430":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2431":{"toggle":{"__isSmartRef__":true,"id":2432},"toggleExpansion":{"__isSmartRef__":true,"id":2435}},"2432":{"varMapping":{"__isSmartRef__":true,"id":2433},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2433":{"this":{"__isSmartRef__":true,"id":2421}},"2434":{},"2435":{"varMapping":{"__isSmartRef__":true,"id":2436},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2437},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2436":{"this":{"__isSmartRef__":true,"id":2421}},"2437":{},"2438":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2439},"derivationIds":[null],"id":"A2E23721-7506-4357-9E85-5BE2F39F69A7","renderContextTable":{"__isSmartRef__":true,"id":2443},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2444},{"__isSmartRef__":true,"id":2446}],"eventHandler":{"__isSmartRef__":true,"id":2448},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2449},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2420},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2450},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2439":{"_Position":{"__isSmartRef__":true,"id":2440},"renderContextTable":{"__isSmartRef__":true,"id":2441},"_Extent":{"__isSmartRef__":true,"id":2442},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-a2e23721-7506-4357-9e85-5be2f39f69a7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2440":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2441":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2442":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2443":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2444":{"style":{"__isSmartRef__":true,"id":2445},"chunkOwner":{"__isSmartRef__":true,"id":2438},"storedString":"connectingRods","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2445":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2446":{"style":{"__isSmartRef__":true,"id":2447},"chunkOwner":{"__isSmartRef__":true,"id":2438},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2447":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2448":{"morph":{"__isSmartRef__":true,"id":2438},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2449":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2450":{"layoutText":{"__isSmartRef__":true,"id":2451}},"2451":{"varMapping":{"__isSmartRef__":true,"id":2452},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2452":{"this":{"__isSmartRef__":true,"id":2438}},"2453":{},"2454":{"_Position":{"__isSmartRef__":true,"id":2455},"renderContextTable":{"__isSmartRef__":true,"id":2456},"_Extent":{"__isSmartRef__":true,"id":2457},"_Padding":{"__isSmartRef__":true,"id":2458},"_NodeClass":["morph"],"_NodeId":"morph-415217eb-c50b-4518-9d6f-5a3b6f635ea8","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2455":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2456":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2457":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2458":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2459":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2460":{"morph":{"__isSmartRef__":true,"id":2420},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2461":{"resizeWidth":true},"2462":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2463":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2464":{"updateExpanderColor":{"__isSmartRef__":true,"id":2465},"onMouseDown":{"__isSmartRef__":true,"id":2468},"isRoot":{"__isSmartRef__":true,"id":2475},"displayValue":{"__isSmartRef__":true,"id":2478},"update":{"__isSmartRef__":true,"id":2481}},"2465":{"varMapping":{"__isSmartRef__":true,"id":2466},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2467},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2466":{"this":{"__isSmartRef__":true,"id":2420}},"2467":{},"2468":{"varMapping":{"__isSmartRef__":true,"id":2469},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2474},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2469":{"this":{"__isSmartRef__":true,"id":2420},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2470}},"2470":{"$super":{"__isSmartRef__":true,"id":2471}},"2471":{"varMapping":{"__isSmartRef__":true,"id":2472},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2473},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2472":{"obj":{"__isSmartRef__":true,"id":2420},"name":"onMouseDown"},"2473":{},"2474":{},"2475":{"varMapping":{"__isSmartRef__":true,"id":2476},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2477},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2476":{"this":{"__isSmartRef__":true,"id":2420}},"2477":{},"2478":{"varMapping":{"__isSmartRef__":true,"id":2479},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2480},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2479":{"this":{"__isSmartRef__":true,"id":2420}},"2480":{},"2481":{"varMapping":{"__isSmartRef__":true,"id":2482},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2482":{"this":{"__isSmartRef__":true,"id":2420}},"2483":{},"2484":{"_Position":{"__isSmartRef__":true,"id":2485},"renderContextTable":{"__isSmartRef__":true,"id":2486},"_Extent":{"__isSmartRef__":true,"id":2487},"_Padding":{"__isSmartRef__":true,"id":2488},"_NodeClass":["morph"],"_NodeId":"morph-4491878e-a7fc-4501-9933-5d640cf3dbe0","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2485":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2486":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2487":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2488":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2489":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2490":{"morph":{"__isSmartRef__":true,"id":2419},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2491":{"layouter":{"__isSmartRef__":true,"id":2492},"resizeWidth":true},"2492":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2419},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2493":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2494":{"x":0,"y":760,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2495":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2496}},"2496":{"varMapping":{"__isSmartRef__":true,"id":2497},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2502},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2497":{"this":{"__isSmartRef__":true,"id":2419},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2498}},"2498":{"$super":{"__isSmartRef__":true,"id":2499}},"2499":{"varMapping":{"__isSmartRef__":true,"id":2500},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2500":{"obj":{"__isSmartRef__":true,"id":2419},"name":"getLayoutableSubmorphs"},"2501":{},"2502":{},"2503":{"submorphs":[{"__isSmartRef__":true,"id":2504}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2568},"derivationIds":[null],"id":"9940261C-EA39-4F01-A993-D0CB41C607A9","renderContextTable":{"__isSmartRef__":true,"id":2573},"eventHandler":{"__isSmartRef__":true,"id":2574},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2575},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2577},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2578},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2579},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2504":{"submorphs":[{"__isSmartRef__":true,"id":2505},{"__isSmartRef__":true,"id":2522}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2538},"derivationIds":[null],"id":"098BADD1-833A-41AE-883F-6855C3E34C41","renderContextTable":{"__isSmartRef__":true,"id":2543},"eventHandler":{"__isSmartRef__":true,"id":2544},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2545},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":164},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","__layered_droppingEnabled__","halosEnabled","_Position","owner","__SourceModuleName__","_ClipMode","attributeConnections","doNotSerialize","doNotCopyProperties","isLockOwner","showsHalos","_renderContext","_isRendered","_Rotation","_Scale"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"crank","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2505},"text":{"__isSmartRef__":true,"id":2522},"owner":{"__isSmartRef__":true,"id":2503},"_Position":{"__isSmartRef__":true,"id":2546},"priorExtent":{"__isSmartRef__":true,"id":2547},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2548},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2505":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2506},"derivationIds":[null],"id":"6E5EA181-6A1E-48F6-BECA-A98936ADB217","renderContextTable":{"__isSmartRef__":true,"id":2512},"eventHandler":{"__isSmartRef__":true,"id":2513},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2514},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2504},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2515},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2506":{"_Position":{"__isSmartRef__":true,"id":2507},"renderContextTable":{"__isSmartRef__":true,"id":2508},"_Extent":{"__isSmartRef__":true,"id":2509},"_Padding":{"__isSmartRef__":true,"id":2510},"_NodeClass":["morph","box"],"_NodeId":"morph-6e5ea181-6a1e-48f6-beca-a98936adb217","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2511},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2507":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2508":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2509":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2510":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2511":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2512":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2513":{"morph":{"__isSmartRef__":true,"id":2505},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2514":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2515":{"toggle":{"__isSmartRef__":true,"id":2516},"toggleExpansion":{"__isSmartRef__":true,"id":2519}},"2516":{"varMapping":{"__isSmartRef__":true,"id":2517},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2517":{"this":{"__isSmartRef__":true,"id":2505}},"2518":{},"2519":{"varMapping":{"__isSmartRef__":true,"id":2520},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2521},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2520":{"this":{"__isSmartRef__":true,"id":2505}},"2521":{},"2522":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2523},"derivationIds":[null],"id":"692AB41F-1159-4C76-838E-3C22DBC8B28C","renderContextTable":{"__isSmartRef__":true,"id":2527},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2528},{"__isSmartRef__":true,"id":2530}],"eventHandler":{"__isSmartRef__":true,"id":2532},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2533},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2504},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2534},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2523":{"_Position":{"__isSmartRef__":true,"id":2524},"renderContextTable":{"__isSmartRef__":true,"id":2525},"_Extent":{"__isSmartRef__":true,"id":2526},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-692ab41f-1159-4c76-838e-3c22dbc8b28c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2524":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2525":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2526":{"x":84,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2527":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2528":{"style":{"__isSmartRef__":true,"id":2529},"chunkOwner":{"__isSmartRef__":true,"id":2522},"storedString":"crank","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2529":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2530":{"style":{"__isSmartRef__":true,"id":2531},"chunkOwner":{"__isSmartRef__":true,"id":2522},"storedString":": Morph","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2531":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2532":{"morph":{"__isSmartRef__":true,"id":2522},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2533":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2534":{"layoutText":{"__isSmartRef__":true,"id":2535}},"2535":{"varMapping":{"__isSmartRef__":true,"id":2536},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2536":{"this":{"__isSmartRef__":true,"id":2522}},"2537":{},"2538":{"_Position":{"__isSmartRef__":true,"id":2539},"renderContextTable":{"__isSmartRef__":true,"id":2540},"_Extent":{"__isSmartRef__":true,"id":2541},"_Padding":{"__isSmartRef__":true,"id":2542},"_NodeClass":["morph"],"_NodeId":"morph-098badd1-833a-41ae-883f-6855c3e34c41","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2539":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2540":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2541":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2542":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2543":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2544":{"morph":{"__isSmartRef__":true,"id":2504},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2545":{"resizeWidth":true},"2546":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2547":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2548":{"updateExpanderColor":{"__isSmartRef__":true,"id":2549},"onMouseDown":{"__isSmartRef__":true,"id":2552},"isRoot":{"__isSmartRef__":true,"id":2559},"displayValue":{"__isSmartRef__":true,"id":2562},"update":{"__isSmartRef__":true,"id":2565}},"2549":{"varMapping":{"__isSmartRef__":true,"id":2550},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2551},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2550":{"this":{"__isSmartRef__":true,"id":2504}},"2551":{},"2552":{"varMapping":{"__isSmartRef__":true,"id":2553},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2558},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2553":{"this":{"__isSmartRef__":true,"id":2504},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2554}},"2554":{"$super":{"__isSmartRef__":true,"id":2555}},"2555":{"varMapping":{"__isSmartRef__":true,"id":2556},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2557},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2556":{"obj":{"__isSmartRef__":true,"id":2504},"name":"onMouseDown"},"2557":{},"2558":{},"2559":{"varMapping":{"__isSmartRef__":true,"id":2560},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2560":{"this":{"__isSmartRef__":true,"id":2504}},"2561":{},"2562":{"varMapping":{"__isSmartRef__":true,"id":2563},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2564},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2563":{"this":{"__isSmartRef__":true,"id":2504}},"2564":{},"2565":{"varMapping":{"__isSmartRef__":true,"id":2566},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2566":{"this":{"__isSmartRef__":true,"id":2504}},"2567":{},"2568":{"_Position":{"__isSmartRef__":true,"id":2569},"renderContextTable":{"__isSmartRef__":true,"id":2570},"_Extent":{"__isSmartRef__":true,"id":2571},"_Padding":{"__isSmartRef__":true,"id":2572},"_NodeClass":["morph"],"_NodeId":"morph-9940261c-ea39-4f01-a993-d0cb41c607a9","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2569":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2570":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2571":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2572":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2573":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2574":{"morph":{"__isSmartRef__":true,"id":2503},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2575":{"layouter":{"__isSmartRef__":true,"id":2576},"resizeWidth":true},"2576":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2503},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2577":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2578":{"x":0,"y":740,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2579":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2580}},"2580":{"varMapping":{"__isSmartRef__":true,"id":2581},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2586},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2581":{"this":{"__isSmartRef__":true,"id":2503},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2582}},"2582":{"$super":{"__isSmartRef__":true,"id":2583}},"2583":{"varMapping":{"__isSmartRef__":true,"id":2584},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2585},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2584":{"obj":{"__isSmartRef__":true,"id":2503},"name":"getLayoutableSubmorphs"},"2585":{},"2586":{},"2587":{"submorphs":[{"__isSmartRef__":true,"id":2588}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2652},"derivationIds":[null],"id":"2F14A5E0-FD48-4EC4-A8B2-9F86163A18EF","renderContextTable":{"__isSmartRef__":true,"id":2657},"eventHandler":{"__isSmartRef__":true,"id":2658},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2659},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2661},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2662},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2663},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2588":{"submorphs":[{"__isSmartRef__":true,"id":2589},{"__isSmartRef__":true,"id":2606}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2622},"derivationIds":[null],"id":"842B0941-3E19-4C6D-A1C3-943ACE5874F1","renderContextTable":{"__isSmartRef__":true,"id":2627},"eventHandler":{"__isSmartRef__":true,"id":2628},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2629},"grabbingEnabled":false,"draggingEnabled":false,"data":8.639379797372095,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"crankAngle","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2589},"text":{"__isSmartRef__":true,"id":2606},"owner":{"__isSmartRef__":true,"id":2587},"_Position":{"__isSmartRef__":true,"id":2630},"priorExtent":{"__isSmartRef__":true,"id":2631},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2632},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2589":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2590},"derivationIds":[null],"id":"56A3C9E6-C8FD-43BC-8D14-B9DCB3041325","renderContextTable":{"__isSmartRef__":true,"id":2596},"eventHandler":{"__isSmartRef__":true,"id":2597},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2598},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2588},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2599},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2590":{"_Position":{"__isSmartRef__":true,"id":2591},"renderContextTable":{"__isSmartRef__":true,"id":2592},"_Extent":{"__isSmartRef__":true,"id":2593},"_Padding":{"__isSmartRef__":true,"id":2594},"_NodeClass":["morph","box"],"_NodeId":"morph-56a3c9e6-c8fd-43bc-8d14-b9dcb3041325","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2595},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2591":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2592":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2593":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2594":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2595":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2596":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2597":{"morph":{"__isSmartRef__":true,"id":2589},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2598":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2599":{"toggle":{"__isSmartRef__":true,"id":2600},"toggleExpansion":{"__isSmartRef__":true,"id":2603}},"2600":{"varMapping":{"__isSmartRef__":true,"id":2601},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2602},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2601":{"this":{"__isSmartRef__":true,"id":2589}},"2602":{},"2603":{"varMapping":{"__isSmartRef__":true,"id":2604},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2605},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2604":{"this":{"__isSmartRef__":true,"id":2589}},"2605":{},"2606":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2607},"derivationIds":[null],"id":"6A295998-12C1-4267-8B77-08C8D5CD74B3","renderContextTable":{"__isSmartRef__":true,"id":2611},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2612},{"__isSmartRef__":true,"id":2614}],"eventHandler":{"__isSmartRef__":true,"id":2616},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2617},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2588},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2618},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2607":{"_Position":{"__isSmartRef__":true,"id":2608},"renderContextTable":{"__isSmartRef__":true,"id":2609},"_Extent":{"__isSmartRef__":true,"id":2610},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-6a295998-12c1-4267-8b77-08c8d5cd74b3","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2608":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2609":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2610":{"x":197,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2611":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2612":{"style":{"__isSmartRef__":true,"id":2613},"chunkOwner":{"__isSmartRef__":true,"id":2606},"storedString":"crankAngle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2613":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2614":{"style":{"__isSmartRef__":true,"id":2615},"chunkOwner":{"__isSmartRef__":true,"id":2606},"storedString":": 8.639379797372095","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2615":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2616":{"morph":{"__isSmartRef__":true,"id":2606},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2617":{"x":217.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2618":{"layoutText":{"__isSmartRef__":true,"id":2619}},"2619":{"varMapping":{"__isSmartRef__":true,"id":2620},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2621},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2620":{"this":{"__isSmartRef__":true,"id":2606}},"2621":{},"2622":{"_Position":{"__isSmartRef__":true,"id":2623},"renderContextTable":{"__isSmartRef__":true,"id":2624},"_Extent":{"__isSmartRef__":true,"id":2625},"_Padding":{"__isSmartRef__":true,"id":2626},"_NodeClass":["morph"],"_NodeId":"morph-842b0941-3e19-4c6d-a1c3-943ace5874f1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2623":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2624":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2625":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2626":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2627":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2628":{"morph":{"__isSmartRef__":true,"id":2588},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2629":{"resizeWidth":true},"2630":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2631":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2632":{"updateExpanderColor":{"__isSmartRef__":true,"id":2633},"onMouseDown":{"__isSmartRef__":true,"id":2636},"isRoot":{"__isSmartRef__":true,"id":2643},"displayValue":{"__isSmartRef__":true,"id":2646},"update":{"__isSmartRef__":true,"id":2649}},"2633":{"varMapping":{"__isSmartRef__":true,"id":2634},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2635},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2634":{"this":{"__isSmartRef__":true,"id":2588}},"2635":{},"2636":{"varMapping":{"__isSmartRef__":true,"id":2637},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2642},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2637":{"this":{"__isSmartRef__":true,"id":2588},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2638}},"2638":{"$super":{"__isSmartRef__":true,"id":2639}},"2639":{"varMapping":{"__isSmartRef__":true,"id":2640},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2641},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2640":{"obj":{"__isSmartRef__":true,"id":2588},"name":"onMouseDown"},"2641":{},"2642":{},"2643":{"varMapping":{"__isSmartRef__":true,"id":2644},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2645},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2644":{"this":{"__isSmartRef__":true,"id":2588}},"2645":{},"2646":{"varMapping":{"__isSmartRef__":true,"id":2647},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2648},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2647":{"this":{"__isSmartRef__":true,"id":2588}},"2648":{},"2649":{"varMapping":{"__isSmartRef__":true,"id":2650},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2650":{"this":{"__isSmartRef__":true,"id":2588}},"2651":{},"2652":{"_Position":{"__isSmartRef__":true,"id":2653},"renderContextTable":{"__isSmartRef__":true,"id":2654},"_Extent":{"__isSmartRef__":true,"id":2655},"_Padding":{"__isSmartRef__":true,"id":2656},"_NodeClass":["morph"],"_NodeId":"morph-2f14a5e0-fd48-4ec4-a8b2-9f86163a18ef","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2653":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2654":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2655":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2656":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2657":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2658":{"morph":{"__isSmartRef__":true,"id":2587},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2659":{"layouter":{"__isSmartRef__":true,"id":2660},"resizeWidth":true},"2660":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2587},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2661":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2662":{"x":0,"y":720,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2663":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2664}},"2664":{"varMapping":{"__isSmartRef__":true,"id":2665},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2670},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2665":{"this":{"__isSmartRef__":true,"id":2587},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2666}},"2666":{"$super":{"__isSmartRef__":true,"id":2667}},"2667":{"varMapping":{"__isSmartRef__":true,"id":2668},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2669},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2668":{"obj":{"__isSmartRef__":true,"id":2587},"name":"getLayoutableSubmorphs"},"2669":{},"2670":{},"2671":{"submorphs":[{"__isSmartRef__":true,"id":2672}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2736},"derivationIds":[null],"id":"96015D9D-F232-46CE-B2A0-7144F84434A8","renderContextTable":{"__isSmartRef__":true,"id":2741},"eventHandler":{"__isSmartRef__":true,"id":2742},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2743},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2745},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2746},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2747},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2672":{"submorphs":[{"__isSmartRef__":true,"id":2673},{"__isSmartRef__":true,"id":2690}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2706},"derivationIds":[null],"id":"B61BE257-6A13-4655-9CD0-24E3DA93B597","renderContextTable":{"__isSmartRef__":true,"id":2711},"eventHandler":{"__isSmartRef__":true,"id":2712},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2713},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":165},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","__layered_droppingEnabled__","halosEnabled","_Position","owner","__SourceModuleName__","_ClipMode","attributeConnections","doNotSerialize","doNotCopyProperties","isLockOwner","_renderContext","_isRendered","_Rotation","_Scale"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"crankPin","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2673},"text":{"__isSmartRef__":true,"id":2690},"owner":{"__isSmartRef__":true,"id":2671},"_Position":{"__isSmartRef__":true,"id":2714},"priorExtent":{"__isSmartRef__":true,"id":2715},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2716},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2673":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2674},"derivationIds":[null],"id":"E3C2D226-E084-484F-B392-510403D372D4","renderContextTable":{"__isSmartRef__":true,"id":2680},"eventHandler":{"__isSmartRef__":true,"id":2681},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2682},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2683},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2674":{"_Position":{"__isSmartRef__":true,"id":2675},"renderContextTable":{"__isSmartRef__":true,"id":2676},"_Extent":{"__isSmartRef__":true,"id":2677},"_Padding":{"__isSmartRef__":true,"id":2678},"_NodeClass":["morph","box"],"_NodeId":"morph-e3c2d226-e084-484f-b392-510403d372d4","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2679},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2675":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2676":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2677":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2678":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2679":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2680":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2681":{"morph":{"__isSmartRef__":true,"id":2673},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2682":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2683":{"toggle":{"__isSmartRef__":true,"id":2684},"toggleExpansion":{"__isSmartRef__":true,"id":2687}},"2684":{"varMapping":{"__isSmartRef__":true,"id":2685},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2685":{"this":{"__isSmartRef__":true,"id":2673}},"2686":{},"2687":{"varMapping":{"__isSmartRef__":true,"id":2688},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2689},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2688":{"this":{"__isSmartRef__":true,"id":2673}},"2689":{},"2690":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2691},"derivationIds":[null],"id":"D795ECAF-9081-4BB6-B6DC-6E32EE3F0B00","renderContextTable":{"__isSmartRef__":true,"id":2695},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2696},{"__isSmartRef__":true,"id":2698}],"eventHandler":{"__isSmartRef__":true,"id":2700},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2701},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2702},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2691":{"_Position":{"__isSmartRef__":true,"id":2692},"renderContextTable":{"__isSmartRef__":true,"id":2693},"_Extent":{"__isSmartRef__":true,"id":2694},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-d795ecaf-9081-4bb6-b6dc-6e32ee3f0b00","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2692":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2693":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2694":{"x":103,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2695":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2696":{"style":{"__isSmartRef__":true,"id":2697},"chunkOwner":{"__isSmartRef__":true,"id":2690},"storedString":"crankPin","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2697":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2698":{"style":{"__isSmartRef__":true,"id":2699},"chunkOwner":{"__isSmartRef__":true,"id":2690},"storedString":": Morph","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2699":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2700":{"morph":{"__isSmartRef__":true,"id":2690},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2701":{"x":112.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2702":{"layoutText":{"__isSmartRef__":true,"id":2703}},"2703":{"varMapping":{"__isSmartRef__":true,"id":2704},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2704":{"this":{"__isSmartRef__":true,"id":2690}},"2705":{},"2706":{"_Position":{"__isSmartRef__":true,"id":2707},"renderContextTable":{"__isSmartRef__":true,"id":2708},"_Extent":{"__isSmartRef__":true,"id":2709},"_Padding":{"__isSmartRef__":true,"id":2710},"_NodeClass":["morph"],"_NodeId":"morph-b61be257-6a13-4655-9cd0-24e3da93b597","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2707":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2708":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2709":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2710":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2711":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2712":{"morph":{"__isSmartRef__":true,"id":2672},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2713":{"resizeWidth":true},"2714":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2715":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2716":{"updateExpanderColor":{"__isSmartRef__":true,"id":2717},"onMouseDown":{"__isSmartRef__":true,"id":2720},"isRoot":{"__isSmartRef__":true,"id":2727},"displayValue":{"__isSmartRef__":true,"id":2730},"update":{"__isSmartRef__":true,"id":2733}},"2717":{"varMapping":{"__isSmartRef__":true,"id":2718},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2719},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2718":{"this":{"__isSmartRef__":true,"id":2672}},"2719":{},"2720":{"varMapping":{"__isSmartRef__":true,"id":2721},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2726},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2721":{"this":{"__isSmartRef__":true,"id":2672},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2722}},"2722":{"$super":{"__isSmartRef__":true,"id":2723}},"2723":{"varMapping":{"__isSmartRef__":true,"id":2724},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2725},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2724":{"obj":{"__isSmartRef__":true,"id":2672},"name":"onMouseDown"},"2725":{},"2726":{},"2727":{"varMapping":{"__isSmartRef__":true,"id":2728},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2729},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2728":{"this":{"__isSmartRef__":true,"id":2672}},"2729":{},"2730":{"varMapping":{"__isSmartRef__":true,"id":2731},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2732},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2731":{"this":{"__isSmartRef__":true,"id":2672}},"2732":{},"2733":{"varMapping":{"__isSmartRef__":true,"id":2734},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2734":{"this":{"__isSmartRef__":true,"id":2672}},"2735":{},"2736":{"_Position":{"__isSmartRef__":true,"id":2737},"renderContextTable":{"__isSmartRef__":true,"id":2738},"_Extent":{"__isSmartRef__":true,"id":2739},"_Padding":{"__isSmartRef__":true,"id":2740},"_NodeClass":["morph"],"_NodeId":"morph-96015d9d-f232-46ce-b2a0-7144f84434a8","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2737":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2738":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2739":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2740":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2741":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2742":{"morph":{"__isSmartRef__":true,"id":2671},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2743":{"layouter":{"__isSmartRef__":true,"id":2744},"resizeWidth":true},"2744":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2671},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2745":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2746":{"x":0,"y":700,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2747":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2748}},"2748":{"varMapping":{"__isSmartRef__":true,"id":2749},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2754},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2749":{"this":{"__isSmartRef__":true,"id":2671},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2750}},"2750":{"$super":{"__isSmartRef__":true,"id":2751}},"2751":{"varMapping":{"__isSmartRef__":true,"id":2752},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2753},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2752":{"obj":{"__isSmartRef__":true,"id":2671},"name":"getLayoutableSubmorphs"},"2753":{},"2754":{},"2755":{"submorphs":[{"__isSmartRef__":true,"id":2756}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2820},"derivationIds":[null],"id":"09E23821-87D5-4E12-A3D7-D3C4C4D06125","renderContextTable":{"__isSmartRef__":true,"id":2825},"eventHandler":{"__isSmartRef__":true,"id":2826},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2827},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2829},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2830},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2831},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2756":{"submorphs":[{"__isSmartRef__":true,"id":2757},{"__isSmartRef__":true,"id":2774}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2790},"derivationIds":[null],"id":"C0A1B18A-6256-405B-854C-8A8F2027B799","renderContextTable":{"__isSmartRef__":true,"id":2795},"eventHandler":{"__isSmartRef__":true,"id":2796},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2797},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":512},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","__layered_droppingEnabled__","halosEnabled","_Position","__SourceModuleName__","name","owner","_ClipMode","attributeConnections","doNotSerialize","doNotCopyProperties","isLockOwner","_renderContext","_isRendered","_Rotation","_Scale"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"crankPinCap","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2757},"text":{"__isSmartRef__":true,"id":2774},"owner":{"__isSmartRef__":true,"id":2755},"_Position":{"__isSmartRef__":true,"id":2798},"priorExtent":{"__isSmartRef__":true,"id":2799},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2800},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2757":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2758},"derivationIds":[null],"id":"D44AA3C2-2BF1-4C0E-AECB-02ED05907EC1","renderContextTable":{"__isSmartRef__":true,"id":2764},"eventHandler":{"__isSmartRef__":true,"id":2765},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2766},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2756},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2767},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2758":{"_Position":{"__isSmartRef__":true,"id":2759},"renderContextTable":{"__isSmartRef__":true,"id":2760},"_Extent":{"__isSmartRef__":true,"id":2761},"_Padding":{"__isSmartRef__":true,"id":2762},"_NodeClass":["morph","box"],"_NodeId":"morph-d44aa3c2-2bf1-4c0e-aecb-02ed05907ec1","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2763},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2759":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2760":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2761":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2762":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2763":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2764":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2765":{"morph":{"__isSmartRef__":true,"id":2757},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2766":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2767":{"toggle":{"__isSmartRef__":true,"id":2768},"toggleExpansion":{"__isSmartRef__":true,"id":2771}},"2768":{"varMapping":{"__isSmartRef__":true,"id":2769},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2769":{"this":{"__isSmartRef__":true,"id":2757}},"2770":{},"2771":{"varMapping":{"__isSmartRef__":true,"id":2772},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2773},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2772":{"this":{"__isSmartRef__":true,"id":2757}},"2773":{},"2774":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2775},"derivationIds":[null],"id":"5E720D0A-92C6-487C-AC6D-88C8176B2D85","renderContextTable":{"__isSmartRef__":true,"id":2779},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2780},{"__isSmartRef__":true,"id":2782}],"eventHandler":{"__isSmartRef__":true,"id":2784},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2785},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2756},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2786},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2775":{"_Position":{"__isSmartRef__":true,"id":2776},"renderContextTable":{"__isSmartRef__":true,"id":2777},"_Extent":{"__isSmartRef__":true,"id":2778},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-5e720d0a-92c6-487c-ac6d-88c8176b2d85","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2776":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2777":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2778":{"x":127,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2779":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2780":{"style":{"__isSmartRef__":true,"id":2781},"chunkOwner":{"__isSmartRef__":true,"id":2774},"storedString":"crankPinCap","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2781":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2782":{"style":{"__isSmartRef__":true,"id":2783},"chunkOwner":{"__isSmartRef__":true,"id":2774},"storedString":": Morph","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2783":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2784":{"morph":{"__isSmartRef__":true,"id":2774},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2785":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2786":{"layoutText":{"__isSmartRef__":true,"id":2787}},"2787":{"varMapping":{"__isSmartRef__":true,"id":2788},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2789},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2788":{"this":{"__isSmartRef__":true,"id":2774}},"2789":{},"2790":{"_Position":{"__isSmartRef__":true,"id":2791},"renderContextTable":{"__isSmartRef__":true,"id":2792},"_Extent":{"__isSmartRef__":true,"id":2793},"_Padding":{"__isSmartRef__":true,"id":2794},"_NodeClass":["morph"],"_NodeId":"morph-c0a1b18a-6256-405b-854c-8a8f2027b799","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2791":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2792":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2793":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2794":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2795":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2796":{"morph":{"__isSmartRef__":true,"id":2756},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2797":{"resizeWidth":true},"2798":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2799":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2800":{"updateExpanderColor":{"__isSmartRef__":true,"id":2801},"onMouseDown":{"__isSmartRef__":true,"id":2804},"isRoot":{"__isSmartRef__":true,"id":2811},"displayValue":{"__isSmartRef__":true,"id":2814},"update":{"__isSmartRef__":true,"id":2817}},"2801":{"varMapping":{"__isSmartRef__":true,"id":2802},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2803},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2802":{"this":{"__isSmartRef__":true,"id":2756}},"2803":{},"2804":{"varMapping":{"__isSmartRef__":true,"id":2805},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2810},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2805":{"this":{"__isSmartRef__":true,"id":2756},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2806}},"2806":{"$super":{"__isSmartRef__":true,"id":2807}},"2807":{"varMapping":{"__isSmartRef__":true,"id":2808},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2809},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2808":{"obj":{"__isSmartRef__":true,"id":2756},"name":"onMouseDown"},"2809":{},"2810":{},"2811":{"varMapping":{"__isSmartRef__":true,"id":2812},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2813},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2812":{"this":{"__isSmartRef__":true,"id":2756}},"2813":{},"2814":{"varMapping":{"__isSmartRef__":true,"id":2815},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2816},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2815":{"this":{"__isSmartRef__":true,"id":2756}},"2816":{},"2817":{"varMapping":{"__isSmartRef__":true,"id":2818},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2818":{"this":{"__isSmartRef__":true,"id":2756}},"2819":{},"2820":{"_Position":{"__isSmartRef__":true,"id":2821},"renderContextTable":{"__isSmartRef__":true,"id":2822},"_Extent":{"__isSmartRef__":true,"id":2823},"_Padding":{"__isSmartRef__":true,"id":2824},"_NodeClass":["morph"],"_NodeId":"morph-09e23821-87d5-4e12-a3d7-d3c4c4d06125","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2821":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2822":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2823":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2824":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2825":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2826":{"morph":{"__isSmartRef__":true,"id":2755},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2827":{"layouter":{"__isSmartRef__":true,"id":2828},"resizeWidth":true},"2828":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2755},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2829":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2830":{"x":0,"y":680,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2831":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2832}},"2832":{"varMapping":{"__isSmartRef__":true,"id":2833},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2838},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2833":{"this":{"__isSmartRef__":true,"id":2755},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2834}},"2834":{"$super":{"__isSmartRef__":true,"id":2835}},"2835":{"varMapping":{"__isSmartRef__":true,"id":2836},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2837},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2836":{"obj":{"__isSmartRef__":true,"id":2755},"name":"getLayoutableSubmorphs"},"2837":{},"2838":{},"2839":{"submorphs":[{"__isSmartRef__":true,"id":2840}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2904},"derivationIds":[null],"id":"F304E2E4-B536-4B38-94F5-8BE1102176A2","renderContextTable":{"__isSmartRef__":true,"id":2909},"eventHandler":{"__isSmartRef__":true,"id":2910},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2911},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2913},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2914},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2915},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2840":{"submorphs":[{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2858}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2874},"derivationIds":[null],"id":"5759DFA5-1AF3-4328-B32D-564C3BBD22AE","renderContextTable":{"__isSmartRef__":true,"id":2879},"eventHandler":{"__isSmartRef__":true,"id":2880},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2881},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":764},"propertyList":["fill","borderColor","borderWidth"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"crankPinStyle","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2841},"text":{"__isSmartRef__":true,"id":2858},"owner":{"__isSmartRef__":true,"id":2839},"_Position":{"__isSmartRef__":true,"id":2882},"priorExtent":{"__isSmartRef__":true,"id":2883},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2884},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2841":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2842},"derivationIds":[null],"id":"302CC61D-A417-43E7-AB15-649386413D63","renderContextTable":{"__isSmartRef__":true,"id":2848},"eventHandler":{"__isSmartRef__":true,"id":2849},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2850},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2851},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2842":{"_Position":{"__isSmartRef__":true,"id":2843},"renderContextTable":{"__isSmartRef__":true,"id":2844},"_Extent":{"__isSmartRef__":true,"id":2845},"_Padding":{"__isSmartRef__":true,"id":2846},"_NodeClass":["morph","box"],"_NodeId":"morph-302cc61d-a417-43e7-ab15-649386413d63","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2847},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2843":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2844":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2845":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2846":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2847":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2848":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2849":{"morph":{"__isSmartRef__":true,"id":2841},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2850":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2851":{"toggle":{"__isSmartRef__":true,"id":2852},"toggleExpansion":{"__isSmartRef__":true,"id":2855}},"2852":{"varMapping":{"__isSmartRef__":true,"id":2853},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2853":{"this":{"__isSmartRef__":true,"id":2841}},"2854":{},"2855":{"varMapping":{"__isSmartRef__":true,"id":2856},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2857},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2856":{"this":{"__isSmartRef__":true,"id":2841}},"2857":{},"2858":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2859},"derivationIds":[null],"id":"08014FA2-71FE-402E-9A90-0A2DCC05780C","renderContextTable":{"__isSmartRef__":true,"id":2863},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2864},{"__isSmartRef__":true,"id":2866}],"eventHandler":{"__isSmartRef__":true,"id":2868},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2869},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2870},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2859":{"_Position":{"__isSmartRef__":true,"id":2860},"renderContextTable":{"__isSmartRef__":true,"id":2861},"_Extent":{"__isSmartRef__":true,"id":2862},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-08014fa2-71fe-402e-9a90-0a2dcc05780c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2860":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2861":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2862":{"x":117,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2863":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2864":{"style":{"__isSmartRef__":true,"id":2865},"chunkOwner":{"__isSmartRef__":true,"id":2858},"storedString":"crankPinStyle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2865":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2866":{"style":{"__isSmartRef__":true,"id":2867},"chunkOwner":{"__isSmartRef__":true,"id":2858},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2867":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2868":{"morph":{"__isSmartRef__":true,"id":2858},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2869":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2870":{"layoutText":{"__isSmartRef__":true,"id":2871}},"2871":{"varMapping":{"__isSmartRef__":true,"id":2872},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2872":{"this":{"__isSmartRef__":true,"id":2858}},"2873":{},"2874":{"_Position":{"__isSmartRef__":true,"id":2875},"renderContextTable":{"__isSmartRef__":true,"id":2876},"_Extent":{"__isSmartRef__":true,"id":2877},"_Padding":{"__isSmartRef__":true,"id":2878},"_NodeClass":["morph"],"_NodeId":"morph-5759dfa5-1af3-4328-b32d-564c3bbd22ae","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2875":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2876":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2877":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2878":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2879":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2880":{"morph":{"__isSmartRef__":true,"id":2840},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2881":{"resizeWidth":true},"2882":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2883":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2884":{"updateExpanderColor":{"__isSmartRef__":true,"id":2885},"onMouseDown":{"__isSmartRef__":true,"id":2888},"isRoot":{"__isSmartRef__":true,"id":2895},"displayValue":{"__isSmartRef__":true,"id":2898},"update":{"__isSmartRef__":true,"id":2901}},"2885":{"varMapping":{"__isSmartRef__":true,"id":2886},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2887},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2886":{"this":{"__isSmartRef__":true,"id":2840}},"2887":{},"2888":{"varMapping":{"__isSmartRef__":true,"id":2889},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2894},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2889":{"this":{"__isSmartRef__":true,"id":2840},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2890}},"2890":{"$super":{"__isSmartRef__":true,"id":2891}},"2891":{"varMapping":{"__isSmartRef__":true,"id":2892},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2892":{"obj":{"__isSmartRef__":true,"id":2840},"name":"onMouseDown"},"2893":{},"2894":{},"2895":{"varMapping":{"__isSmartRef__":true,"id":2896},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2897},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2896":{"this":{"__isSmartRef__":true,"id":2840}},"2897":{},"2898":{"varMapping":{"__isSmartRef__":true,"id":2899},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2899":{"this":{"__isSmartRef__":true,"id":2840}},"2900":{},"2901":{"varMapping":{"__isSmartRef__":true,"id":2902},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2902":{"this":{"__isSmartRef__":true,"id":2840}},"2903":{},"2904":{"_Position":{"__isSmartRef__":true,"id":2905},"renderContextTable":{"__isSmartRef__":true,"id":2906},"_Extent":{"__isSmartRef__":true,"id":2907},"_Padding":{"__isSmartRef__":true,"id":2908},"_NodeClass":["morph"],"_NodeId":"morph-f304e2e4-b536-4b38-94f5-8be1102176a2","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2905":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2906":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2907":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2908":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2909":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2910":{"morph":{"__isSmartRef__":true,"id":2839},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2911":{"layouter":{"__isSmartRef__":true,"id":2912},"resizeWidth":true},"2912":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2839},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2913":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2914":{"x":0,"y":660,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2915":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":2916}},"2916":{"varMapping":{"__isSmartRef__":true,"id":2917},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":2922},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2917":{"this":{"__isSmartRef__":true,"id":2839},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2918}},"2918":{"$super":{"__isSmartRef__":true,"id":2919}},"2919":{"varMapping":{"__isSmartRef__":true,"id":2920},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2921},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2920":{"obj":{"__isSmartRef__":true,"id":2839},"name":"getLayoutableSubmorphs"},"2921":{},"2922":{},"2923":{"submorphs":[{"__isSmartRef__":true,"id":2924}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2988},"derivationIds":[null],"id":"5AF7584C-56DB-4C08-A0CC-1D00D3A75C07","renderContextTable":{"__isSmartRef__":true,"id":2993},"eventHandler":{"__isSmartRef__":true,"id":2994},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2995},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":2997},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":2998},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2999},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2924":{"submorphs":[{"__isSmartRef__":true,"id":2925},{"__isSmartRef__":true,"id":2942}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2958},"derivationIds":[null],"id":"B99D68A7-AD5A-4A0E-8BFD-E61F03CD0992","renderContextTable":{"__isSmartRef__":true,"id":2963},"eventHandler":{"__isSmartRef__":true,"id":2964},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":2965},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":418},{"__isSmartRef__":true,"id":500}],"propertyList":["0","1","2","3","4"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"cylinders","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":2925},"text":{"__isSmartRef__":true,"id":2942},"owner":{"__isSmartRef__":true,"id":2923},"_Position":{"__isSmartRef__":true,"id":2966},"priorExtent":{"__isSmartRef__":true,"id":2967},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2968},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"2925":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2926},"derivationIds":[null],"id":"3DD88A53-64E2-4DF9-B779-9FE5C967F130","renderContextTable":{"__isSmartRef__":true,"id":2932},"eventHandler":{"__isSmartRef__":true,"id":2933},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":2934},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":2924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2935},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"2926":{"_Position":{"__isSmartRef__":true,"id":2927},"renderContextTable":{"__isSmartRef__":true,"id":2928},"_Extent":{"__isSmartRef__":true,"id":2929},"_Padding":{"__isSmartRef__":true,"id":2930},"_NodeClass":["morph","box"],"_NodeId":"morph-3dd88a53-64e2-4df9-b779-9fe5c967f130","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":2931},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2927":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2928":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2929":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2930":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2931":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2932":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2933":{"morph":{"__isSmartRef__":true,"id":2925},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2934":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2935":{"toggle":{"__isSmartRef__":true,"id":2936},"toggleExpansion":{"__isSmartRef__":true,"id":2939}},"2936":{"varMapping":{"__isSmartRef__":true,"id":2937},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":2938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2937":{"this":{"__isSmartRef__":true,"id":2925}},"2938":{},"2939":{"varMapping":{"__isSmartRef__":true,"id":2940},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":2941},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2940":{"this":{"__isSmartRef__":true,"id":2925}},"2941":{},"2942":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2943},"derivationIds":[null],"id":"B1384D6D-462B-46CF-9C5A-8A907708989E","renderContextTable":{"__isSmartRef__":true,"id":2947},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":2948},{"__isSmartRef__":true,"id":2950}],"eventHandler":{"__isSmartRef__":true,"id":2952},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":2953},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":2924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2954},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2943":{"_Position":{"__isSmartRef__":true,"id":2944},"renderContextTable":{"__isSmartRef__":true,"id":2945},"_Extent":{"__isSmartRef__":true,"id":2946},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-b1384d6d-462b-46cf-9c5a-8a907708989e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2944":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2945":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2946":{"x":88,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2947":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2948":{"style":{"__isSmartRef__":true,"id":2949},"chunkOwner":{"__isSmartRef__":true,"id":2942},"storedString":"cylinders","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2949":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2950":{"style":{"__isSmartRef__":true,"id":2951},"chunkOwner":{"__isSmartRef__":true,"id":2942},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2951":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2952":{"morph":{"__isSmartRef__":true,"id":2942},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2953":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2954":{"layoutText":{"__isSmartRef__":true,"id":2955}},"2955":{"varMapping":{"__isSmartRef__":true,"id":2956},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":2957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2956":{"this":{"__isSmartRef__":true,"id":2942}},"2957":{},"2958":{"_Position":{"__isSmartRef__":true,"id":2959},"renderContextTable":{"__isSmartRef__":true,"id":2960},"_Extent":{"__isSmartRef__":true,"id":2961},"_Padding":{"__isSmartRef__":true,"id":2962},"_NodeClass":["morph"],"_NodeId":"morph-b99d68a7-ad5a-4a0e-8bfd-e61f03cd0992","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2959":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2960":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2961":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2962":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2963":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2964":{"morph":{"__isSmartRef__":true,"id":2924},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2965":{"resizeWidth":true},"2966":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2967":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2968":{"updateExpanderColor":{"__isSmartRef__":true,"id":2969},"onMouseDown":{"__isSmartRef__":true,"id":2972},"isRoot":{"__isSmartRef__":true,"id":2979},"displayValue":{"__isSmartRef__":true,"id":2982},"update":{"__isSmartRef__":true,"id":2985}},"2969":{"varMapping":{"__isSmartRef__":true,"id":2970},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":2971},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2970":{"this":{"__isSmartRef__":true,"id":2924}},"2971":{},"2972":{"varMapping":{"__isSmartRef__":true,"id":2973},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":2978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2973":{"this":{"__isSmartRef__":true,"id":2924},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2974}},"2974":{"$super":{"__isSmartRef__":true,"id":2975}},"2975":{"varMapping":{"__isSmartRef__":true,"id":2976},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2977},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2976":{"obj":{"__isSmartRef__":true,"id":2924},"name":"onMouseDown"},"2977":{},"2978":{},"2979":{"varMapping":{"__isSmartRef__":true,"id":2980},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":2981},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2980":{"this":{"__isSmartRef__":true,"id":2924}},"2981":{},"2982":{"varMapping":{"__isSmartRef__":true,"id":2983},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":2984},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2983":{"this":{"__isSmartRef__":true,"id":2924}},"2984":{},"2985":{"varMapping":{"__isSmartRef__":true,"id":2986},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":2987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"2986":{"this":{"__isSmartRef__":true,"id":2924}},"2987":{},"2988":{"_Position":{"__isSmartRef__":true,"id":2989},"renderContextTable":{"__isSmartRef__":true,"id":2990},"_Extent":{"__isSmartRef__":true,"id":2991},"_Padding":{"__isSmartRef__":true,"id":2992},"_NodeClass":["morph"],"_NodeId":"morph-5af7584c-56db-4c08-a0cc-1d00d3a75c07","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"2989":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2990":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"2991":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2992":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2993":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"2994":{"morph":{"__isSmartRef__":true,"id":2923},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"2995":{"layouter":{"__isSmartRef__":true,"id":2996},"resizeWidth":true},"2996":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":2923},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"2997":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2998":{"x":0,"y":640,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2999":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3000}},"3000":{"varMapping":{"__isSmartRef__":true,"id":3001},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3006},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3001":{"this":{"__isSmartRef__":true,"id":2923},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3002}},"3002":{"$super":{"__isSmartRef__":true,"id":3003}},"3003":{"varMapping":{"__isSmartRef__":true,"id":3004},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3005},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3004":{"obj":{"__isSmartRef__":true,"id":2923},"name":"getLayoutableSubmorphs"},"3005":{},"3006":{},"3007":{"submorphs":[{"__isSmartRef__":true,"id":3008}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3072},"derivationIds":[null],"id":"DAFB3212-6176-4208-8906-6E9E0B1C88C8","renderContextTable":{"__isSmartRef__":true,"id":3077},"eventHandler":{"__isSmartRef__":true,"id":3078},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3079},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3081},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3082},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3083},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3008":{"submorphs":[{"__isSmartRef__":true,"id":3009},{"__isSmartRef__":true,"id":3026}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3042},"derivationIds":[null],"id":"45E98B1E-31AC-4FF3-9740-22B18E5D6D9F","renderContextTable":{"__isSmartRef__":true,"id":3047},"eventHandler":{"__isSmartRef__":true,"id":3048},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3049},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1262},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","grabbingEnabled","__layered_droppingEnabled__","halosEnabled","_Position","priorExtent","value","toggle","isActive","normalFill","lighterFill","label","owner","menuItems","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"cylindersButton","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3009},"text":{"__isSmartRef__":true,"id":3026},"owner":{"__isSmartRef__":true,"id":3007},"_Position":{"__isSmartRef__":true,"id":3050},"priorExtent":{"__isSmartRef__":true,"id":3051},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3052},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3009":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3010},"derivationIds":[null],"id":"E88BC702-EEAB-4D0A-94D6-B12753AA9082","renderContextTable":{"__isSmartRef__":true,"id":3016},"eventHandler":{"__isSmartRef__":true,"id":3017},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3018},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3008},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3019},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3010":{"_Position":{"__isSmartRef__":true,"id":3011},"renderContextTable":{"__isSmartRef__":true,"id":3012},"_Extent":{"__isSmartRef__":true,"id":3013},"_Padding":{"__isSmartRef__":true,"id":3014},"_NodeClass":["morph","box"],"_NodeId":"morph-e88bc702-eeab-4d0a-94d6-b12753aa9082","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3015},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3011":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3012":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3013":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3014":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3015":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3016":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3017":{"morph":{"__isSmartRef__":true,"id":3009},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3018":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3019":{"toggle":{"__isSmartRef__":true,"id":3020},"toggleExpansion":{"__isSmartRef__":true,"id":3023}},"3020":{"varMapping":{"__isSmartRef__":true,"id":3021},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3021":{"this":{"__isSmartRef__":true,"id":3009}},"3022":{},"3023":{"varMapping":{"__isSmartRef__":true,"id":3024},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3025},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3024":{"this":{"__isSmartRef__":true,"id":3009}},"3025":{},"3026":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3027},"derivationIds":[null],"id":"89243760-1FE3-4F2B-8534-1DDDFF9553BF","renderContextTable":{"__isSmartRef__":true,"id":3031},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3034}],"eventHandler":{"__isSmartRef__":true,"id":3036},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3037},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3008},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3038},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3027":{"_Position":{"__isSmartRef__":true,"id":3028},"renderContextTable":{"__isSmartRef__":true,"id":3029},"_Extent":{"__isSmartRef__":true,"id":3030},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-89243760-1fe3-4f2b-8534-1dddff9553bf","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3028":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3029":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3030":{"x":144,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3031":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3032":{"style":{"__isSmartRef__":true,"id":3033},"chunkOwner":{"__isSmartRef__":true,"id":3026},"storedString":"cylindersButton","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3033":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3034":{"style":{"__isSmartRef__":true,"id":3035},"chunkOwner":{"__isSmartRef__":true,"id":3026},"storedString":": Button","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3035":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3036":{"morph":{"__isSmartRef__":true,"id":3026},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3037":{"x":172.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3038":{"layoutText":{"__isSmartRef__":true,"id":3039}},"3039":{"varMapping":{"__isSmartRef__":true,"id":3040},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3041},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3040":{"this":{"__isSmartRef__":true,"id":3026}},"3041":{},"3042":{"_Position":{"__isSmartRef__":true,"id":3043},"renderContextTable":{"__isSmartRef__":true,"id":3044},"_Extent":{"__isSmartRef__":true,"id":3045},"_Padding":{"__isSmartRef__":true,"id":3046},"_NodeClass":["morph"],"_NodeId":"morph-45e98b1e-31ac-4ff3-9740-22b18e5d6d9f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3043":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3044":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3045":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3046":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3047":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3048":{"morph":{"__isSmartRef__":true,"id":3008},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3049":{"resizeWidth":true},"3050":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3051":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3052":{"updateExpanderColor":{"__isSmartRef__":true,"id":3053},"onMouseDown":{"__isSmartRef__":true,"id":3056},"isRoot":{"__isSmartRef__":true,"id":3063},"displayValue":{"__isSmartRef__":true,"id":3066},"update":{"__isSmartRef__":true,"id":3069}},"3053":{"varMapping":{"__isSmartRef__":true,"id":3054},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3055},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3054":{"this":{"__isSmartRef__":true,"id":3008}},"3055":{},"3056":{"varMapping":{"__isSmartRef__":true,"id":3057},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3062},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3057":{"this":{"__isSmartRef__":true,"id":3008},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3058}},"3058":{"$super":{"__isSmartRef__":true,"id":3059}},"3059":{"varMapping":{"__isSmartRef__":true,"id":3060},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3061},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3060":{"obj":{"__isSmartRef__":true,"id":3008},"name":"onMouseDown"},"3061":{},"3062":{},"3063":{"varMapping":{"__isSmartRef__":true,"id":3064},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3065},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3064":{"this":{"__isSmartRef__":true,"id":3008}},"3065":{},"3066":{"varMapping":{"__isSmartRef__":true,"id":3067},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3068},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3067":{"this":{"__isSmartRef__":true,"id":3008}},"3068":{},"3069":{"varMapping":{"__isSmartRef__":true,"id":3070},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3070":{"this":{"__isSmartRef__":true,"id":3008}},"3071":{},"3072":{"_Position":{"__isSmartRef__":true,"id":3073},"renderContextTable":{"__isSmartRef__":true,"id":3074},"_Extent":{"__isSmartRef__":true,"id":3075},"_Padding":{"__isSmartRef__":true,"id":3076},"_NodeClass":["morph"],"_NodeId":"morph-dafb3212-6176-4208-8906-6e9e0b1c88c8","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3073":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3074":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3075":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3076":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3077":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3078":{"morph":{"__isSmartRef__":true,"id":3007},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3079":{"layouter":{"__isSmartRef__":true,"id":3080},"resizeWidth":true},"3080":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3007},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3081":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3082":{"x":0,"y":620,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3083":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3084}},"3084":{"varMapping":{"__isSmartRef__":true,"id":3085},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3090},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3085":{"this":{"__isSmartRef__":true,"id":3007},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3086}},"3086":{"$super":{"__isSmartRef__":true,"id":3087}},"3087":{"varMapping":{"__isSmartRef__":true,"id":3088},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3089},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3088":{"obj":{"__isSmartRef__":true,"id":3007},"name":"getLayoutableSubmorphs"},"3089":{},"3090":{},"3091":{"submorphs":[{"__isSmartRef__":true,"id":3092}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3156},"derivationIds":[null],"id":"3C0F7CCC-DD87-4351-B52C-6EEA42231AEB","renderContextTable":{"__isSmartRef__":true,"id":3161},"eventHandler":{"__isSmartRef__":true,"id":3162},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3163},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3165},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3166},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3167},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3092":{"submorphs":[{"__isSmartRef__":true,"id":3093},{"__isSmartRef__":true,"id":3110}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3126},"derivationIds":[null],"id":"20FFC366-D0F1-4A10-8133-7DFD00E10F27","renderContextTable":{"__isSmartRef__":true,"id":3131},"eventHandler":{"__isSmartRef__":true,"id":3132},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3133},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":907},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","__layered_droppingEnabled__","halosEnabled","_Position","items","itemMorphs","title","priorExtent","remainOnScreen","isEpiMorph","owner","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"cylindersMenu","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3093},"text":{"__isSmartRef__":true,"id":3110},"owner":{"__isSmartRef__":true,"id":3091},"_Position":{"__isSmartRef__":true,"id":3134},"priorExtent":{"__isSmartRef__":true,"id":3135},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3136},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3093":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3094},"derivationIds":[null],"id":"F76AD652-C555-4CE0-9A20-6131184A7ABB","renderContextTable":{"__isSmartRef__":true,"id":3100},"eventHandler":{"__isSmartRef__":true,"id":3101},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3102},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3092},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3103},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3094":{"_Position":{"__isSmartRef__":true,"id":3095},"renderContextTable":{"__isSmartRef__":true,"id":3096},"_Extent":{"__isSmartRef__":true,"id":3097},"_Padding":{"__isSmartRef__":true,"id":3098},"_NodeClass":["morph","box"],"_NodeId":"morph-f76ad652-c555-4ce0-9a20-6131184a7abb","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3099},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3095":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3096":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3097":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3098":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3099":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3100":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3101":{"morph":{"__isSmartRef__":true,"id":3093},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3102":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3103":{"toggle":{"__isSmartRef__":true,"id":3104},"toggleExpansion":{"__isSmartRef__":true,"id":3107}},"3104":{"varMapping":{"__isSmartRef__":true,"id":3105},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3105":{"this":{"__isSmartRef__":true,"id":3093}},"3106":{},"3107":{"varMapping":{"__isSmartRef__":true,"id":3108},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3109},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3108":{"this":{"__isSmartRef__":true,"id":3093}},"3109":{},"3110":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3111},"derivationIds":[null],"id":"9CD42986-82D5-4092-AB74-21D9734AE1DC","renderContextTable":{"__isSmartRef__":true,"id":3115},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3116},{"__isSmartRef__":true,"id":3118}],"eventHandler":{"__isSmartRef__":true,"id":3120},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3121},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3092},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3122},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3111":{"_Position":{"__isSmartRef__":true,"id":3112},"renderContextTable":{"__isSmartRef__":true,"id":3113},"_Extent":{"__isSmartRef__":true,"id":3114},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-9cd42986-82d5-4092-ab74-21d9734ae1dc","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3112":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3113":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3114":{"x":132,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3115":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3116":{"style":{"__isSmartRef__":true,"id":3117},"chunkOwner":{"__isSmartRef__":true,"id":3110},"storedString":"cylindersMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3117":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3118":{"style":{"__isSmartRef__":true,"id":3119},"chunkOwner":{"__isSmartRef__":true,"id":3110},"storedString":": Menu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3119":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3120":{"morph":{"__isSmartRef__":true,"id":3110},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3121":{"x":142.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3122":{"layoutText":{"__isSmartRef__":true,"id":3123}},"3123":{"varMapping":{"__isSmartRef__":true,"id":3124},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3124":{"this":{"__isSmartRef__":true,"id":3110}},"3125":{},"3126":{"_Position":{"__isSmartRef__":true,"id":3127},"renderContextTable":{"__isSmartRef__":true,"id":3128},"_Extent":{"__isSmartRef__":true,"id":3129},"_Padding":{"__isSmartRef__":true,"id":3130},"_NodeClass":["morph"],"_NodeId":"morph-20ffc366-d0f1-4a10-8133-7dfd00e10f27","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3127":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3128":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3129":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3130":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3131":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3132":{"morph":{"__isSmartRef__":true,"id":3092},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3133":{"resizeWidth":true},"3134":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3135":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3136":{"updateExpanderColor":{"__isSmartRef__":true,"id":3137},"onMouseDown":{"__isSmartRef__":true,"id":3140},"isRoot":{"__isSmartRef__":true,"id":3147},"displayValue":{"__isSmartRef__":true,"id":3150},"update":{"__isSmartRef__":true,"id":3153}},"3137":{"varMapping":{"__isSmartRef__":true,"id":3138},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3139},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3138":{"this":{"__isSmartRef__":true,"id":3092}},"3139":{},"3140":{"varMapping":{"__isSmartRef__":true,"id":3141},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3146},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3141":{"this":{"__isSmartRef__":true,"id":3092},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3142}},"3142":{"$super":{"__isSmartRef__":true,"id":3143}},"3143":{"varMapping":{"__isSmartRef__":true,"id":3144},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3145},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3144":{"obj":{"__isSmartRef__":true,"id":3092},"name":"onMouseDown"},"3145":{},"3146":{},"3147":{"varMapping":{"__isSmartRef__":true,"id":3148},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3149},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3148":{"this":{"__isSmartRef__":true,"id":3092}},"3149":{},"3150":{"varMapping":{"__isSmartRef__":true,"id":3151},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3152},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3151":{"this":{"__isSmartRef__":true,"id":3092}},"3152":{},"3153":{"varMapping":{"__isSmartRef__":true,"id":3154},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3154":{"this":{"__isSmartRef__":true,"id":3092}},"3155":{},"3156":{"_Position":{"__isSmartRef__":true,"id":3157},"renderContextTable":{"__isSmartRef__":true,"id":3158},"_Extent":{"__isSmartRef__":true,"id":3159},"_Padding":{"__isSmartRef__":true,"id":3160},"_NodeClass":["morph"],"_NodeId":"morph-3c0f7ccc-dd87-4351-b52c-6eea42231aeb","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3157":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3158":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3159":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3160":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3161":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3162":{"morph":{"__isSmartRef__":true,"id":3091},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3163":{"layouter":{"__isSmartRef__":true,"id":3164},"resizeWidth":true},"3164":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3091},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3165":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3166":{"x":0,"y":600,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3167":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3168}},"3168":{"varMapping":{"__isSmartRef__":true,"id":3169},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3174},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3169":{"this":{"__isSmartRef__":true,"id":3091},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3170}},"3170":{"$super":{"__isSmartRef__":true,"id":3171}},"3171":{"varMapping":{"__isSmartRef__":true,"id":3172},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3173},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3172":{"obj":{"__isSmartRef__":true,"id":3091},"name":"getLayoutableSubmorphs"},"3173":{},"3174":{},"3175":{"submorphs":[{"__isSmartRef__":true,"id":3176}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3240},"derivationIds":[null],"id":"63FF1EAA-FB3A-4541-A993-8D3DFB77EDC2","renderContextTable":{"__isSmartRef__":true,"id":3245},"eventHandler":{"__isSmartRef__":true,"id":3246},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3247},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3249},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3250},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3251},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3176":{"submorphs":[{"__isSmartRef__":true,"id":3177},{"__isSmartRef__":true,"id":3194}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3210},"derivationIds":[null],"id":"180C784D-9A3D-4E0F-BA5B-7D977F0E58E1","renderContextTable":{"__isSmartRef__":true,"id":3215},"eventHandler":{"__isSmartRef__":true,"id":3216},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3217},"grabbingEnabled":false,"draggingEnabled":false,"data":[339,"AA64DE74-9636-442A-B549-5E8AB2BB33D4"],"propertyList":["0","1"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"derivationIds","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3177},"text":{"__isSmartRef__":true,"id":3194},"owner":{"__isSmartRef__":true,"id":3175},"_Position":{"__isSmartRef__":true,"id":3218},"priorExtent":{"__isSmartRef__":true,"id":3219},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3220},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3177":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3178},"derivationIds":[null],"id":"B8C09B1C-B708-48CC-8824-9973462166E6","renderContextTable":{"__isSmartRef__":true,"id":3184},"eventHandler":{"__isSmartRef__":true,"id":3185},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3186},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3176},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3187},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3178":{"_Position":{"__isSmartRef__":true,"id":3179},"renderContextTable":{"__isSmartRef__":true,"id":3180},"_Extent":{"__isSmartRef__":true,"id":3181},"_Padding":{"__isSmartRef__":true,"id":3182},"_NodeClass":["morph","box"],"_NodeId":"morph-b8c09b1c-b708-48cc-8824-9973462166e6","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3183},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3179":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3180":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3181":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3182":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3183":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3184":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3185":{"morph":{"__isSmartRef__":true,"id":3177},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3186":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3187":{"toggle":{"__isSmartRef__":true,"id":3188},"toggleExpansion":{"__isSmartRef__":true,"id":3191}},"3188":{"varMapping":{"__isSmartRef__":true,"id":3189},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3189":{"this":{"__isSmartRef__":true,"id":3177}},"3190":{},"3191":{"varMapping":{"__isSmartRef__":true,"id":3192},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3193},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3192":{"this":{"__isSmartRef__":true,"id":3177}},"3193":{},"3194":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3195},"derivationIds":[null],"id":"B7386AA0-31ED-4102-A712-1F2D1002627D","renderContextTable":{"__isSmartRef__":true,"id":3199},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3200},{"__isSmartRef__":true,"id":3202}],"eventHandler":{"__isSmartRef__":true,"id":3204},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3205},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3176},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3206},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3195":{"_Position":{"__isSmartRef__":true,"id":3196},"renderContextTable":{"__isSmartRef__":true,"id":3197},"_Extent":{"__isSmartRef__":true,"id":3198},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-b7386aa0-31ed-4102-a712-1f2d1002627d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3196":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3197":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3198":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3199":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3200":{"style":{"__isSmartRef__":true,"id":3201},"chunkOwner":{"__isSmartRef__":true,"id":3194},"storedString":"derivationIds","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3201":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3202":{"style":{"__isSmartRef__":true,"id":3203},"chunkOwner":{"__isSmartRef__":true,"id":3194},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3203":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3204":{"morph":{"__isSmartRef__":true,"id":3194},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3205":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3206":{"layoutText":{"__isSmartRef__":true,"id":3207}},"3207":{"varMapping":{"__isSmartRef__":true,"id":3208},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3208":{"this":{"__isSmartRef__":true,"id":3194}},"3209":{},"3210":{"_Position":{"__isSmartRef__":true,"id":3211},"renderContextTable":{"__isSmartRef__":true,"id":3212},"_Extent":{"__isSmartRef__":true,"id":3213},"_Padding":{"__isSmartRef__":true,"id":3214},"_NodeClass":["morph"],"_NodeId":"morph-180c784d-9a3d-4e0f-ba5b-7d977f0e58e1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3211":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3212":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3213":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3214":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3215":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3216":{"morph":{"__isSmartRef__":true,"id":3176},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3217":{"resizeWidth":true},"3218":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3219":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3220":{"updateExpanderColor":{"__isSmartRef__":true,"id":3221},"onMouseDown":{"__isSmartRef__":true,"id":3224},"isRoot":{"__isSmartRef__":true,"id":3231},"displayValue":{"__isSmartRef__":true,"id":3234},"update":{"__isSmartRef__":true,"id":3237}},"3221":{"varMapping":{"__isSmartRef__":true,"id":3222},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3223},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3222":{"this":{"__isSmartRef__":true,"id":3176}},"3223":{},"3224":{"varMapping":{"__isSmartRef__":true,"id":3225},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3230},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3225":{"this":{"__isSmartRef__":true,"id":3176},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3226}},"3226":{"$super":{"__isSmartRef__":true,"id":3227}},"3227":{"varMapping":{"__isSmartRef__":true,"id":3228},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3229},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3228":{"obj":{"__isSmartRef__":true,"id":3176},"name":"onMouseDown"},"3229":{},"3230":{},"3231":{"varMapping":{"__isSmartRef__":true,"id":3232},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3233},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3232":{"this":{"__isSmartRef__":true,"id":3176}},"3233":{},"3234":{"varMapping":{"__isSmartRef__":true,"id":3235},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3236},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3235":{"this":{"__isSmartRef__":true,"id":3176}},"3236":{},"3237":{"varMapping":{"__isSmartRef__":true,"id":3238},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3239},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3238":{"this":{"__isSmartRef__":true,"id":3176}},"3239":{},"3240":{"_Position":{"__isSmartRef__":true,"id":3241},"renderContextTable":{"__isSmartRef__":true,"id":3242},"_Extent":{"__isSmartRef__":true,"id":3243},"_Padding":{"__isSmartRef__":true,"id":3244},"_NodeClass":["morph"],"_NodeId":"morph-63ff1eaa-fb3a-4541-a993-8d3dfb77edc2","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3241":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3242":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3243":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3244":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3245":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3246":{"morph":{"__isSmartRef__":true,"id":3175},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3247":{"layouter":{"__isSmartRef__":true,"id":3248},"resizeWidth":true},"3248":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3175},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3249":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3250":{"x":0,"y":580,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3251":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3252}},"3252":{"varMapping":{"__isSmartRef__":true,"id":3253},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3258},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3253":{"this":{"__isSmartRef__":true,"id":3175},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3254}},"3254":{"$super":{"__isSmartRef__":true,"id":3255}},"3255":{"varMapping":{"__isSmartRef__":true,"id":3256},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3257},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3256":{"obj":{"__isSmartRef__":true,"id":3175},"name":"getLayoutableSubmorphs"},"3257":{},"3258":{},"3259":{"submorphs":[{"__isSmartRef__":true,"id":3260}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3324},"derivationIds":[null],"id":"5BC660D7-13F5-4DFB-A847-EF125D9477F7","renderContextTable":{"__isSmartRef__":true,"id":3329},"eventHandler":{"__isSmartRef__":true,"id":3330},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3331},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3333},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3334},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3260":{"submorphs":[{"__isSmartRef__":true,"id":3261},{"__isSmartRef__":true,"id":3278}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3294},"derivationIds":[null],"id":"E20548F3-FE13-49D8-A8C2-AF66602F8E1E","renderContextTable":{"__isSmartRef__":true,"id":3299},"eventHandler":{"__isSmartRef__":true,"id":3300},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3301},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"doNotCopyProperties","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3261},"text":{"__isSmartRef__":true,"id":3278},"owner":{"__isSmartRef__":true,"id":3259},"_Position":{"__isSmartRef__":true,"id":3302},"priorExtent":{"__isSmartRef__":true,"id":3303},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3304},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3261":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3262},"derivationIds":[null],"id":"950F3F10-BD92-48F8-B7ED-2C26D8D8B1BB","renderContextTable":{"__isSmartRef__":true,"id":3268},"eventHandler":{"__isSmartRef__":true,"id":3269},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3270},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3271},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3262":{"_Position":{"__isSmartRef__":true,"id":3263},"renderContextTable":{"__isSmartRef__":true,"id":3264},"_Extent":{"__isSmartRef__":true,"id":3265},"_Padding":{"__isSmartRef__":true,"id":3266},"_NodeClass":["morph","box"],"_NodeId":"morph-950f3f10-bd92-48f8-b7ed-2c26d8d8b1bb","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3267},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3263":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3264":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3265":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3266":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3267":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3268":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3269":{"morph":{"__isSmartRef__":true,"id":3261},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3270":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3271":{"toggle":{"__isSmartRef__":true,"id":3272},"toggleExpansion":{"__isSmartRef__":true,"id":3275}},"3272":{"varMapping":{"__isSmartRef__":true,"id":3273},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3273":{"this":{"__isSmartRef__":true,"id":3261}},"3274":{},"3275":{"varMapping":{"__isSmartRef__":true,"id":3276},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3277},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3276":{"this":{"__isSmartRef__":true,"id":3261}},"3277":{},"3278":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3279},"derivationIds":[null],"id":"3CE9A831-2A56-45E6-9DD1-8CB7553A22DA","renderContextTable":{"__isSmartRef__":true,"id":3283},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3284},{"__isSmartRef__":true,"id":3286}],"eventHandler":{"__isSmartRef__":true,"id":3288},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3289},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3290},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3279":{"_Position":{"__isSmartRef__":true,"id":3280},"renderContextTable":{"__isSmartRef__":true,"id":3281},"_Extent":{"__isSmartRef__":true,"id":3282},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-3ce9a831-2a56-45e6-9dd1-8cb7553a22da","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3280":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3281":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3282":{"x":149,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3283":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3284":{"style":{"__isSmartRef__":true,"id":3285},"chunkOwner":{"__isSmartRef__":true,"id":3278},"storedString":"doNotCopyProperties","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3285":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3286":{"style":{"__isSmartRef__":true,"id":3287},"chunkOwner":{"__isSmartRef__":true,"id":3278},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3287":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3288":{"morph":{"__isSmartRef__":true,"id":3278},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3289":{"x":172.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3290":{"layoutText":{"__isSmartRef__":true,"id":3291}},"3291":{"varMapping":{"__isSmartRef__":true,"id":3292},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3292":{"this":{"__isSmartRef__":true,"id":3278}},"3293":{},"3294":{"_Position":{"__isSmartRef__":true,"id":3295},"renderContextTable":{"__isSmartRef__":true,"id":3296},"_Extent":{"__isSmartRef__":true,"id":3297},"_Padding":{"__isSmartRef__":true,"id":3298},"_NodeClass":["morph"],"_NodeId":"morph-e20548f3-fe13-49d8-a8c2-af66602f8e1e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3295":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3296":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3297":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3298":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3299":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3300":{"morph":{"__isSmartRef__":true,"id":3260},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3301":{"resizeWidth":true},"3302":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3303":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3304":{"updateExpanderColor":{"__isSmartRef__":true,"id":3305},"onMouseDown":{"__isSmartRef__":true,"id":3308},"isRoot":{"__isSmartRef__":true,"id":3315},"displayValue":{"__isSmartRef__":true,"id":3318},"update":{"__isSmartRef__":true,"id":3321}},"3305":{"varMapping":{"__isSmartRef__":true,"id":3306},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3307},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3306":{"this":{"__isSmartRef__":true,"id":3260}},"3307":{},"3308":{"varMapping":{"__isSmartRef__":true,"id":3309},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3314},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3309":{"this":{"__isSmartRef__":true,"id":3260},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3310}},"3310":{"$super":{"__isSmartRef__":true,"id":3311}},"3311":{"varMapping":{"__isSmartRef__":true,"id":3312},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3313},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3312":{"obj":{"__isSmartRef__":true,"id":3260},"name":"onMouseDown"},"3313":{},"3314":{},"3315":{"varMapping":{"__isSmartRef__":true,"id":3316},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3317},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3316":{"this":{"__isSmartRef__":true,"id":3260}},"3317":{},"3318":{"varMapping":{"__isSmartRef__":true,"id":3319},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3320},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3319":{"this":{"__isSmartRef__":true,"id":3260}},"3320":{},"3321":{"varMapping":{"__isSmartRef__":true,"id":3322},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3323},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3322":{"this":{"__isSmartRef__":true,"id":3260}},"3323":{},"3324":{"_Position":{"__isSmartRef__":true,"id":3325},"renderContextTable":{"__isSmartRef__":true,"id":3326},"_Extent":{"__isSmartRef__":true,"id":3327},"_Padding":{"__isSmartRef__":true,"id":3328},"_NodeClass":["morph"],"_NodeId":"morph-5bc660d7-13f5-4dfb-a847-ef125d9477f7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3325":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3326":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3327":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3328":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3329":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3330":{"morph":{"__isSmartRef__":true,"id":3259},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3331":{"layouter":{"__isSmartRef__":true,"id":3332},"resizeWidth":true},"3332":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3259},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3333":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3334":{"x":0,"y":560,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3335":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3336}},"3336":{"varMapping":{"__isSmartRef__":true,"id":3337},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3342},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3337":{"this":{"__isSmartRef__":true,"id":3259},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3338}},"3338":{"$super":{"__isSmartRef__":true,"id":3339}},"3339":{"varMapping":{"__isSmartRef__":true,"id":3340},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3341},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3340":{"obj":{"__isSmartRef__":true,"id":3259},"name":"getLayoutableSubmorphs"},"3341":{},"3342":{},"3343":{"submorphs":[{"__isSmartRef__":true,"id":3344}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3408},"derivationIds":[null],"id":"AD1499FA-2B40-46BA-9997-157841379D9E","renderContextTable":{"__isSmartRef__":true,"id":3413},"eventHandler":{"__isSmartRef__":true,"id":3414},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3415},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3417},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3418},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3419},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3344":{"submorphs":[{"__isSmartRef__":true,"id":3345},{"__isSmartRef__":true,"id":3362}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3378},"derivationIds":[null],"id":"B543F50B-DCAA-4ADB-9A2E-7D54242CA787","renderContextTable":{"__isSmartRef__":true,"id":3383},"eventHandler":{"__isSmartRef__":true,"id":3384},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3385},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"doNotSerialize","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3345},"text":{"__isSmartRef__":true,"id":3362},"owner":{"__isSmartRef__":true,"id":3343},"_Position":{"__isSmartRef__":true,"id":3386},"priorExtent":{"__isSmartRef__":true,"id":3387},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3388},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3345":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3346},"derivationIds":[null],"id":"75D45558-47B2-4DA7-A114-6A9764A78FDB","renderContextTable":{"__isSmartRef__":true,"id":3352},"eventHandler":{"__isSmartRef__":true,"id":3353},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3354},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3344},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3355},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3346":{"_Position":{"__isSmartRef__":true,"id":3347},"renderContextTable":{"__isSmartRef__":true,"id":3348},"_Extent":{"__isSmartRef__":true,"id":3349},"_Padding":{"__isSmartRef__":true,"id":3350},"_NodeClass":["morph","box"],"_NodeId":"morph-75d45558-47b2-4da7-a114-6a9764a78fdb","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3351},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3347":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3348":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3349":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3350":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3351":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3352":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3353":{"morph":{"__isSmartRef__":true,"id":3345},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3354":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3355":{"toggle":{"__isSmartRef__":true,"id":3356},"toggleExpansion":{"__isSmartRef__":true,"id":3359}},"3356":{"varMapping":{"__isSmartRef__":true,"id":3357},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3357":{"this":{"__isSmartRef__":true,"id":3345}},"3358":{},"3359":{"varMapping":{"__isSmartRef__":true,"id":3360},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3361},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3360":{"this":{"__isSmartRef__":true,"id":3345}},"3361":{},"3362":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3363},"derivationIds":[null],"id":"2BE44304-B4B5-49EF-AC19-8FDEBAA59716","renderContextTable":{"__isSmartRef__":true,"id":3367},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3368},{"__isSmartRef__":true,"id":3370}],"eventHandler":{"__isSmartRef__":true,"id":3372},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3373},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3344},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3374},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3363":{"_Position":{"__isSmartRef__":true,"id":3364},"renderContextTable":{"__isSmartRef__":true,"id":3365},"_Extent":{"__isSmartRef__":true,"id":3366},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-2be44304-b4b5-49ef-ac19-8fdebaa59716","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3364":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3365":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3366":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3367":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3368":{"style":{"__isSmartRef__":true,"id":3369},"chunkOwner":{"__isSmartRef__":true,"id":3362},"storedString":"doNotSerialize","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3369":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3370":{"style":{"__isSmartRef__":true,"id":3371},"chunkOwner":{"__isSmartRef__":true,"id":3362},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3371":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3372":{"morph":{"__isSmartRef__":true,"id":3362},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3373":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3374":{"layoutText":{"__isSmartRef__":true,"id":3375}},"3375":{"varMapping":{"__isSmartRef__":true,"id":3376},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3377},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3376":{"this":{"__isSmartRef__":true,"id":3362}},"3377":{},"3378":{"_Position":{"__isSmartRef__":true,"id":3379},"renderContextTable":{"__isSmartRef__":true,"id":3380},"_Extent":{"__isSmartRef__":true,"id":3381},"_Padding":{"__isSmartRef__":true,"id":3382},"_NodeClass":["morph"],"_NodeId":"morph-b543f50b-dcaa-4adb-9a2e-7d54242ca787","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3379":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3380":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3381":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3382":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3383":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3384":{"morph":{"__isSmartRef__":true,"id":3344},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3385":{"resizeWidth":true},"3386":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3387":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3388":{"updateExpanderColor":{"__isSmartRef__":true,"id":3389},"onMouseDown":{"__isSmartRef__":true,"id":3392},"isRoot":{"__isSmartRef__":true,"id":3399},"displayValue":{"__isSmartRef__":true,"id":3402},"update":{"__isSmartRef__":true,"id":3405}},"3389":{"varMapping":{"__isSmartRef__":true,"id":3390},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3391},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3390":{"this":{"__isSmartRef__":true,"id":3344}},"3391":{},"3392":{"varMapping":{"__isSmartRef__":true,"id":3393},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3398},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3393":{"this":{"__isSmartRef__":true,"id":3344},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3394}},"3394":{"$super":{"__isSmartRef__":true,"id":3395}},"3395":{"varMapping":{"__isSmartRef__":true,"id":3396},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3397},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3396":{"obj":{"__isSmartRef__":true,"id":3344},"name":"onMouseDown"},"3397":{},"3398":{},"3399":{"varMapping":{"__isSmartRef__":true,"id":3400},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3401},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3400":{"this":{"__isSmartRef__":true,"id":3344}},"3401":{},"3402":{"varMapping":{"__isSmartRef__":true,"id":3403},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3404},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3403":{"this":{"__isSmartRef__":true,"id":3344}},"3404":{},"3405":{"varMapping":{"__isSmartRef__":true,"id":3406},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3406":{"this":{"__isSmartRef__":true,"id":3344}},"3407":{},"3408":{"_Position":{"__isSmartRef__":true,"id":3409},"renderContextTable":{"__isSmartRef__":true,"id":3410},"_Extent":{"__isSmartRef__":true,"id":3411},"_Padding":{"__isSmartRef__":true,"id":3412},"_NodeClass":["morph"],"_NodeId":"morph-ad1499fa-2b40-46ba-9997-157841379d9e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3409":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3410":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3411":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3412":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3413":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3414":{"morph":{"__isSmartRef__":true,"id":3343},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3415":{"layouter":{"__isSmartRef__":true,"id":3416},"resizeWidth":true},"3416":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3343},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3417":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3418":{"x":0,"y":540,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3419":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3420}},"3420":{"varMapping":{"__isSmartRef__":true,"id":3421},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3426},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3421":{"this":{"__isSmartRef__":true,"id":3343},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3422}},"3422":{"$super":{"__isSmartRef__":true,"id":3423}},"3423":{"varMapping":{"__isSmartRef__":true,"id":3424},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3425},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3424":{"obj":{"__isSmartRef__":true,"id":3343},"name":"getLayoutableSubmorphs"},"3425":{},"3426":{},"3427":{"submorphs":[{"__isSmartRef__":true,"id":3428}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3492},"derivationIds":[null],"id":"1ED28930-BA99-467E-AF59-5DCB40E56AC2","renderContextTable":{"__isSmartRef__":true,"id":3497},"eventHandler":{"__isSmartRef__":true,"id":3498},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3499},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3501},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3502},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3503},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3428":{"submorphs":[{"__isSmartRef__":true,"id":3429},{"__isSmartRef__":true,"id":3446}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3462},"derivationIds":[null],"id":"FD76BA2F-A4D2-469E-9D81-A1C35A301482","renderContextTable":{"__isSmartRef__":true,"id":3467},"eventHandler":{"__isSmartRef__":true,"id":3468},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3469},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":755},"propertyList":["morph","__SourceModuleName__","dispatchTable"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"eventHandler","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3429},"text":{"__isSmartRef__":true,"id":3446},"owner":{"__isSmartRef__":true,"id":3427},"_Position":{"__isSmartRef__":true,"id":3470},"priorExtent":{"__isSmartRef__":true,"id":3471},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3472},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3429":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3430},"derivationIds":[null],"id":"D0CB18BF-E95C-48B4-9DC6-0724FE67A8EC","renderContextTable":{"__isSmartRef__":true,"id":3436},"eventHandler":{"__isSmartRef__":true,"id":3437},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3438},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3439},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3430":{"_Position":{"__isSmartRef__":true,"id":3431},"renderContextTable":{"__isSmartRef__":true,"id":3432},"_Extent":{"__isSmartRef__":true,"id":3433},"_Padding":{"__isSmartRef__":true,"id":3434},"_NodeClass":["morph","box"],"_NodeId":"morph-d0cb18bf-e95c-48b4-9dc6-0724fe67a8ec","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3435},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3431":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3432":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3433":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3434":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3435":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3436":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3437":{"morph":{"__isSmartRef__":true,"id":3429},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3438":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3439":{"toggle":{"__isSmartRef__":true,"id":3440},"toggleExpansion":{"__isSmartRef__":true,"id":3443}},"3440":{"varMapping":{"__isSmartRef__":true,"id":3441},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3441":{"this":{"__isSmartRef__":true,"id":3429}},"3442":{},"3443":{"varMapping":{"__isSmartRef__":true,"id":3444},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3445},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3444":{"this":{"__isSmartRef__":true,"id":3429}},"3445":{},"3446":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3447},"derivationIds":[null],"id":"3FF622D9-C2AE-46F5-BA84-DD8F5759D5A8","renderContextTable":{"__isSmartRef__":true,"id":3451},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3452},{"__isSmartRef__":true,"id":3454}],"eventHandler":{"__isSmartRef__":true,"id":3456},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3457},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3458},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3447":{"_Position":{"__isSmartRef__":true,"id":3448},"renderContextTable":{"__isSmartRef__":true,"id":3449},"_Extent":{"__isSmartRef__":true,"id":3450},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-3ff622d9-c2ae-46f5-ba84-dd8f5759d5a8","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3448":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3449":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3450":{"x":172,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3451":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3452":{"style":{"__isSmartRef__":true,"id":3453},"chunkOwner":{"__isSmartRef__":true,"id":3446},"storedString":"eventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3453":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3454":{"style":{"__isSmartRef__":true,"id":3455},"chunkOwner":{"__isSmartRef__":true,"id":3446},"storedString":": EventHandler","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3455":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3456":{"morph":{"__isSmartRef__":true,"id":3446},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3457":{"x":195,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3458":{"layoutText":{"__isSmartRef__":true,"id":3459}},"3459":{"varMapping":{"__isSmartRef__":true,"id":3460},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3460":{"this":{"__isSmartRef__":true,"id":3446}},"3461":{},"3462":{"_Position":{"__isSmartRef__":true,"id":3463},"renderContextTable":{"__isSmartRef__":true,"id":3464},"_Extent":{"__isSmartRef__":true,"id":3465},"_Padding":{"__isSmartRef__":true,"id":3466},"_NodeClass":["morph"],"_NodeId":"morph-fd76ba2f-a4d2-469e-9d81-a1c35a301482","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3463":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3464":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3465":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3466":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3467":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3468":{"morph":{"__isSmartRef__":true,"id":3428},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3469":{"resizeWidth":true},"3470":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3471":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3472":{"updateExpanderColor":{"__isSmartRef__":true,"id":3473},"onMouseDown":{"__isSmartRef__":true,"id":3476},"isRoot":{"__isSmartRef__":true,"id":3483},"displayValue":{"__isSmartRef__":true,"id":3486},"update":{"__isSmartRef__":true,"id":3489}},"3473":{"varMapping":{"__isSmartRef__":true,"id":3474},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3475},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3474":{"this":{"__isSmartRef__":true,"id":3428}},"3475":{},"3476":{"varMapping":{"__isSmartRef__":true,"id":3477},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3482},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3477":{"this":{"__isSmartRef__":true,"id":3428},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3478}},"3478":{"$super":{"__isSmartRef__":true,"id":3479}},"3479":{"varMapping":{"__isSmartRef__":true,"id":3480},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3481},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3480":{"obj":{"__isSmartRef__":true,"id":3428},"name":"onMouseDown"},"3481":{},"3482":{},"3483":{"varMapping":{"__isSmartRef__":true,"id":3484},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3485},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3484":{"this":{"__isSmartRef__":true,"id":3428}},"3485":{},"3486":{"varMapping":{"__isSmartRef__":true,"id":3487},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3488},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3487":{"this":{"__isSmartRef__":true,"id":3428}},"3488":{},"3489":{"varMapping":{"__isSmartRef__":true,"id":3490},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3490":{"this":{"__isSmartRef__":true,"id":3428}},"3491":{},"3492":{"_Position":{"__isSmartRef__":true,"id":3493},"renderContextTable":{"__isSmartRef__":true,"id":3494},"_Extent":{"__isSmartRef__":true,"id":3495},"_Padding":{"__isSmartRef__":true,"id":3496},"_NodeClass":["morph"],"_NodeId":"morph-1ed28930-ba99-467e-af59-5dcb40e56ac2","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3493":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3494":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3495":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3496":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3497":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3498":{"morph":{"__isSmartRef__":true,"id":3427},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3499":{"layouter":{"__isSmartRef__":true,"id":3500},"resizeWidth":true},"3500":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3427},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3501":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3502":{"x":0,"y":520,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3503":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3504}},"3504":{"varMapping":{"__isSmartRef__":true,"id":3505},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3510},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3505":{"this":{"__isSmartRef__":true,"id":3427},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3506}},"3506":{"$super":{"__isSmartRef__":true,"id":3507}},"3507":{"varMapping":{"__isSmartRef__":true,"id":3508},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3509},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3508":{"obj":{"__isSmartRef__":true,"id":3427},"name":"getLayoutableSubmorphs"},"3509":{},"3510":{},"3511":{"submorphs":[{"__isSmartRef__":true,"id":3512}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3576},"derivationIds":[null],"id":"4245136F-A55A-4105-837B-CCF431380C3C","renderContextTable":{"__isSmartRef__":true,"id":3581},"eventHandler":{"__isSmartRef__":true,"id":3582},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3583},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3585},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3586},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3587},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3512":{"submorphs":[{"__isSmartRef__":true,"id":3513},{"__isSmartRef__":true,"id":3530}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3546},"derivationIds":[null],"id":"16BAAD67-2330-442F-A397-F668579CEBCA","renderContextTable":{"__isSmartRef__":true,"id":3551},"eventHandler":{"__isSmartRef__":true,"id":3552},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3553},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"halos","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3513},"text":{"__isSmartRef__":true,"id":3530},"owner":{"__isSmartRef__":true,"id":3511},"_Position":{"__isSmartRef__":true,"id":3554},"priorExtent":{"__isSmartRef__":true,"id":3555},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3556},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3513":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3514},"derivationIds":[null],"id":"E6D2ED77-92B1-4593-8339-E3F3DAE2574A","renderContextTable":{"__isSmartRef__":true,"id":3520},"eventHandler":{"__isSmartRef__":true,"id":3521},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3522},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3512},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3523},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3514":{"_Position":{"__isSmartRef__":true,"id":3515},"renderContextTable":{"__isSmartRef__":true,"id":3516},"_Extent":{"__isSmartRef__":true,"id":3517},"_Padding":{"__isSmartRef__":true,"id":3518},"_NodeClass":["morph","box"],"_NodeId":"morph-e6d2ed77-92b1-4593-8339-e3f3dae2574a","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3519},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3515":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3516":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3517":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3518":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3519":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3520":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3521":{"morph":{"__isSmartRef__":true,"id":3513},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3522":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3523":{"toggle":{"__isSmartRef__":true,"id":3524},"toggleExpansion":{"__isSmartRef__":true,"id":3527}},"3524":{"varMapping":{"__isSmartRef__":true,"id":3525},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3525":{"this":{"__isSmartRef__":true,"id":3513}},"3526":{},"3527":{"varMapping":{"__isSmartRef__":true,"id":3528},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3529},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3528":{"this":{"__isSmartRef__":true,"id":3513}},"3529":{},"3530":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3531},"derivationIds":[null],"id":"D65004D4-589E-443A-91BB-395272A11AF5","renderContextTable":{"__isSmartRef__":true,"id":3535},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3536},{"__isSmartRef__":true,"id":3538}],"eventHandler":{"__isSmartRef__":true,"id":3540},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3541},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3512},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3542},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3531":{"_Position":{"__isSmartRef__":true,"id":3532},"renderContextTable":{"__isSmartRef__":true,"id":3533},"_Extent":{"__isSmartRef__":true,"id":3534},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-d65004d4-589e-443a-91bb-395272a11af5","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3532":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3533":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3534":{"x":55,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3535":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3536":{"style":{"__isSmartRef__":true,"id":3537},"chunkOwner":{"__isSmartRef__":true,"id":3530},"storedString":"halos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3537":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3538":{"style":{"__isSmartRef__":true,"id":3539},"chunkOwner":{"__isSmartRef__":true,"id":3530},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3539":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3540":{"morph":{"__isSmartRef__":true,"id":3530},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3541":{"x":67.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3542":{"layoutText":{"__isSmartRef__":true,"id":3543}},"3543":{"varMapping":{"__isSmartRef__":true,"id":3544},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3545},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3544":{"this":{"__isSmartRef__":true,"id":3530}},"3545":{},"3546":{"_Position":{"__isSmartRef__":true,"id":3547},"renderContextTable":{"__isSmartRef__":true,"id":3548},"_Extent":{"__isSmartRef__":true,"id":3549},"_Padding":{"__isSmartRef__":true,"id":3550},"_NodeClass":["morph"],"_NodeId":"morph-16baad67-2330-442f-a397-f668579cebca","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3547":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3548":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3549":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3550":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3551":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3552":{"morph":{"__isSmartRef__":true,"id":3512},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3553":{"resizeWidth":true},"3554":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3555":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3556":{"updateExpanderColor":{"__isSmartRef__":true,"id":3557},"onMouseDown":{"__isSmartRef__":true,"id":3560},"isRoot":{"__isSmartRef__":true,"id":3567},"displayValue":{"__isSmartRef__":true,"id":3570},"update":{"__isSmartRef__":true,"id":3573}},"3557":{"varMapping":{"__isSmartRef__":true,"id":3558},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3559},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3558":{"this":{"__isSmartRef__":true,"id":3512}},"3559":{},"3560":{"varMapping":{"__isSmartRef__":true,"id":3561},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3566},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3561":{"this":{"__isSmartRef__":true,"id":3512},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3562}},"3562":{"$super":{"__isSmartRef__":true,"id":3563}},"3563":{"varMapping":{"__isSmartRef__":true,"id":3564},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3565},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3564":{"obj":{"__isSmartRef__":true,"id":3512},"name":"onMouseDown"},"3565":{},"3566":{},"3567":{"varMapping":{"__isSmartRef__":true,"id":3568},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3569},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3568":{"this":{"__isSmartRef__":true,"id":3512}},"3569":{},"3570":{"varMapping":{"__isSmartRef__":true,"id":3571},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3572},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3571":{"this":{"__isSmartRef__":true,"id":3512}},"3572":{},"3573":{"varMapping":{"__isSmartRef__":true,"id":3574},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3574":{"this":{"__isSmartRef__":true,"id":3512}},"3575":{},"3576":{"_Position":{"__isSmartRef__":true,"id":3577},"renderContextTable":{"__isSmartRef__":true,"id":3578},"_Extent":{"__isSmartRef__":true,"id":3579},"_Padding":{"__isSmartRef__":true,"id":3580},"_NodeClass":["morph"],"_NodeId":"morph-4245136f-a55a-4105-837b-ccf431380c3c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3577":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3578":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3579":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3580":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3581":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3582":{"morph":{"__isSmartRef__":true,"id":3511},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3583":{"layouter":{"__isSmartRef__":true,"id":3584},"resizeWidth":true},"3584":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3511},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3585":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3586":{"x":0,"y":500,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3587":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3588}},"3588":{"varMapping":{"__isSmartRef__":true,"id":3589},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3594},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3589":{"this":{"__isSmartRef__":true,"id":3511},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3590}},"3590":{"$super":{"__isSmartRef__":true,"id":3591}},"3591":{"varMapping":{"__isSmartRef__":true,"id":3592},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3593},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3592":{"obj":{"__isSmartRef__":true,"id":3511},"name":"getLayoutableSubmorphs"},"3593":{},"3594":{},"3595":{"submorphs":[{"__isSmartRef__":true,"id":3596}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3660},"derivationIds":[null],"id":"F785B2EF-E4F3-4F32-81A0-65615599D8F8","renderContextTable":{"__isSmartRef__":true,"id":3665},"eventHandler":{"__isSmartRef__":true,"id":3666},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3667},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3669},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3670},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3671},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3596":{"submorphs":[{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3614}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3630},"derivationIds":[null],"id":"F1B1B595-27A2-4077-B15A-EC290CE6526D","renderContextTable":{"__isSmartRef__":true,"id":3635},"eventHandler":{"__isSmartRef__":true,"id":3636},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3637},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"halosEnabled","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3597},"text":{"__isSmartRef__":true,"id":3614},"owner":{"__isSmartRef__":true,"id":3595},"_Position":{"__isSmartRef__":true,"id":3638},"priorExtent":{"__isSmartRef__":true,"id":3639},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3640},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3597":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3598},"derivationIds":[null],"id":"B1FDA11D-0E03-425D-BAB7-FAED80273CED","renderContextTable":{"__isSmartRef__":true,"id":3604},"eventHandler":{"__isSmartRef__":true,"id":3605},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3606},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3596},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3607},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3598":{"_Position":{"__isSmartRef__":true,"id":3599},"renderContextTable":{"__isSmartRef__":true,"id":3600},"_Extent":{"__isSmartRef__":true,"id":3601},"_Padding":{"__isSmartRef__":true,"id":3602},"_NodeClass":["morph","box"],"_NodeId":"morph-b1fda11d-0e03-425d-bab7-faed80273ced","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3603},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3599":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3600":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3601":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3602":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3603":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3604":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3605":{"morph":{"__isSmartRef__":true,"id":3597},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3606":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3607":{"toggle":{"__isSmartRef__":true,"id":3608},"toggleExpansion":{"__isSmartRef__":true,"id":3611}},"3608":{"varMapping":{"__isSmartRef__":true,"id":3609},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3610},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3609":{"this":{"__isSmartRef__":true,"id":3597}},"3610":{},"3611":{"varMapping":{"__isSmartRef__":true,"id":3612},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3613},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3612":{"this":{"__isSmartRef__":true,"id":3597}},"3613":{},"3614":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3615},"derivationIds":[null],"id":"0E301FF9-5B2C-4580-B85E-F75FDA636859","renderContextTable":{"__isSmartRef__":true,"id":3619},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3620},{"__isSmartRef__":true,"id":3622}],"eventHandler":{"__isSmartRef__":true,"id":3624},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3625},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3596},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3626},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3615":{"_Position":{"__isSmartRef__":true,"id":3616},"renderContextTable":{"__isSmartRef__":true,"id":3617},"_Extent":{"__isSmartRef__":true,"id":3618},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-0e301ff9-5b2c-4580-b85e-f75fda636859","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3616":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3617":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3618":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3619":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3620":{"style":{"__isSmartRef__":true,"id":3621},"chunkOwner":{"__isSmartRef__":true,"id":3614},"storedString":"halosEnabled","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3621":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3622":{"style":{"__isSmartRef__":true,"id":3623},"chunkOwner":{"__isSmartRef__":true,"id":3614},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3623":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3624":{"morph":{"__isSmartRef__":true,"id":3614},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3625":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3626":{"layoutText":{"__isSmartRef__":true,"id":3627}},"3627":{"varMapping":{"__isSmartRef__":true,"id":3628},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3629},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3628":{"this":{"__isSmartRef__":true,"id":3614}},"3629":{},"3630":{"_Position":{"__isSmartRef__":true,"id":3631},"renderContextTable":{"__isSmartRef__":true,"id":3632},"_Extent":{"__isSmartRef__":true,"id":3633},"_Padding":{"__isSmartRef__":true,"id":3634},"_NodeClass":["morph"],"_NodeId":"morph-f1b1b595-27a2-4077-b15a-ec290ce6526d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3631":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3632":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3633":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3634":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3635":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3636":{"morph":{"__isSmartRef__":true,"id":3596},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3637":{"resizeWidth":true},"3638":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3639":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3640":{"updateExpanderColor":{"__isSmartRef__":true,"id":3641},"onMouseDown":{"__isSmartRef__":true,"id":3644},"isRoot":{"__isSmartRef__":true,"id":3651},"displayValue":{"__isSmartRef__":true,"id":3654},"update":{"__isSmartRef__":true,"id":3657}},"3641":{"varMapping":{"__isSmartRef__":true,"id":3642},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3643},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3642":{"this":{"__isSmartRef__":true,"id":3596}},"3643":{},"3644":{"varMapping":{"__isSmartRef__":true,"id":3645},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3650},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3645":{"this":{"__isSmartRef__":true,"id":3596},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3646}},"3646":{"$super":{"__isSmartRef__":true,"id":3647}},"3647":{"varMapping":{"__isSmartRef__":true,"id":3648},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3649},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3648":{"obj":{"__isSmartRef__":true,"id":3596},"name":"onMouseDown"},"3649":{},"3650":{},"3651":{"varMapping":{"__isSmartRef__":true,"id":3652},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3653},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3652":{"this":{"__isSmartRef__":true,"id":3596}},"3653":{},"3654":{"varMapping":{"__isSmartRef__":true,"id":3655},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3656},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3655":{"this":{"__isSmartRef__":true,"id":3596}},"3656":{},"3657":{"varMapping":{"__isSmartRef__":true,"id":3658},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3659},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3658":{"this":{"__isSmartRef__":true,"id":3596}},"3659":{},"3660":{"_Position":{"__isSmartRef__":true,"id":3661},"renderContextTable":{"__isSmartRef__":true,"id":3662},"_Extent":{"__isSmartRef__":true,"id":3663},"_Padding":{"__isSmartRef__":true,"id":3664},"_NodeClass":["morph"],"_NodeId":"morph-f785b2ef-e4f3-4f32-81a0-65615599d8f8","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3661":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3662":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3663":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3664":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3665":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3666":{"morph":{"__isSmartRef__":true,"id":3595},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3667":{"layouter":{"__isSmartRef__":true,"id":3668},"resizeWidth":true},"3668":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3595},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3669":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3670":{"x":0,"y":480,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3671":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3672}},"3672":{"varMapping":{"__isSmartRef__":true,"id":3673},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3678},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3673":{"this":{"__isSmartRef__":true,"id":3595},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3674}},"3674":{"$super":{"__isSmartRef__":true,"id":3675}},"3675":{"varMapping":{"__isSmartRef__":true,"id":3676},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3677},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3676":{"obj":{"__isSmartRef__":true,"id":3595},"name":"getLayoutableSubmorphs"},"3677":{},"3678":{},"3679":{"submorphs":[{"__isSmartRef__":true,"id":3680}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3744},"derivationIds":[null],"id":"D71ABD21-AFF2-4763-92B8-890E739663ED","renderContextTable":{"__isSmartRef__":true,"id":3749},"eventHandler":{"__isSmartRef__":true,"id":3750},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3751},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3753},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3754},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3755},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3680":{"submorphs":[{"__isSmartRef__":true,"id":3681},{"__isSmartRef__":true,"id":3698}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3714},"derivationIds":[null],"id":"36DEA308-FFF7-4081-8FE6-D439F03CA364","renderContextTable":{"__isSmartRef__":true,"id":3719},"eventHandler":{"__isSmartRef__":true,"id":3720},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3721},"grabbingEnabled":false,"draggingEnabled":false,"data":"C7FA289F-C566-4842-AEF0-4D36033794C1","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"id","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3681},"text":{"__isSmartRef__":true,"id":3698},"owner":{"__isSmartRef__":true,"id":3679},"_Position":{"__isSmartRef__":true,"id":3722},"priorExtent":{"__isSmartRef__":true,"id":3723},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3724},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3681":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3682},"derivationIds":[null],"id":"4504B46F-35CD-49CE-8823-8997952ABFAB","renderContextTable":{"__isSmartRef__":true,"id":3688},"eventHandler":{"__isSmartRef__":true,"id":3689},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3690},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3680},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3691},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3682":{"_Position":{"__isSmartRef__":true,"id":3683},"renderContextTable":{"__isSmartRef__":true,"id":3684},"_Extent":{"__isSmartRef__":true,"id":3685},"_Padding":{"__isSmartRef__":true,"id":3686},"_NodeClass":["morph","box"],"_NodeId":"morph-4504b46f-35cd-49ce-8823-8997952abfab","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3687},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3683":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3684":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3685":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3686":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3687":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3688":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3689":{"morph":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3690":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3691":{"toggle":{"__isSmartRef__":true,"id":3692},"toggleExpansion":{"__isSmartRef__":true,"id":3695}},"3692":{"varMapping":{"__isSmartRef__":true,"id":3693},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3694},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3693":{"this":{"__isSmartRef__":true,"id":3681}},"3694":{},"3695":{"varMapping":{"__isSmartRef__":true,"id":3696},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3697},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3696":{"this":{"__isSmartRef__":true,"id":3681}},"3697":{},"3698":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3699},"derivationIds":[null],"id":"10057881-C31E-4F09-9DEE-23E3BD9FF183","renderContextTable":{"__isSmartRef__":true,"id":3703},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3704},{"__isSmartRef__":true,"id":3706}],"eventHandler":{"__isSmartRef__":true,"id":3708},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3709},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3680},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3710},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3699":{"_Position":{"__isSmartRef__":true,"id":3700},"renderContextTable":{"__isSmartRef__":true,"id":3701},"_Extent":{"__isSmartRef__":true,"id":3702},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-10057881-c31e-4f09-9dee-23e3bd9ff183","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3700":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3701":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3702":{"x":287,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3703":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3704":{"style":{"__isSmartRef__":true,"id":3705},"chunkOwner":{"__isSmartRef__":true,"id":3698},"storedString":"id","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3705":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3706":{"style":{"__isSmartRef__":true,"id":3707},"chunkOwner":{"__isSmartRef__":true,"id":3698},"storedString":": C7FA289F-C566-4842-AEF0-4D36033794C1","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3707":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3708":{"morph":{"__isSmartRef__":true,"id":3698},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3709":{"x":300,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3710":{"layoutText":{"__isSmartRef__":true,"id":3711}},"3711":{"varMapping":{"__isSmartRef__":true,"id":3712},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3713},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3712":{"this":{"__isSmartRef__":true,"id":3698}},"3713":{},"3714":{"_Position":{"__isSmartRef__":true,"id":3715},"renderContextTable":{"__isSmartRef__":true,"id":3716},"_Extent":{"__isSmartRef__":true,"id":3717},"_Padding":{"__isSmartRef__":true,"id":3718},"_NodeClass":["morph"],"_NodeId":"morph-36dea308-fff7-4081-8fe6-d439f03ca364","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3715":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3716":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3717":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3718":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3719":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3720":{"morph":{"__isSmartRef__":true,"id":3680},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3721":{"resizeWidth":true},"3722":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3723":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3724":{"updateExpanderColor":{"__isSmartRef__":true,"id":3725},"onMouseDown":{"__isSmartRef__":true,"id":3728},"isRoot":{"__isSmartRef__":true,"id":3735},"displayValue":{"__isSmartRef__":true,"id":3738},"update":{"__isSmartRef__":true,"id":3741}},"3725":{"varMapping":{"__isSmartRef__":true,"id":3726},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3727},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3726":{"this":{"__isSmartRef__":true,"id":3680}},"3727":{},"3728":{"varMapping":{"__isSmartRef__":true,"id":3729},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3734},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3729":{"this":{"__isSmartRef__":true,"id":3680},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3730}},"3730":{"$super":{"__isSmartRef__":true,"id":3731}},"3731":{"varMapping":{"__isSmartRef__":true,"id":3732},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3733},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3732":{"obj":{"__isSmartRef__":true,"id":3680},"name":"onMouseDown"},"3733":{},"3734":{},"3735":{"varMapping":{"__isSmartRef__":true,"id":3736},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3737},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3736":{"this":{"__isSmartRef__":true,"id":3680}},"3737":{},"3738":{"varMapping":{"__isSmartRef__":true,"id":3739},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3740},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3739":{"this":{"__isSmartRef__":true,"id":3680}},"3740":{},"3741":{"varMapping":{"__isSmartRef__":true,"id":3742},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3743},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3742":{"this":{"__isSmartRef__":true,"id":3680}},"3743":{},"3744":{"_Position":{"__isSmartRef__":true,"id":3745},"renderContextTable":{"__isSmartRef__":true,"id":3746},"_Extent":{"__isSmartRef__":true,"id":3747},"_Padding":{"__isSmartRef__":true,"id":3748},"_NodeClass":["morph"],"_NodeId":"morph-d71abd21-aff2-4763-92b8-890e739663ed","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3745":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3746":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3747":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3748":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3749":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3750":{"morph":{"__isSmartRef__":true,"id":3679},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3751":{"layouter":{"__isSmartRef__":true,"id":3752},"resizeWidth":true},"3752":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3679},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3753":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3754":{"x":0,"y":460,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3755":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3756}},"3756":{"varMapping":{"__isSmartRef__":true,"id":3757},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3762},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3757":{"this":{"__isSmartRef__":true,"id":3679},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3758}},"3758":{"$super":{"__isSmartRef__":true,"id":3759}},"3759":{"varMapping":{"__isSmartRef__":true,"id":3760},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3761},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3760":{"obj":{"__isSmartRef__":true,"id":3679},"name":"getLayoutableSubmorphs"},"3761":{},"3762":{},"3763":{"submorphs":[{"__isSmartRef__":true,"id":3764}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3828},"derivationIds":[null],"id":"AF70A715-B183-4867-802F-8123DAA0A5A2","renderContextTable":{"__isSmartRef__":true,"id":3833},"eventHandler":{"__isSmartRef__":true,"id":3834},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3835},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3837},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3838},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3839},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3764":{"submorphs":[{"__isSmartRef__":true,"id":3765},{"__isSmartRef__":true,"id":3782}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3798},"derivationIds":[null],"id":"04683012-2B30-41FF-ADE2-8C5306F9172B","renderContextTable":{"__isSmartRef__":true,"id":3803},"eventHandler":{"__isSmartRef__":true,"id":3804},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3805},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":1177},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","__layered_droppingEnabled__","halosEnabled","_Position","items","itemMorphs","title","priorExtent","remainOnScreen","isEpiMorph","owner","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"ignitionMenu","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3765},"text":{"__isSmartRef__":true,"id":3782},"owner":{"__isSmartRef__":true,"id":3763},"_Position":{"__isSmartRef__":true,"id":3806},"priorExtent":{"__isSmartRef__":true,"id":3807},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3808},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3765":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3766},"derivationIds":[null],"id":"BBD29303-168A-48AD-A3EC-6B274FD3F6F8","renderContextTable":{"__isSmartRef__":true,"id":3772},"eventHandler":{"__isSmartRef__":true,"id":3773},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3774},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3764},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3775},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3766":{"_Position":{"__isSmartRef__":true,"id":3767},"renderContextTable":{"__isSmartRef__":true,"id":3768},"_Extent":{"__isSmartRef__":true,"id":3769},"_Padding":{"__isSmartRef__":true,"id":3770},"_NodeClass":["morph","box"],"_NodeId":"morph-bbd29303-168a-48ad-a3ec-6b274fd3f6f8","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3771},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3767":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3768":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3769":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3770":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3771":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3772":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3773":{"morph":{"__isSmartRef__":true,"id":3765},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3774":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3775":{"toggle":{"__isSmartRef__":true,"id":3776},"toggleExpansion":{"__isSmartRef__":true,"id":3779}},"3776":{"varMapping":{"__isSmartRef__":true,"id":3777},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3778},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3777":{"this":{"__isSmartRef__":true,"id":3765}},"3778":{},"3779":{"varMapping":{"__isSmartRef__":true,"id":3780},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3781},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3780":{"this":{"__isSmartRef__":true,"id":3765}},"3781":{},"3782":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3783},"derivationIds":[null],"id":"4496B81A-5FCF-4933-896B-599E6200BF66","renderContextTable":{"__isSmartRef__":true,"id":3787},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3788},{"__isSmartRef__":true,"id":3790}],"eventHandler":{"__isSmartRef__":true,"id":3792},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3793},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3764},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3794},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3783":{"_Position":{"__isSmartRef__":true,"id":3784},"renderContextTable":{"__isSmartRef__":true,"id":3785},"_Extent":{"__isSmartRef__":true,"id":3786},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-4496b81a-5fcf-4933-896b-599e6200bf66","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3784":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3785":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3786":{"x":121,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3787":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3788":{"style":{"__isSmartRef__":true,"id":3789},"chunkOwner":{"__isSmartRef__":true,"id":3782},"storedString":"ignitionMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3789":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3790":{"style":{"__isSmartRef__":true,"id":3791},"chunkOwner":{"__isSmartRef__":true,"id":3782},"storedString":": Menu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3791":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3792":{"morph":{"__isSmartRef__":true,"id":3782},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3793":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3794":{"layoutText":{"__isSmartRef__":true,"id":3795}},"3795":{"varMapping":{"__isSmartRef__":true,"id":3796},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3797},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3796":{"this":{"__isSmartRef__":true,"id":3782}},"3797":{},"3798":{"_Position":{"__isSmartRef__":true,"id":3799},"renderContextTable":{"__isSmartRef__":true,"id":3800},"_Extent":{"__isSmartRef__":true,"id":3801},"_Padding":{"__isSmartRef__":true,"id":3802},"_NodeClass":["morph"],"_NodeId":"morph-04683012-2b30-41ff-ade2-8c5306f9172b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3799":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3800":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3801":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3802":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3803":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3804":{"morph":{"__isSmartRef__":true,"id":3764},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3805":{"resizeWidth":true},"3806":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3807":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3808":{"updateExpanderColor":{"__isSmartRef__":true,"id":3809},"onMouseDown":{"__isSmartRef__":true,"id":3812},"isRoot":{"__isSmartRef__":true,"id":3819},"displayValue":{"__isSmartRef__":true,"id":3822},"update":{"__isSmartRef__":true,"id":3825}},"3809":{"varMapping":{"__isSmartRef__":true,"id":3810},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3811},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3810":{"this":{"__isSmartRef__":true,"id":3764}},"3811":{},"3812":{"varMapping":{"__isSmartRef__":true,"id":3813},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3818},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3813":{"this":{"__isSmartRef__":true,"id":3764},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3814}},"3814":{"$super":{"__isSmartRef__":true,"id":3815}},"3815":{"varMapping":{"__isSmartRef__":true,"id":3816},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3817},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3816":{"obj":{"__isSmartRef__":true,"id":3764},"name":"onMouseDown"},"3817":{},"3818":{},"3819":{"varMapping":{"__isSmartRef__":true,"id":3820},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3820":{"this":{"__isSmartRef__":true,"id":3764}},"3821":{},"3822":{"varMapping":{"__isSmartRef__":true,"id":3823},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3824},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3823":{"this":{"__isSmartRef__":true,"id":3764}},"3824":{},"3825":{"varMapping":{"__isSmartRef__":true,"id":3826},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3827},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3826":{"this":{"__isSmartRef__":true,"id":3764}},"3827":{},"3828":{"_Position":{"__isSmartRef__":true,"id":3829},"renderContextTable":{"__isSmartRef__":true,"id":3830},"_Extent":{"__isSmartRef__":true,"id":3831},"_Padding":{"__isSmartRef__":true,"id":3832},"_NodeClass":["morph"],"_NodeId":"morph-af70a715-b183-4867-802f-8123daa0a5a2","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3829":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3830":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3831":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3832":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3833":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3834":{"morph":{"__isSmartRef__":true,"id":3763},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3835":{"layouter":{"__isSmartRef__":true,"id":3836},"resizeWidth":true},"3836":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3763},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3837":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3838":{"x":0,"y":440,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3839":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3840}},"3840":{"varMapping":{"__isSmartRef__":true,"id":3841},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3846},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3841":{"this":{"__isSmartRef__":true,"id":3763},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3842}},"3842":{"$super":{"__isSmartRef__":true,"id":3843}},"3843":{"varMapping":{"__isSmartRef__":true,"id":3844},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3845},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3844":{"obj":{"__isSmartRef__":true,"id":3763},"name":"getLayoutableSubmorphs"},"3845":{},"3846":{},"3847":{"submorphs":[{"__isSmartRef__":true,"id":3848}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3912},"derivationIds":[null],"id":"90D137B2-4031-42CA-8BF6-77A075CD906A","renderContextTable":{"__isSmartRef__":true,"id":3917},"eventHandler":{"__isSmartRef__":true,"id":3918},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3919},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":3921},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":3922},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3923},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3848":{"submorphs":[{"__isSmartRef__":true,"id":3849},{"__isSmartRef__":true,"id":3866}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3882},"derivationIds":[null],"id":"6F2AB149-17EF-44A6-9B6C-BFD5F3B4F3C6","renderContextTable":{"__isSmartRef__":true,"id":3887},"eventHandler":{"__isSmartRef__":true,"id":3888},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3889},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"isBeingDragged","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3849},"text":{"__isSmartRef__":true,"id":3866},"owner":{"__isSmartRef__":true,"id":3847},"_Position":{"__isSmartRef__":true,"id":3890},"priorExtent":{"__isSmartRef__":true,"id":3891},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3892},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3849":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3850},"derivationIds":[null],"id":"8B173094-F5D2-4AE1-AC47-6BBE52417392","renderContextTable":{"__isSmartRef__":true,"id":3856},"eventHandler":{"__isSmartRef__":true,"id":3857},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3858},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3848},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3859},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3850":{"_Position":{"__isSmartRef__":true,"id":3851},"renderContextTable":{"__isSmartRef__":true,"id":3852},"_Extent":{"__isSmartRef__":true,"id":3853},"_Padding":{"__isSmartRef__":true,"id":3854},"_NodeClass":["morph","box"],"_NodeId":"morph-8b173094-f5d2-4ae1-ac47-6bbe52417392","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3855},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3851":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3852":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3853":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3854":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3855":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3856":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3857":{"morph":{"__isSmartRef__":true,"id":3849},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3858":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3859":{"toggle":{"__isSmartRef__":true,"id":3860},"toggleExpansion":{"__isSmartRef__":true,"id":3863}},"3860":{"varMapping":{"__isSmartRef__":true,"id":3861},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3861":{"this":{"__isSmartRef__":true,"id":3849}},"3862":{},"3863":{"varMapping":{"__isSmartRef__":true,"id":3864},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3865},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3864":{"this":{"__isSmartRef__":true,"id":3849}},"3865":{},"3866":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3867},"derivationIds":[null],"id":"74652021-5BC1-48A7-8AE8-3931A41E9ED0","renderContextTable":{"__isSmartRef__":true,"id":3871},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3872},{"__isSmartRef__":true,"id":3874}],"eventHandler":{"__isSmartRef__":true,"id":3876},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3877},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3848},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3878},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3867":{"_Position":{"__isSmartRef__":true,"id":3868},"renderContextTable":{"__isSmartRef__":true,"id":3869},"_Extent":{"__isSmartRef__":true,"id":3870},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-74652021-5bc1-48a7-8ae8-3931a41e9ed0","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3868":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3869":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3870":{"x":136,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3871":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3872":{"style":{"__isSmartRef__":true,"id":3873},"chunkOwner":{"__isSmartRef__":true,"id":3866},"storedString":"isBeingDragged","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3873":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3874":{"style":{"__isSmartRef__":true,"id":3875},"chunkOwner":{"__isSmartRef__":true,"id":3866},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3875":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3876":{"morph":{"__isSmartRef__":true,"id":3866},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3877":{"x":157.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3878":{"layoutText":{"__isSmartRef__":true,"id":3879}},"3879":{"varMapping":{"__isSmartRef__":true,"id":3880},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3881},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3880":{"this":{"__isSmartRef__":true,"id":3866}},"3881":{},"3882":{"_Position":{"__isSmartRef__":true,"id":3883},"renderContextTable":{"__isSmartRef__":true,"id":3884},"_Extent":{"__isSmartRef__":true,"id":3885},"_Padding":{"__isSmartRef__":true,"id":3886},"_NodeClass":["morph"],"_NodeId":"morph-6f2ab149-17ef-44a6-9b6c-bfd5f3b4f3c6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3883":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3884":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3885":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3886":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3887":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3888":{"morph":{"__isSmartRef__":true,"id":3848},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3889":{"resizeWidth":true},"3890":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3891":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3892":{"updateExpanderColor":{"__isSmartRef__":true,"id":3893},"onMouseDown":{"__isSmartRef__":true,"id":3896},"isRoot":{"__isSmartRef__":true,"id":3903},"displayValue":{"__isSmartRef__":true,"id":3906},"update":{"__isSmartRef__":true,"id":3909}},"3893":{"varMapping":{"__isSmartRef__":true,"id":3894},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3895},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3894":{"this":{"__isSmartRef__":true,"id":3848}},"3895":{},"3896":{"varMapping":{"__isSmartRef__":true,"id":3897},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3902},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3897":{"this":{"__isSmartRef__":true,"id":3848},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3898}},"3898":{"$super":{"__isSmartRef__":true,"id":3899}},"3899":{"varMapping":{"__isSmartRef__":true,"id":3900},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3901},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3900":{"obj":{"__isSmartRef__":true,"id":3848},"name":"onMouseDown"},"3901":{},"3902":{},"3903":{"varMapping":{"__isSmartRef__":true,"id":3904},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3905},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3904":{"this":{"__isSmartRef__":true,"id":3848}},"3905":{},"3906":{"varMapping":{"__isSmartRef__":true,"id":3907},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3908},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3907":{"this":{"__isSmartRef__":true,"id":3848}},"3908":{},"3909":{"varMapping":{"__isSmartRef__":true,"id":3910},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3911},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3910":{"this":{"__isSmartRef__":true,"id":3848}},"3911":{},"3912":{"_Position":{"__isSmartRef__":true,"id":3913},"renderContextTable":{"__isSmartRef__":true,"id":3914},"_Extent":{"__isSmartRef__":true,"id":3915},"_Padding":{"__isSmartRef__":true,"id":3916},"_NodeClass":["morph"],"_NodeId":"morph-90d137b2-4031-42ca-8bf6-77a075cd906a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3913":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3914":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3915":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3916":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3917":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3918":{"morph":{"__isSmartRef__":true,"id":3847},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3919":{"layouter":{"__isSmartRef__":true,"id":3920},"resizeWidth":true},"3920":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3847},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"3921":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3922":{"x":0,"y":420,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3923":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":3924}},"3924":{"varMapping":{"__isSmartRef__":true,"id":3925},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":3930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3925":{"this":{"__isSmartRef__":true,"id":3847},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3926}},"3926":{"$super":{"__isSmartRef__":true,"id":3927}},"3927":{"varMapping":{"__isSmartRef__":true,"id":3928},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3929},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3928":{"obj":{"__isSmartRef__":true,"id":3847},"name":"getLayoutableSubmorphs"},"3929":{},"3930":{},"3931":{"submorphs":[{"__isSmartRef__":true,"id":3932}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3996},"derivationIds":[null],"id":"0B669E08-3D51-4C53-878C-C831A3E60CC4","renderContextTable":{"__isSmartRef__":true,"id":4001},"eventHandler":{"__isSmartRef__":true,"id":4002},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4003},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4005},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4006},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4007},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3932":{"submorphs":[{"__isSmartRef__":true,"id":3933},{"__isSmartRef__":true,"id":3950}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3966},"derivationIds":[null],"id":"E40C01CB-1C13-4E7E-83B1-3FE65BAAADD4","renderContextTable":{"__isSmartRef__":true,"id":3971},"eventHandler":{"__isSmartRef__":true,"id":3972},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3973},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"isLockOwner","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":3933},"text":{"__isSmartRef__":true,"id":3950},"owner":{"__isSmartRef__":true,"id":3931},"_Position":{"__isSmartRef__":true,"id":3974},"priorExtent":{"__isSmartRef__":true,"id":3975},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3976},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"3933":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3934},"derivationIds":[null],"id":"C565BE05-3C93-453F-A82D-E9B836D8E099","renderContextTable":{"__isSmartRef__":true,"id":3940},"eventHandler":{"__isSmartRef__":true,"id":3941},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3942},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":3932},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3943},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"3934":{"_Position":{"__isSmartRef__":true,"id":3935},"renderContextTable":{"__isSmartRef__":true,"id":3936},"_Extent":{"__isSmartRef__":true,"id":3937},"_Padding":{"__isSmartRef__":true,"id":3938},"_NodeClass":["morph","box"],"_NodeId":"morph-c565be05-3c93-453f-a82d-e9b836d8e099","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":3939},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3935":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3936":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3937":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3938":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3939":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3940":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3941":{"morph":{"__isSmartRef__":true,"id":3933},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3942":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3943":{"toggle":{"__isSmartRef__":true,"id":3944},"toggleExpansion":{"__isSmartRef__":true,"id":3947}},"3944":{"varMapping":{"__isSmartRef__":true,"id":3945},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":3946},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3945":{"this":{"__isSmartRef__":true,"id":3933}},"3946":{},"3947":{"varMapping":{"__isSmartRef__":true,"id":3948},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":3949},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3948":{"this":{"__isSmartRef__":true,"id":3933}},"3949":{},"3950":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3951},"derivationIds":[null],"id":"43B2F7D4-4F73-4B5C-BBCC-BF6C4A378D98","renderContextTable":{"__isSmartRef__":true,"id":3955},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":3956},{"__isSmartRef__":true,"id":3958}],"eventHandler":{"__isSmartRef__":true,"id":3960},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3961},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3932},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3962},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3951":{"_Position":{"__isSmartRef__":true,"id":3952},"renderContextTable":{"__isSmartRef__":true,"id":3953},"_Extent":{"__isSmartRef__":true,"id":3954},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-43b2f7d4-4f73-4b5c-bbcc-bf6c4a378d98","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3952":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3953":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3954":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3955":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3956":{"style":{"__isSmartRef__":true,"id":3957},"chunkOwner":{"__isSmartRef__":true,"id":3950},"storedString":"isLockOwner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3957":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3958":{"style":{"__isSmartRef__":true,"id":3959},"chunkOwner":{"__isSmartRef__":true,"id":3950},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3959":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3960":{"morph":{"__isSmartRef__":true,"id":3950},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3961":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3962":{"layoutText":{"__isSmartRef__":true,"id":3963}},"3963":{"varMapping":{"__isSmartRef__":true,"id":3964},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":3965},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3964":{"this":{"__isSmartRef__":true,"id":3950}},"3965":{},"3966":{"_Position":{"__isSmartRef__":true,"id":3967},"renderContextTable":{"__isSmartRef__":true,"id":3968},"_Extent":{"__isSmartRef__":true,"id":3969},"_Padding":{"__isSmartRef__":true,"id":3970},"_NodeClass":["morph"],"_NodeId":"morph-e40c01cb-1c13-4e7e-83b1-3fe65baaadd4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3967":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3968":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3969":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3970":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3971":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"3972":{"morph":{"__isSmartRef__":true,"id":3932},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3973":{"resizeWidth":true},"3974":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3975":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3976":{"updateExpanderColor":{"__isSmartRef__":true,"id":3977},"onMouseDown":{"__isSmartRef__":true,"id":3980},"isRoot":{"__isSmartRef__":true,"id":3987},"displayValue":{"__isSmartRef__":true,"id":3990},"update":{"__isSmartRef__":true,"id":3993}},"3977":{"varMapping":{"__isSmartRef__":true,"id":3978},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":3979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3978":{"this":{"__isSmartRef__":true,"id":3932}},"3979":{},"3980":{"varMapping":{"__isSmartRef__":true,"id":3981},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":3986},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3981":{"this":{"__isSmartRef__":true,"id":3932},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3982}},"3982":{"$super":{"__isSmartRef__":true,"id":3983}},"3983":{"varMapping":{"__isSmartRef__":true,"id":3984},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3985},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3984":{"obj":{"__isSmartRef__":true,"id":3932},"name":"onMouseDown"},"3985":{},"3986":{},"3987":{"varMapping":{"__isSmartRef__":true,"id":3988},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":3989},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3988":{"this":{"__isSmartRef__":true,"id":3932}},"3989":{},"3990":{"varMapping":{"__isSmartRef__":true,"id":3991},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":3992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3991":{"this":{"__isSmartRef__":true,"id":3932}},"3992":{},"3993":{"varMapping":{"__isSmartRef__":true,"id":3994},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":3995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3994":{"this":{"__isSmartRef__":true,"id":3932}},"3995":{},"3996":{"_Position":{"__isSmartRef__":true,"id":3997},"renderContextTable":{"__isSmartRef__":true,"id":3998},"_Extent":{"__isSmartRef__":true,"id":3999},"_Padding":{"__isSmartRef__":true,"id":4000},"_NodeClass":["morph"],"_NodeId":"morph-0b669e08-3d51-4c53-878c-c831a3e60cc4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3997":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3998":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"3999":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4000":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4001":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4002":{"morph":{"__isSmartRef__":true,"id":3931},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4003":{"layouter":{"__isSmartRef__":true,"id":4004},"resizeWidth":true},"4004":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":3931},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4005":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4006":{"x":0,"y":400,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4007":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4008}},"4008":{"varMapping":{"__isSmartRef__":true,"id":4009},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4009":{"this":{"__isSmartRef__":true,"id":3931},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4010}},"4010":{"$super":{"__isSmartRef__":true,"id":4011}},"4011":{"varMapping":{"__isSmartRef__":true,"id":4012},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4013},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4012":{"obj":{"__isSmartRef__":true,"id":3931},"name":"getLayoutableSubmorphs"},"4013":{},"4014":{},"4015":{"submorphs":[{"__isSmartRef__":true,"id":4016}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4080},"derivationIds":[null],"id":"B2D0FAC5-8FB7-4809-8BB3-A3FEF01AFA8D","renderContextTable":{"__isSmartRef__":true,"id":4085},"eventHandler":{"__isSmartRef__":true,"id":4086},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4087},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4089},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4090},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4091},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4016":{"submorphs":[{"__isSmartRef__":true,"id":4017},{"__isSmartRef__":true,"id":4034}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4050},"derivationIds":[null],"id":"32EC1702-42E8-4CB1-95F9-E3F49EFAA937","renderContextTable":{"__isSmartRef__":true,"id":4055},"eventHandler":{"__isSmartRef__":true,"id":4056},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4057},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":766},"propertyList":["resizeWidth","resizeHeight"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"layout","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4017},"text":{"__isSmartRef__":true,"id":4034},"owner":{"__isSmartRef__":true,"id":4015},"_Position":{"__isSmartRef__":true,"id":4058},"priorExtent":{"__isSmartRef__":true,"id":4059},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4060},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4017":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4018},"derivationIds":[null],"id":"B1E80433-BFB8-4639-8412-520AF616AC47","renderContextTable":{"__isSmartRef__":true,"id":4024},"eventHandler":{"__isSmartRef__":true,"id":4025},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4026},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4016},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4027},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4018":{"_Position":{"__isSmartRef__":true,"id":4019},"renderContextTable":{"__isSmartRef__":true,"id":4020},"_Extent":{"__isSmartRef__":true,"id":4021},"_Padding":{"__isSmartRef__":true,"id":4022},"_NodeClass":["morph","box"],"_NodeId":"morph-b1e80433-bfb8-4639-8412-520af616ac47","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4023},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4019":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4020":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4021":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4022":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4023":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4024":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4025":{"morph":{"__isSmartRef__":true,"id":4017},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4026":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4027":{"toggle":{"__isSmartRef__":true,"id":4028},"toggleExpansion":{"__isSmartRef__":true,"id":4031}},"4028":{"varMapping":{"__isSmartRef__":true,"id":4029},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4030},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4029":{"this":{"__isSmartRef__":true,"id":4017}},"4030":{},"4031":{"varMapping":{"__isSmartRef__":true,"id":4032},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4033},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4032":{"this":{"__isSmartRef__":true,"id":4017}},"4033":{},"4034":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4035},"derivationIds":[null],"id":"C0DCF0F6-66DA-4853-A046-63628C8CA73C","renderContextTable":{"__isSmartRef__":true,"id":4039},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4040},{"__isSmartRef__":true,"id":4042}],"eventHandler":{"__isSmartRef__":true,"id":4044},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4045},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4016},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4046},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4035":{"_Position":{"__isSmartRef__":true,"id":4036},"renderContextTable":{"__isSmartRef__":true,"id":4037},"_Extent":{"__isSmartRef__":true,"id":4038},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-c0dcf0f6-66da-4853-a046-63628c8ca73c","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4036":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4037":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4038":{"x":71,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4039":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4040":{"style":{"__isSmartRef__":true,"id":4041},"chunkOwner":{"__isSmartRef__":true,"id":4034},"storedString":"layout","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4041":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4042":{"style":{"__isSmartRef__":true,"id":4043},"chunkOwner":{"__isSmartRef__":true,"id":4034},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4043":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4044":{"morph":{"__isSmartRef__":true,"id":4034},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4045":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4046":{"layoutText":{"__isSmartRef__":true,"id":4047}},"4047":{"varMapping":{"__isSmartRef__":true,"id":4048},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4049},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4048":{"this":{"__isSmartRef__":true,"id":4034}},"4049":{},"4050":{"_Position":{"__isSmartRef__":true,"id":4051},"renderContextTable":{"__isSmartRef__":true,"id":4052},"_Extent":{"__isSmartRef__":true,"id":4053},"_Padding":{"__isSmartRef__":true,"id":4054},"_NodeClass":["morph"],"_NodeId":"morph-32ec1702-42e8-4cb1-95f9-e3f49efaa937","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4051":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4052":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4053":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4054":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4055":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4056":{"morph":{"__isSmartRef__":true,"id":4016},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4057":{"resizeWidth":true},"4058":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4059":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4060":{"updateExpanderColor":{"__isSmartRef__":true,"id":4061},"onMouseDown":{"__isSmartRef__":true,"id":4064},"isRoot":{"__isSmartRef__":true,"id":4071},"displayValue":{"__isSmartRef__":true,"id":4074},"update":{"__isSmartRef__":true,"id":4077}},"4061":{"varMapping":{"__isSmartRef__":true,"id":4062},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4063},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4062":{"this":{"__isSmartRef__":true,"id":4016}},"4063":{},"4064":{"varMapping":{"__isSmartRef__":true,"id":4065},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4070},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4065":{"this":{"__isSmartRef__":true,"id":4016},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4066}},"4066":{"$super":{"__isSmartRef__":true,"id":4067}},"4067":{"varMapping":{"__isSmartRef__":true,"id":4068},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4069},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4068":{"obj":{"__isSmartRef__":true,"id":4016},"name":"onMouseDown"},"4069":{},"4070":{},"4071":{"varMapping":{"__isSmartRef__":true,"id":4072},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4073},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4072":{"this":{"__isSmartRef__":true,"id":4016}},"4073":{},"4074":{"varMapping":{"__isSmartRef__":true,"id":4075},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4076},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4075":{"this":{"__isSmartRef__":true,"id":4016}},"4076":{},"4077":{"varMapping":{"__isSmartRef__":true,"id":4078},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4079},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4078":{"this":{"__isSmartRef__":true,"id":4016}},"4079":{},"4080":{"_Position":{"__isSmartRef__":true,"id":4081},"renderContextTable":{"__isSmartRef__":true,"id":4082},"_Extent":{"__isSmartRef__":true,"id":4083},"_Padding":{"__isSmartRef__":true,"id":4084},"_NodeClass":["morph"],"_NodeId":"morph-b2d0fac5-8fb7-4809-8bb3-a3fef01afa8d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4081":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4082":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4083":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4084":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4085":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4086":{"morph":{"__isSmartRef__":true,"id":4015},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4087":{"layouter":{"__isSmartRef__":true,"id":4088},"resizeWidth":true},"4088":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4015},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4089":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4090":{"x":0,"y":380,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4091":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4092}},"4092":{"varMapping":{"__isSmartRef__":true,"id":4093},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4098},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4093":{"this":{"__isSmartRef__":true,"id":4015},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4094}},"4094":{"$super":{"__isSmartRef__":true,"id":4095}},"4095":{"varMapping":{"__isSmartRef__":true,"id":4096},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4097},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4096":{"obj":{"__isSmartRef__":true,"id":4015},"name":"getLayoutableSubmorphs"},"4097":{},"4098":{},"4099":{"submorphs":[{"__isSmartRef__":true,"id":4100}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4164},"derivationIds":[null],"id":"544092D6-1531-4B3B-B536-448A56B78347","renderContextTable":{"__isSmartRef__":true,"id":4169},"eventHandler":{"__isSmartRef__":true,"id":4170},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4171},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4173},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4174},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4175},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4100":{"submorphs":[{"__isSmartRef__":true,"id":4101},{"__isSmartRef__":true,"id":4118}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4134},"derivationIds":[null],"id":"AFA24E19-50E7-4D02-947D-7293D848F803","renderContextTable":{"__isSmartRef__":true,"id":4139},"eventHandler":{"__isSmartRef__":true,"id":4140},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4141},"grabbingEnabled":false,"draggingEnabled":false,"data":"LivelyEngine","propertyList":["0","1","2","3","4","5","6","7","8","9","10","11"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"name","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4101},"text":{"__isSmartRef__":true,"id":4118},"owner":{"__isSmartRef__":true,"id":4099},"_Position":{"__isSmartRef__":true,"id":4142},"priorExtent":{"__isSmartRef__":true,"id":4143},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4144},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4101":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4102},"derivationIds":[null],"id":"6F81F0D9-C8D7-4AAF-8C32-5F730CAB12B3","renderContextTable":{"__isSmartRef__":true,"id":4108},"eventHandler":{"__isSmartRef__":true,"id":4109},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4110},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4100},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4111},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4102":{"_Position":{"__isSmartRef__":true,"id":4103},"renderContextTable":{"__isSmartRef__":true,"id":4104},"_Extent":{"__isSmartRef__":true,"id":4105},"_Padding":{"__isSmartRef__":true,"id":4106},"_NodeClass":["morph","box"],"_NodeId":"morph-6f81f0d9-c8d7-4aaf-8c32-5f730cab12b3","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4107},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4103":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4104":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4105":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4106":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4107":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4108":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4109":{"morph":{"__isSmartRef__":true,"id":4101},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4110":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4111":{"toggle":{"__isSmartRef__":true,"id":4112},"toggleExpansion":{"__isSmartRef__":true,"id":4115}},"4112":{"varMapping":{"__isSmartRef__":true,"id":4113},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4114},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4113":{"this":{"__isSmartRef__":true,"id":4101}},"4114":{},"4115":{"varMapping":{"__isSmartRef__":true,"id":4116},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4117},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4116":{"this":{"__isSmartRef__":true,"id":4101}},"4117":{},"4118":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4119},"derivationIds":[null],"id":"BC58465B-0BE8-4133-BED4-4106F7E51329","renderContextTable":{"__isSmartRef__":true,"id":4123},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4124},{"__isSmartRef__":true,"id":4126}],"eventHandler":{"__isSmartRef__":true,"id":4128},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4129},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4100},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4130},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4119":{"_Position":{"__isSmartRef__":true,"id":4120},"renderContextTable":{"__isSmartRef__":true,"id":4121},"_Extent":{"__isSmartRef__":true,"id":4122},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-bc58465b-0be8-4133-bed4-4106f7e51329","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4120":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4121":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4122":{"x":122,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4123":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4124":{"style":{"__isSmartRef__":true,"id":4125},"chunkOwner":{"__isSmartRef__":true,"id":4118},"storedString":"name","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4125":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4126":{"style":{"__isSmartRef__":true,"id":4127},"chunkOwner":{"__isSmartRef__":true,"id":4118},"storedString":": LivelyEngine","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4127":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4128":{"morph":{"__isSmartRef__":true,"id":4118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4129":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4130":{"layoutText":{"__isSmartRef__":true,"id":4131}},"4131":{"varMapping":{"__isSmartRef__":true,"id":4132},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4133},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4132":{"this":{"__isSmartRef__":true,"id":4118}},"4133":{},"4134":{"_Position":{"__isSmartRef__":true,"id":4135},"renderContextTable":{"__isSmartRef__":true,"id":4136},"_Extent":{"__isSmartRef__":true,"id":4137},"_Padding":{"__isSmartRef__":true,"id":4138},"_NodeClass":["morph"],"_NodeId":"morph-afa24e19-50e7-4d02-947d-7293d848f803","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4135":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4136":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4137":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4138":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4139":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4140":{"morph":{"__isSmartRef__":true,"id":4100},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4141":{"resizeWidth":true},"4142":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4143":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4144":{"updateExpanderColor":{"__isSmartRef__":true,"id":4145},"onMouseDown":{"__isSmartRef__":true,"id":4148},"isRoot":{"__isSmartRef__":true,"id":4155},"displayValue":{"__isSmartRef__":true,"id":4158},"update":{"__isSmartRef__":true,"id":4161}},"4145":{"varMapping":{"__isSmartRef__":true,"id":4146},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4147},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4146":{"this":{"__isSmartRef__":true,"id":4100}},"4147":{},"4148":{"varMapping":{"__isSmartRef__":true,"id":4149},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4154},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4149":{"this":{"__isSmartRef__":true,"id":4100},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4150}},"4150":{"$super":{"__isSmartRef__":true,"id":4151}},"4151":{"varMapping":{"__isSmartRef__":true,"id":4152},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4153},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4152":{"obj":{"__isSmartRef__":true,"id":4100},"name":"onMouseDown"},"4153":{},"4154":{},"4155":{"varMapping":{"__isSmartRef__":true,"id":4156},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4157},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4156":{"this":{"__isSmartRef__":true,"id":4100}},"4157":{},"4158":{"varMapping":{"__isSmartRef__":true,"id":4159},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4160},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4159":{"this":{"__isSmartRef__":true,"id":4100}},"4160":{},"4161":{"varMapping":{"__isSmartRef__":true,"id":4162},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4163},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4162":{"this":{"__isSmartRef__":true,"id":4100}},"4163":{},"4164":{"_Position":{"__isSmartRef__":true,"id":4165},"renderContextTable":{"__isSmartRef__":true,"id":4166},"_Extent":{"__isSmartRef__":true,"id":4167},"_Padding":{"__isSmartRef__":true,"id":4168},"_NodeClass":["morph"],"_NodeId":"morph-544092d6-1531-4b3b-b536-448a56b78347","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4165":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4166":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4167":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4168":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4169":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4170":{"morph":{"__isSmartRef__":true,"id":4099},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4171":{"layouter":{"__isSmartRef__":true,"id":4172},"resizeWidth":true},"4172":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4099},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4173":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4174":{"x":0,"y":360,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4175":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4176}},"4176":{"varMapping":{"__isSmartRef__":true,"id":4177},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4182},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4177":{"this":{"__isSmartRef__":true,"id":4099},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4178}},"4178":{"$super":{"__isSmartRef__":true,"id":4179}},"4179":{"varMapping":{"__isSmartRef__":true,"id":4180},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4181},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4180":{"obj":{"__isSmartRef__":true,"id":4099},"name":"getLayoutableSubmorphs"},"4181":{},"4182":{},"4183":{"submorphs":[{"__isSmartRef__":true,"id":4184}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4248},"derivationIds":[null],"id":"BE5815BE-A9EC-4298-9A61-91B3DCC6C951","renderContextTable":{"__isSmartRef__":true,"id":4253},"eventHandler":{"__isSmartRef__":true,"id":4254},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4255},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4257},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4258},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4259},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4184":{"submorphs":[{"__isSmartRef__":true,"id":4185},{"__isSmartRef__":true,"id":4202}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4218},"derivationIds":[null],"id":"0A8BD378-5C74-443A-8291-39E935FC8C9B","renderContextTable":{"__isSmartRef__":true,"id":4223},"eventHandler":{"__isSmartRef__":true,"id":4224},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4225},"grabbingEnabled":false,"draggingEnabled":false,"data":100,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"normalSpeed","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4185},"text":{"__isSmartRef__":true,"id":4202},"owner":{"__isSmartRef__":true,"id":4183},"_Position":{"__isSmartRef__":true,"id":4226},"priorExtent":{"__isSmartRef__":true,"id":4227},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4228},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4185":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4186},"derivationIds":[null],"id":"6FAA507A-3065-4875-A6C5-D1CAC7A0658E","renderContextTable":{"__isSmartRef__":true,"id":4192},"eventHandler":{"__isSmartRef__":true,"id":4193},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4194},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4184},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4195},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4186":{"_Position":{"__isSmartRef__":true,"id":4187},"renderContextTable":{"__isSmartRef__":true,"id":4188},"_Extent":{"__isSmartRef__":true,"id":4189},"_Padding":{"__isSmartRef__":true,"id":4190},"_NodeClass":["morph","box"],"_NodeId":"morph-6faa507a-3065-4875-a6c5-d1cac7a0658e","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4191},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4187":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4188":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4189":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4190":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4191":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4192":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4193":{"morph":{"__isSmartRef__":true,"id":4185},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4194":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4195":{"toggle":{"__isSmartRef__":true,"id":4196},"toggleExpansion":{"__isSmartRef__":true,"id":4199}},"4196":{"varMapping":{"__isSmartRef__":true,"id":4197},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4198},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4197":{"this":{"__isSmartRef__":true,"id":4185}},"4198":{},"4199":{"varMapping":{"__isSmartRef__":true,"id":4200},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4201},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4200":{"this":{"__isSmartRef__":true,"id":4185}},"4201":{},"4202":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4203},"derivationIds":[null],"id":"793B3E28-6931-484C-801D-47F228DF7E2B","renderContextTable":{"__isSmartRef__":true,"id":4207},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4208},{"__isSmartRef__":true,"id":4210}],"eventHandler":{"__isSmartRef__":true,"id":4212},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4213},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4184},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4214},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4203":{"_Position":{"__isSmartRef__":true,"id":4204},"renderContextTable":{"__isSmartRef__":true,"id":4205},"_Extent":{"__isSmartRef__":true,"id":4206},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-793b3e28-6931-484c-801d-47f228df7e2b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4204":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4205":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4206":{"x":113,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4207":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4208":{"style":{"__isSmartRef__":true,"id":4209},"chunkOwner":{"__isSmartRef__":true,"id":4202},"storedString":"normalSpeed","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4209":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4210":{"style":{"__isSmartRef__":true,"id":4211},"chunkOwner":{"__isSmartRef__":true,"id":4202},"storedString":": 100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4211":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4212":{"morph":{"__isSmartRef__":true,"id":4202},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4213":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4214":{"layoutText":{"__isSmartRef__":true,"id":4215}},"4215":{"varMapping":{"__isSmartRef__":true,"id":4216},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4217},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4216":{"this":{"__isSmartRef__":true,"id":4202}},"4217":{},"4218":{"_Position":{"__isSmartRef__":true,"id":4219},"renderContextTable":{"__isSmartRef__":true,"id":4220},"_Extent":{"__isSmartRef__":true,"id":4221},"_Padding":{"__isSmartRef__":true,"id":4222},"_NodeClass":["morph"],"_NodeId":"morph-0a8bd378-5c74-443a-8291-39e935fc8c9b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4219":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4220":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4221":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4222":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4223":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4224":{"morph":{"__isSmartRef__":true,"id":4184},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4225":{"resizeWidth":true},"4226":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4227":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4228":{"updateExpanderColor":{"__isSmartRef__":true,"id":4229},"onMouseDown":{"__isSmartRef__":true,"id":4232},"isRoot":{"__isSmartRef__":true,"id":4239},"displayValue":{"__isSmartRef__":true,"id":4242},"update":{"__isSmartRef__":true,"id":4245}},"4229":{"varMapping":{"__isSmartRef__":true,"id":4230},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4231},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4230":{"this":{"__isSmartRef__":true,"id":4184}},"4231":{},"4232":{"varMapping":{"__isSmartRef__":true,"id":4233},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4238},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4233":{"this":{"__isSmartRef__":true,"id":4184},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4234}},"4234":{"$super":{"__isSmartRef__":true,"id":4235}},"4235":{"varMapping":{"__isSmartRef__":true,"id":4236},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4237},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4236":{"obj":{"__isSmartRef__":true,"id":4184},"name":"onMouseDown"},"4237":{},"4238":{},"4239":{"varMapping":{"__isSmartRef__":true,"id":4240},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4241},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4240":{"this":{"__isSmartRef__":true,"id":4184}},"4241":{},"4242":{"varMapping":{"__isSmartRef__":true,"id":4243},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4244},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4243":{"this":{"__isSmartRef__":true,"id":4184}},"4244":{},"4245":{"varMapping":{"__isSmartRef__":true,"id":4246},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4247},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4246":{"this":{"__isSmartRef__":true,"id":4184}},"4247":{},"4248":{"_Position":{"__isSmartRef__":true,"id":4249},"renderContextTable":{"__isSmartRef__":true,"id":4250},"_Extent":{"__isSmartRef__":true,"id":4251},"_Padding":{"__isSmartRef__":true,"id":4252},"_NodeClass":["morph"],"_NodeId":"morph-be5815be-a9ec-4298-9a61-91b3dcc6c951","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4249":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4250":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4251":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4252":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4253":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4254":{"morph":{"__isSmartRef__":true,"id":4183},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4255":{"layouter":{"__isSmartRef__":true,"id":4256},"resizeWidth":true},"4256":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4183},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4257":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4258":{"x":0,"y":340,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4259":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4260}},"4260":{"varMapping":{"__isSmartRef__":true,"id":4261},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4266},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4261":{"this":{"__isSmartRef__":true,"id":4183},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4262}},"4262":{"$super":{"__isSmartRef__":true,"id":4263}},"4263":{"varMapping":{"__isSmartRef__":true,"id":4264},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4265},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4264":{"obj":{"__isSmartRef__":true,"id":4183},"name":"getLayoutableSubmorphs"},"4265":{},"4266":{},"4267":{"submorphs":[{"__isSmartRef__":true,"id":4268}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4332},"derivationIds":[null],"id":"7595C7FB-7ED0-435B-AA14-BB657D256D3B","renderContextTable":{"__isSmartRef__":true,"id":4337},"eventHandler":{"__isSmartRef__":true,"id":4338},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4339},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4341},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4342},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4343},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4268":{"submorphs":[{"__isSmartRef__":true,"id":4269},{"__isSmartRef__":true,"id":4286}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4302},"derivationIds":[null],"id":"DEC0B2C2-70C5-4A8A-AA2A-CD33380A7C75","renderContextTable":{"__isSmartRef__":true,"id":4307},"eventHandler":{"__isSmartRef__":true,"id":4308},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4309},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":0},"propertyList":["submorphs","scripts","shape","id","renderContextTable","eventHandler","grabbingEnabled","droppingEnabled","showsMorphMenu","halosEnabled","__layered_draggingEnabled__","_Position","priorExtent","hands","changeSet","__SourceModuleName__","eventStartPos","worldMenuOpened","draggingEnabled","clickedOnMorphTime","statusMessages","lastAlert","prevScroll","showsHalos","loadingMorph","attributeConnections","doNotSerialize","doNotCopyProperties","savedWorldAsURL","_ClipMode","$$savedWorldAsURL","_renderContext","_isRendered","clickedOnMorph","currentHaloTarget","draggedMorph"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"owner","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4269},"text":{"__isSmartRef__":true,"id":4286},"owner":{"__isSmartRef__":true,"id":4267},"_Position":{"__isSmartRef__":true,"id":4310},"priorExtent":{"__isSmartRef__":true,"id":4311},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4312},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4269":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4270},"derivationIds":[null],"id":"69494536-54CF-484C-A28C-19A085F2CA6A","renderContextTable":{"__isSmartRef__":true,"id":4276},"eventHandler":{"__isSmartRef__":true,"id":4277},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4278},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4279},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4270":{"_Position":{"__isSmartRef__":true,"id":4271},"renderContextTable":{"__isSmartRef__":true,"id":4272},"_Extent":{"__isSmartRef__":true,"id":4273},"_Padding":{"__isSmartRef__":true,"id":4274},"_NodeClass":["morph","box"],"_NodeId":"morph-69494536-54cf-484c-a28c-19a085f2ca6a","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4275},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4271":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4272":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4273":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4274":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4275":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4276":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4277":{"morph":{"__isSmartRef__":true,"id":4269},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4278":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4279":{"toggle":{"__isSmartRef__":true,"id":4280},"toggleExpansion":{"__isSmartRef__":true,"id":4283}},"4280":{"varMapping":{"__isSmartRef__":true,"id":4281},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4282},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4281":{"this":{"__isSmartRef__":true,"id":4269}},"4282":{},"4283":{"varMapping":{"__isSmartRef__":true,"id":4284},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4285},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4284":{"this":{"__isSmartRef__":true,"id":4269}},"4285":{},"4286":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4287},"derivationIds":[null],"id":"616F4A2F-B02D-4B22-A0C4-C4E8AE832677","renderContextTable":{"__isSmartRef__":true,"id":4291},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4292},{"__isSmartRef__":true,"id":4294}],"eventHandler":{"__isSmartRef__":true,"id":4296},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4297},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4298},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4287":{"_Position":{"__isSmartRef__":true,"id":4288},"renderContextTable":{"__isSmartRef__":true,"id":4289},"_Extent":{"__isSmartRef__":true,"id":4290},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-616f4a2f-b02d-4b22-a0c4-c4e8ae832677","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4288":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4289":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4290":{"x":85,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4291":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4292":{"style":{"__isSmartRef__":true,"id":4293},"chunkOwner":{"__isSmartRef__":true,"id":4286},"storedString":"owner","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4293":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4294":{"style":{"__isSmartRef__":true,"id":4295},"chunkOwner":{"__isSmartRef__":true,"id":4286},"storedString":": World","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4295":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4296":{"morph":{"__isSmartRef__":true,"id":4286},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4297":{"x":90,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4298":{"layoutText":{"__isSmartRef__":true,"id":4299}},"4299":{"varMapping":{"__isSmartRef__":true,"id":4300},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4301},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4300":{"this":{"__isSmartRef__":true,"id":4286}},"4301":{},"4302":{"_Position":{"__isSmartRef__":true,"id":4303},"renderContextTable":{"__isSmartRef__":true,"id":4304},"_Extent":{"__isSmartRef__":true,"id":4305},"_Padding":{"__isSmartRef__":true,"id":4306},"_NodeClass":["morph"],"_NodeId":"morph-dec0b2c2-70c5-4a8a-aa2a-cd33380a7c75","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4303":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4304":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4305":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4306":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4307":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4308":{"morph":{"__isSmartRef__":true,"id":4268},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4309":{"resizeWidth":true},"4310":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4311":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4312":{"updateExpanderColor":{"__isSmartRef__":true,"id":4313},"onMouseDown":{"__isSmartRef__":true,"id":4316},"isRoot":{"__isSmartRef__":true,"id":4323},"displayValue":{"__isSmartRef__":true,"id":4326},"update":{"__isSmartRef__":true,"id":4329}},"4313":{"varMapping":{"__isSmartRef__":true,"id":4314},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4315},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4314":{"this":{"__isSmartRef__":true,"id":4268}},"4315":{},"4316":{"varMapping":{"__isSmartRef__":true,"id":4317},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4322},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4317":{"this":{"__isSmartRef__":true,"id":4268},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4318}},"4318":{"$super":{"__isSmartRef__":true,"id":4319}},"4319":{"varMapping":{"__isSmartRef__":true,"id":4320},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4321},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4320":{"obj":{"__isSmartRef__":true,"id":4268},"name":"onMouseDown"},"4321":{},"4322":{},"4323":{"varMapping":{"__isSmartRef__":true,"id":4324},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4325},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4324":{"this":{"__isSmartRef__":true,"id":4268}},"4325":{},"4326":{"varMapping":{"__isSmartRef__":true,"id":4327},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4328},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4327":{"this":{"__isSmartRef__":true,"id":4268}},"4328":{},"4329":{"varMapping":{"__isSmartRef__":true,"id":4330},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4331},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4330":{"this":{"__isSmartRef__":true,"id":4268}},"4331":{},"4332":{"_Position":{"__isSmartRef__":true,"id":4333},"renderContextTable":{"__isSmartRef__":true,"id":4334},"_Extent":{"__isSmartRef__":true,"id":4335},"_Padding":{"__isSmartRef__":true,"id":4336},"_NodeClass":["morph"],"_NodeId":"morph-7595c7fb-7ed0-435b-aa14-bb657d256d3b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4333":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4334":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4335":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4336":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4337":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4338":{"morph":{"__isSmartRef__":true,"id":4267},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4339":{"layouter":{"__isSmartRef__":true,"id":4340},"resizeWidth":true},"4340":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4267},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4341":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4342":{"x":0,"y":320,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4343":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4344}},"4344":{"varMapping":{"__isSmartRef__":true,"id":4345},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4350},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4345":{"this":{"__isSmartRef__":true,"id":4267},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4346}},"4346":{"$super":{"__isSmartRef__":true,"id":4347}},"4347":{"varMapping":{"__isSmartRef__":true,"id":4348},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4349},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4348":{"obj":{"__isSmartRef__":true,"id":4267},"name":"getLayoutableSubmorphs"},"4349":{},"4350":{},"4351":{"submorphs":[{"__isSmartRef__":true,"id":4352}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4416},"derivationIds":[null],"id":"77848A5E-2DF7-4525-8E61-47FC09E8CA5F","renderContextTable":{"__isSmartRef__":true,"id":4421},"eventHandler":{"__isSmartRef__":true,"id":4422},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4423},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4425},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4426},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4427},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4352":{"submorphs":[{"__isSmartRef__":true,"id":4353},{"__isSmartRef__":true,"id":4370}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4386},"derivationIds":[null],"id":"68D93093-484E-4867-93B6-DD9AD3FC3D6A","renderContextTable":{"__isSmartRef__":true,"id":4391},"eventHandler":{"__isSmartRef__":true,"id":4392},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4393},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":753},"propertyList":["partsSpaceName","__SourceModuleName__","comment","migrationLevel","partName"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"partsBinMetaInfo","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4353},"text":{"__isSmartRef__":true,"id":4370},"owner":{"__isSmartRef__":true,"id":4351},"_Position":{"__isSmartRef__":true,"id":4394},"priorExtent":{"__isSmartRef__":true,"id":4395},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4396},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4353":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4354},"derivationIds":[null],"id":"28ED5000-434D-4765-8E39-839BD203A0F7","renderContextTable":{"__isSmartRef__":true,"id":4360},"eventHandler":{"__isSmartRef__":true,"id":4361},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4362},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4363},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4354":{"_Position":{"__isSmartRef__":true,"id":4355},"renderContextTable":{"__isSmartRef__":true,"id":4356},"_Extent":{"__isSmartRef__":true,"id":4357},"_Padding":{"__isSmartRef__":true,"id":4358},"_NodeClass":["morph","box"],"_NodeId":"morph-28ed5000-434d-4765-8e39-839bd203a0f7","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4359},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4355":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4356":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4357":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4358":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4359":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4360":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4361":{"morph":{"__isSmartRef__":true,"id":4353},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4362":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4363":{"toggle":{"__isSmartRef__":true,"id":4364},"toggleExpansion":{"__isSmartRef__":true,"id":4367}},"4364":{"varMapping":{"__isSmartRef__":true,"id":4365},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4366},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4365":{"this":{"__isSmartRef__":true,"id":4353}},"4366":{},"4367":{"varMapping":{"__isSmartRef__":true,"id":4368},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4369},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4368":{"this":{"__isSmartRef__":true,"id":4353}},"4369":{},"4370":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4371},"derivationIds":[null],"id":"F07B40EF-2E20-4C27-85C0-A1A58310C54F","renderContextTable":{"__isSmartRef__":true,"id":4375},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4376},{"__isSmartRef__":true,"id":4378}],"eventHandler":{"__isSmartRef__":true,"id":4380},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4381},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4382},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4371":{"_Position":{"__isSmartRef__":true,"id":4372},"renderContextTable":{"__isSmartRef__":true,"id":4373},"_Extent":{"__isSmartRef__":true,"id":4374},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-f07b40ef-2e20-4c27-85c0-a1a58310c54f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4372":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4373":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4374":{"x":216,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4375":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4376":{"style":{"__isSmartRef__":true,"id":4377},"chunkOwner":{"__isSmartRef__":true,"id":4370},"storedString":"partsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4377":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4378":{"style":{"__isSmartRef__":true,"id":4379},"chunkOwner":{"__isSmartRef__":true,"id":4370},"storedString":": PartsBinMetaInfo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4379":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4380":{"morph":{"__isSmartRef__":true,"id":4370},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4381":{"x":255,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4382":{"layoutText":{"__isSmartRef__":true,"id":4383}},"4383":{"varMapping":{"__isSmartRef__":true,"id":4384},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4385},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4384":{"this":{"__isSmartRef__":true,"id":4370}},"4385":{},"4386":{"_Position":{"__isSmartRef__":true,"id":4387},"renderContextTable":{"__isSmartRef__":true,"id":4388},"_Extent":{"__isSmartRef__":true,"id":4389},"_Padding":{"__isSmartRef__":true,"id":4390},"_NodeClass":["morph"],"_NodeId":"morph-68d93093-484e-4867-93b6-dd9ad3fc3d6a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4387":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4388":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4389":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4390":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4391":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4392":{"morph":{"__isSmartRef__":true,"id":4352},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4393":{"resizeWidth":true},"4394":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4395":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4396":{"updateExpanderColor":{"__isSmartRef__":true,"id":4397},"onMouseDown":{"__isSmartRef__":true,"id":4400},"isRoot":{"__isSmartRef__":true,"id":4407},"displayValue":{"__isSmartRef__":true,"id":4410},"update":{"__isSmartRef__":true,"id":4413}},"4397":{"varMapping":{"__isSmartRef__":true,"id":4398},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4399},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4398":{"this":{"__isSmartRef__":true,"id":4352}},"4399":{},"4400":{"varMapping":{"__isSmartRef__":true,"id":4401},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4406},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4401":{"this":{"__isSmartRef__":true,"id":4352},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4402}},"4402":{"$super":{"__isSmartRef__":true,"id":4403}},"4403":{"varMapping":{"__isSmartRef__":true,"id":4404},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4405},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4404":{"obj":{"__isSmartRef__":true,"id":4352},"name":"onMouseDown"},"4405":{},"4406":{},"4407":{"varMapping":{"__isSmartRef__":true,"id":4408},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4409},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4408":{"this":{"__isSmartRef__":true,"id":4352}},"4409":{},"4410":{"varMapping":{"__isSmartRef__":true,"id":4411},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4412},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4411":{"this":{"__isSmartRef__":true,"id":4352}},"4412":{},"4413":{"varMapping":{"__isSmartRef__":true,"id":4414},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4415},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4414":{"this":{"__isSmartRef__":true,"id":4352}},"4415":{},"4416":{"_Position":{"__isSmartRef__":true,"id":4417},"renderContextTable":{"__isSmartRef__":true,"id":4418},"_Extent":{"__isSmartRef__":true,"id":4419},"_Padding":{"__isSmartRef__":true,"id":4420},"_NodeClass":["morph"],"_NodeId":"morph-77848a5e-2df7-4525-8e61-47fc09e8ca5f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4417":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4418":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4419":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4420":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4421":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4422":{"morph":{"__isSmartRef__":true,"id":4351},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4423":{"layouter":{"__isSmartRef__":true,"id":4424},"resizeWidth":true},"4424":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4351},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4425":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4426":{"x":0,"y":300,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4427":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4428}},"4428":{"varMapping":{"__isSmartRef__":true,"id":4429},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4434},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4429":{"this":{"__isSmartRef__":true,"id":4351},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4430}},"4430":{"$super":{"__isSmartRef__":true,"id":4431}},"4431":{"varMapping":{"__isSmartRef__":true,"id":4432},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4433},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4432":{"obj":{"__isSmartRef__":true,"id":4351},"name":"getLayoutableSubmorphs"},"4433":{},"4434":{},"4435":{"submorphs":[{"__isSmartRef__":true,"id":4436}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4500},"derivationIds":[null],"id":"66CD1FE0-AF08-4170-B93E-11C1B9D43467","renderContextTable":{"__isSmartRef__":true,"id":4505},"eventHandler":{"__isSmartRef__":true,"id":4506},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4507},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4509},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4510},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4511},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4436":{"submorphs":[{"__isSmartRef__":true,"id":4437},{"__isSmartRef__":true,"id":4454}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4470},"derivationIds":[null],"id":"928D663B-83B4-4B36-B6BF-5583AB723743","renderContextTable":{"__isSmartRef__":true,"id":4475},"eventHandler":{"__isSmartRef__":true,"id":4476},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4477},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":757},"propertyList":["fill","borderColor","borderWidth"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"pistonStyle","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4437},"text":{"__isSmartRef__":true,"id":4454},"owner":{"__isSmartRef__":true,"id":4435},"_Position":{"__isSmartRef__":true,"id":4478},"priorExtent":{"__isSmartRef__":true,"id":4479},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4480},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4437":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4438},"derivationIds":[null],"id":"1D3F7416-883A-4753-971F-0C1B98285F7F","renderContextTable":{"__isSmartRef__":true,"id":4444},"eventHandler":{"__isSmartRef__":true,"id":4445},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4446},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4436},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4447},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4438":{"_Position":{"__isSmartRef__":true,"id":4439},"renderContextTable":{"__isSmartRef__":true,"id":4440},"_Extent":{"__isSmartRef__":true,"id":4441},"_Padding":{"__isSmartRef__":true,"id":4442},"_NodeClass":["morph","box"],"_NodeId":"morph-1d3f7416-883a-4753-971f-0c1b98285f7f","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4443},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4439":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4440":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4441":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4442":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4443":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4444":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4445":{"morph":{"__isSmartRef__":true,"id":4437},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4446":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4447":{"toggle":{"__isSmartRef__":true,"id":4448},"toggleExpansion":{"__isSmartRef__":true,"id":4451}},"4448":{"varMapping":{"__isSmartRef__":true,"id":4449},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4450},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4449":{"this":{"__isSmartRef__":true,"id":4437}},"4450":{},"4451":{"varMapping":{"__isSmartRef__":true,"id":4452},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4453},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4452":{"this":{"__isSmartRef__":true,"id":4437}},"4453":{},"4454":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4455},"derivationIds":[null],"id":"91D08481-8176-4BF2-BC96-4C573BDD8ED1","renderContextTable":{"__isSmartRef__":true,"id":4459},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4460},{"__isSmartRef__":true,"id":4462}],"eventHandler":{"__isSmartRef__":true,"id":4464},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4465},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4436},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4466},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4455":{"_Position":{"__isSmartRef__":true,"id":4456},"renderContextTable":{"__isSmartRef__":true,"id":4457},"_Extent":{"__isSmartRef__":true,"id":4458},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-91d08481-8176-4bf2-bc96-4c573bdd8ed1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4456":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4457":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4458":{"x":101,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4459":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4460":{"style":{"__isSmartRef__":true,"id":4461},"chunkOwner":{"__isSmartRef__":true,"id":4454},"storedString":"pistonStyle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4461":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4462":{"style":{"__isSmartRef__":true,"id":4463},"chunkOwner":{"__isSmartRef__":true,"id":4454},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4463":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4464":{"morph":{"__isSmartRef__":true,"id":4454},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4465":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4466":{"layoutText":{"__isSmartRef__":true,"id":4467}},"4467":{"varMapping":{"__isSmartRef__":true,"id":4468},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4469},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4468":{"this":{"__isSmartRef__":true,"id":4454}},"4469":{},"4470":{"_Position":{"__isSmartRef__":true,"id":4471},"renderContextTable":{"__isSmartRef__":true,"id":4472},"_Extent":{"__isSmartRef__":true,"id":4473},"_Padding":{"__isSmartRef__":true,"id":4474},"_NodeClass":["morph"],"_NodeId":"morph-928d663b-83b4-4b36-b6bf-5583ab723743","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4471":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4472":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4473":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4474":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4475":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4476":{"morph":{"__isSmartRef__":true,"id":4436},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4477":{"resizeWidth":true},"4478":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4479":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4480":{"updateExpanderColor":{"__isSmartRef__":true,"id":4481},"onMouseDown":{"__isSmartRef__":true,"id":4484},"isRoot":{"__isSmartRef__":true,"id":4491},"displayValue":{"__isSmartRef__":true,"id":4494},"update":{"__isSmartRef__":true,"id":4497}},"4481":{"varMapping":{"__isSmartRef__":true,"id":4482},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4483},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4482":{"this":{"__isSmartRef__":true,"id":4436}},"4483":{},"4484":{"varMapping":{"__isSmartRef__":true,"id":4485},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4490},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4485":{"this":{"__isSmartRef__":true,"id":4436},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4486}},"4486":{"$super":{"__isSmartRef__":true,"id":4487}},"4487":{"varMapping":{"__isSmartRef__":true,"id":4488},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4489},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4488":{"obj":{"__isSmartRef__":true,"id":4436},"name":"onMouseDown"},"4489":{},"4490":{},"4491":{"varMapping":{"__isSmartRef__":true,"id":4492},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4493},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4492":{"this":{"__isSmartRef__":true,"id":4436}},"4493":{},"4494":{"varMapping":{"__isSmartRef__":true,"id":4495},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4496},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4495":{"this":{"__isSmartRef__":true,"id":4436}},"4496":{},"4497":{"varMapping":{"__isSmartRef__":true,"id":4498},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4499},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4498":{"this":{"__isSmartRef__":true,"id":4436}},"4499":{},"4500":{"_Position":{"__isSmartRef__":true,"id":4501},"renderContextTable":{"__isSmartRef__":true,"id":4502},"_Extent":{"__isSmartRef__":true,"id":4503},"_Padding":{"__isSmartRef__":true,"id":4504},"_NodeClass":["morph"],"_NodeId":"morph-66cd1fe0-af08-4170-b93e-11c1b9d43467","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4501":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4502":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4503":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4504":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4505":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4506":{"morph":{"__isSmartRef__":true,"id":4435},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4507":{"layouter":{"__isSmartRef__":true,"id":4508},"resizeWidth":true},"4508":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4435},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4509":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4510":{"x":0,"y":280,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4511":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4512}},"4512":{"varMapping":{"__isSmartRef__":true,"id":4513},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4518},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4513":{"this":{"__isSmartRef__":true,"id":4435},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4514}},"4514":{"$super":{"__isSmartRef__":true,"id":4515}},"4515":{"varMapping":{"__isSmartRef__":true,"id":4516},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4517},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4516":{"obj":{"__isSmartRef__":true,"id":4435},"name":"getLayoutableSubmorphs"},"4517":{},"4518":{},"4519":{"submorphs":[{"__isSmartRef__":true,"id":4520}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4584},"derivationIds":[null],"id":"48E4C95D-E33E-4FA5-A9D5-9134F563E59D","renderContextTable":{"__isSmartRef__":true,"id":4589},"eventHandler":{"__isSmartRef__":true,"id":4590},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4591},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4593},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4594},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4595},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4520":{"submorphs":[{"__isSmartRef__":true,"id":4521},{"__isSmartRef__":true,"id":4538}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4554},"derivationIds":[null],"id":"FAA40C4B-550E-414D-B7F5-0A05B0959581","renderContextTable":{"__isSmartRef__":true,"id":4559},"eventHandler":{"__isSmartRef__":true,"id":4560},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4561},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":756},"propertyList":["x","y","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"priorExtent","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4521},"text":{"__isSmartRef__":true,"id":4538},"owner":{"__isSmartRef__":true,"id":4519},"_Position":{"__isSmartRef__":true,"id":4562},"priorExtent":{"__isSmartRef__":true,"id":4563},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4564},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4521":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4522},"derivationIds":[null],"id":"0CAFE3EA-0351-4960-8453-0B6BFCD18D12","renderContextTable":{"__isSmartRef__":true,"id":4528},"eventHandler":{"__isSmartRef__":true,"id":4529},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4530},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4531},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4522":{"_Position":{"__isSmartRef__":true,"id":4523},"renderContextTable":{"__isSmartRef__":true,"id":4524},"_Extent":{"__isSmartRef__":true,"id":4525},"_Padding":{"__isSmartRef__":true,"id":4526},"_NodeClass":["morph","box"],"_NodeId":"morph-0cafe3ea-0351-4960-8453-0b6bfcd18d12","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4527},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4523":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4524":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4525":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4526":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4527":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4528":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4529":{"morph":{"__isSmartRef__":true,"id":4521},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4530":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4531":{"toggle":{"__isSmartRef__":true,"id":4532},"toggleExpansion":{"__isSmartRef__":true,"id":4535}},"4532":{"varMapping":{"__isSmartRef__":true,"id":4533},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4534},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4533":{"this":{"__isSmartRef__":true,"id":4521}},"4534":{},"4535":{"varMapping":{"__isSmartRef__":true,"id":4536},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4537},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4536":{"this":{"__isSmartRef__":true,"id":4521}},"4537":{},"4538":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4539},"derivationIds":[null],"id":"0E7D6BAC-09D8-4A34-85C1-29F1E3743B29","renderContextTable":{"__isSmartRef__":true,"id":4543},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4544},{"__isSmartRef__":true,"id":4546}],"eventHandler":{"__isSmartRef__":true,"id":4548},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4549},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4550},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4539":{"_Position":{"__isSmartRef__":true,"id":4540},"renderContextTable":{"__isSmartRef__":true,"id":4541},"_Extent":{"__isSmartRef__":true,"id":4542},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-0e7d6bac-09d8-4a34-85c1-29f1e3743b29","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4540":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4541":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4542":{"x":109,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4543":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4544":{"style":{"__isSmartRef__":true,"id":4545},"chunkOwner":{"__isSmartRef__":true,"id":4538},"storedString":"priorExtent","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4545":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4546":{"style":{"__isSmartRef__":true,"id":4547},"chunkOwner":{"__isSmartRef__":true,"id":4538},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4547":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4548":{"morph":{"__isSmartRef__":true,"id":4538},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4549":{"x":135,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4550":{"layoutText":{"__isSmartRef__":true,"id":4551}},"4551":{"varMapping":{"__isSmartRef__":true,"id":4552},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4553},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4552":{"this":{"__isSmartRef__":true,"id":4538}},"4553":{},"4554":{"_Position":{"__isSmartRef__":true,"id":4555},"renderContextTable":{"__isSmartRef__":true,"id":4556},"_Extent":{"__isSmartRef__":true,"id":4557},"_Padding":{"__isSmartRef__":true,"id":4558},"_NodeClass":["morph"],"_NodeId":"morph-faa40c4b-550e-414d-b7f5-0a05b0959581","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4555":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4556":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4557":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4558":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4559":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4560":{"morph":{"__isSmartRef__":true,"id":4520},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4561":{"resizeWidth":true},"4562":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4563":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4564":{"updateExpanderColor":{"__isSmartRef__":true,"id":4565},"onMouseDown":{"__isSmartRef__":true,"id":4568},"isRoot":{"__isSmartRef__":true,"id":4575},"displayValue":{"__isSmartRef__":true,"id":4578},"update":{"__isSmartRef__":true,"id":4581}},"4565":{"varMapping":{"__isSmartRef__":true,"id":4566},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4567},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4566":{"this":{"__isSmartRef__":true,"id":4520}},"4567":{},"4568":{"varMapping":{"__isSmartRef__":true,"id":4569},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4574},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4569":{"this":{"__isSmartRef__":true,"id":4520},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4570}},"4570":{"$super":{"__isSmartRef__":true,"id":4571}},"4571":{"varMapping":{"__isSmartRef__":true,"id":4572},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4573},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4572":{"obj":{"__isSmartRef__":true,"id":4520},"name":"onMouseDown"},"4573":{},"4574":{},"4575":{"varMapping":{"__isSmartRef__":true,"id":4576},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4577},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4576":{"this":{"__isSmartRef__":true,"id":4520}},"4577":{},"4578":{"varMapping":{"__isSmartRef__":true,"id":4579},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4580},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4579":{"this":{"__isSmartRef__":true,"id":4520}},"4580":{},"4581":{"varMapping":{"__isSmartRef__":true,"id":4582},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4583},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4582":{"this":{"__isSmartRef__":true,"id":4520}},"4583":{},"4584":{"_Position":{"__isSmartRef__":true,"id":4585},"renderContextTable":{"__isSmartRef__":true,"id":4586},"_Extent":{"__isSmartRef__":true,"id":4587},"_Padding":{"__isSmartRef__":true,"id":4588},"_NodeClass":["morph"],"_NodeId":"morph-48e4c95d-e33e-4fa5-a9d5-9134f563e59d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4585":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4586":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4587":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4588":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4589":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4590":{"morph":{"__isSmartRef__":true,"id":4519},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4591":{"layouter":{"__isSmartRef__":true,"id":4592},"resizeWidth":true},"4592":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4519},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4593":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4594":{"x":0,"y":260,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4595":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4596}},"4596":{"varMapping":{"__isSmartRef__":true,"id":4597},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4602},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4597":{"this":{"__isSmartRef__":true,"id":4519},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4598}},"4598":{"$super":{"__isSmartRef__":true,"id":4599}},"4599":{"varMapping":{"__isSmartRef__":true,"id":4600},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4601},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4600":{"obj":{"__isSmartRef__":true,"id":4519},"name":"getLayoutableSubmorphs"},"4601":{},"4602":{},"4603":{"submorphs":[{"__isSmartRef__":true,"id":4604}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4668},"derivationIds":[null],"id":"3EF074F8-EA01-4D2C-A5D2-3D7448CC9703","renderContextTable":{"__isSmartRef__":true,"id":4673},"eventHandler":{"__isSmartRef__":true,"id":4674},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4675},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4677},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4678},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4679},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4604":{"submorphs":[{"__isSmartRef__":true,"id":4605},{"__isSmartRef__":true,"id":4622}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4638},"derivationIds":[null],"id":"B484B2DA-65E6-4631-8B4E-21627FA59065","renderContextTable":{"__isSmartRef__":true,"id":4643},"eventHandler":{"__isSmartRef__":true,"id":4644},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4645},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"registeredForMouseEvents","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4605},"text":{"__isSmartRef__":true,"id":4622},"owner":{"__isSmartRef__":true,"id":4603},"_Position":{"__isSmartRef__":true,"id":4646},"priorExtent":{"__isSmartRef__":true,"id":4647},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4648},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4605":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4606},"derivationIds":[null],"id":"1C0E56D6-CDE8-4F06-9036-7C695DA0440F","renderContextTable":{"__isSmartRef__":true,"id":4612},"eventHandler":{"__isSmartRef__":true,"id":4613},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4614},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4604},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4615},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4606":{"_Position":{"__isSmartRef__":true,"id":4607},"renderContextTable":{"__isSmartRef__":true,"id":4608},"_Extent":{"__isSmartRef__":true,"id":4609},"_Padding":{"__isSmartRef__":true,"id":4610},"_NodeClass":["morph","box"],"_NodeId":"morph-1c0e56d6-cde8-4f06-9036-7c695da0440f","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4611},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4607":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4608":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4609":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4610":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4611":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4612":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4613":{"morph":{"__isSmartRef__":true,"id":4605},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4614":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4615":{"toggle":{"__isSmartRef__":true,"id":4616},"toggleExpansion":{"__isSmartRef__":true,"id":4619}},"4616":{"varMapping":{"__isSmartRef__":true,"id":4617},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4618},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4617":{"this":{"__isSmartRef__":true,"id":4605}},"4618":{},"4619":{"varMapping":{"__isSmartRef__":true,"id":4620},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4621},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4620":{"this":{"__isSmartRef__":true,"id":4605}},"4621":{},"4622":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4623},"derivationIds":[null],"id":"89CF2F67-A558-4B39-9A30-4BF10F1C70E2","renderContextTable":{"__isSmartRef__":true,"id":4627},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4628},{"__isSmartRef__":true,"id":4630}],"eventHandler":{"__isSmartRef__":true,"id":4632},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4633},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4604},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4634},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4623":{"_Position":{"__isSmartRef__":true,"id":4624},"renderContextTable":{"__isSmartRef__":true,"id":4625},"_Extent":{"__isSmartRef__":true,"id":4626},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-89cf2f67-a558-4b39-9a30-4bf10f1c70e2","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4624":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4625":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4626":{"x":194,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4627":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4628":{"style":{"__isSmartRef__":true,"id":4629},"chunkOwner":{"__isSmartRef__":true,"id":4622},"storedString":"registeredForMouseEvents","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4629":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4630":{"style":{"__isSmartRef__":true,"id":4631},"chunkOwner":{"__isSmartRef__":true,"id":4622},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4631":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4632":{"morph":{"__isSmartRef__":true,"id":4622},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4633":{"x":225,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4634":{"layoutText":{"__isSmartRef__":true,"id":4635}},"4635":{"varMapping":{"__isSmartRef__":true,"id":4636},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4637},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4636":{"this":{"__isSmartRef__":true,"id":4622}},"4637":{},"4638":{"_Position":{"__isSmartRef__":true,"id":4639},"renderContextTable":{"__isSmartRef__":true,"id":4640},"_Extent":{"__isSmartRef__":true,"id":4641},"_Padding":{"__isSmartRef__":true,"id":4642},"_NodeClass":["morph"],"_NodeId":"morph-b484b2da-65e6-4631-8b4e-21627fa59065","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4639":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4640":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4641":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4642":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4643":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4644":{"morph":{"__isSmartRef__":true,"id":4604},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4645":{"resizeWidth":true},"4646":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4647":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4648":{"updateExpanderColor":{"__isSmartRef__":true,"id":4649},"onMouseDown":{"__isSmartRef__":true,"id":4652},"isRoot":{"__isSmartRef__":true,"id":4659},"displayValue":{"__isSmartRef__":true,"id":4662},"update":{"__isSmartRef__":true,"id":4665}},"4649":{"varMapping":{"__isSmartRef__":true,"id":4650},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4651},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4650":{"this":{"__isSmartRef__":true,"id":4604}},"4651":{},"4652":{"varMapping":{"__isSmartRef__":true,"id":4653},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4658},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4653":{"this":{"__isSmartRef__":true,"id":4604},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4654}},"4654":{"$super":{"__isSmartRef__":true,"id":4655}},"4655":{"varMapping":{"__isSmartRef__":true,"id":4656},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4657},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4656":{"obj":{"__isSmartRef__":true,"id":4604},"name":"onMouseDown"},"4657":{},"4658":{},"4659":{"varMapping":{"__isSmartRef__":true,"id":4660},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4661},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4660":{"this":{"__isSmartRef__":true,"id":4604}},"4661":{},"4662":{"varMapping":{"__isSmartRef__":true,"id":4663},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4664},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4663":{"this":{"__isSmartRef__":true,"id":4604}},"4664":{},"4665":{"varMapping":{"__isSmartRef__":true,"id":4666},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4667},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4666":{"this":{"__isSmartRef__":true,"id":4604}},"4667":{},"4668":{"_Position":{"__isSmartRef__":true,"id":4669},"renderContextTable":{"__isSmartRef__":true,"id":4670},"_Extent":{"__isSmartRef__":true,"id":4671},"_Padding":{"__isSmartRef__":true,"id":4672},"_NodeClass":["morph"],"_NodeId":"morph-3ef074f8-ea01-4d2c-a5d2-3d7448cc9703","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4669":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4670":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4671":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4672":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4673":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4674":{"morph":{"__isSmartRef__":true,"id":4603},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4675":{"layouter":{"__isSmartRef__":true,"id":4676},"resizeWidth":true},"4676":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4603},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4677":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4678":{"x":0,"y":240,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4679":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4680}},"4680":{"varMapping":{"__isSmartRef__":true,"id":4681},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4686},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4681":{"this":{"__isSmartRef__":true,"id":4603},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4682}},"4682":{"$super":{"__isSmartRef__":true,"id":4683}},"4683":{"varMapping":{"__isSmartRef__":true,"id":4684},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4685},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4684":{"obj":{"__isSmartRef__":true,"id":4603},"name":"getLayoutableSubmorphs"},"4685":{},"4686":{},"4687":{"submorphs":[{"__isSmartRef__":true,"id":4688}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4752},"derivationIds":[null],"id":"592C4FBC-F6CD-4CD2-83B6-8BF2208144D4","renderContextTable":{"__isSmartRef__":true,"id":4757},"eventHandler":{"__isSmartRef__":true,"id":4758},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4759},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4761},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4762},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4763},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4688":{"submorphs":[{"__isSmartRef__":true,"id":4689},{"__isSmartRef__":true,"id":4706}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4722},"derivationIds":[null],"id":"C77BEE46-5F6E-4655-8CB9-00AC32588AC6","renderContextTable":{"__isSmartRef__":true,"id":4727},"eventHandler":{"__isSmartRef__":true,"id":4728},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4729},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":754},"propertyList":["replaceRenderContext","init","append","remove","onRenderFinished","triggerEvent","setTransform","setPosition","setRotation","setExtent","setScale","setVisible","adjustOrigin","setPivotPoint","setClipMode","showsVerticalScrollBar","showsHorizontalScrollBar","getScrollBarExtent","setHandStyle","setPointerEvents","setToolTip","focus","blur","setFocusable","setStyleSheet"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"renderContextTable","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4689},"text":{"__isSmartRef__":true,"id":4706},"owner":{"__isSmartRef__":true,"id":4687},"_Position":{"__isSmartRef__":true,"id":4730},"priorExtent":{"__isSmartRef__":true,"id":4731},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4732},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4689":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4690},"derivationIds":[null],"id":"D1EA5B92-87E1-4130-96BE-ABEE109DF3CB","renderContextTable":{"__isSmartRef__":true,"id":4696},"eventHandler":{"__isSmartRef__":true,"id":4697},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4698},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4688},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4699},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4690":{"_Position":{"__isSmartRef__":true,"id":4691},"renderContextTable":{"__isSmartRef__":true,"id":4692},"_Extent":{"__isSmartRef__":true,"id":4693},"_Padding":{"__isSmartRef__":true,"id":4694},"_NodeClass":["morph","box"],"_NodeId":"morph-d1ea5b92-87e1-4130-96be-abee109df3cb","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4695},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4691":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4692":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4693":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4694":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4695":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4696":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4697":{"morph":{"__isSmartRef__":true,"id":4689},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4698":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4699":{"toggle":{"__isSmartRef__":true,"id":4700},"toggleExpansion":{"__isSmartRef__":true,"id":4703}},"4700":{"varMapping":{"__isSmartRef__":true,"id":4701},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4702},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4701":{"this":{"__isSmartRef__":true,"id":4689}},"4702":{},"4703":{"varMapping":{"__isSmartRef__":true,"id":4704},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4705},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4704":{"this":{"__isSmartRef__":true,"id":4689}},"4705":{},"4706":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4707},"derivationIds":[null],"id":"1D4C0A41-E2C8-4435-8A19-46E2E05C77F1","renderContextTable":{"__isSmartRef__":true,"id":4711},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4712},{"__isSmartRef__":true,"id":4714}],"eventHandler":{"__isSmartRef__":true,"id":4716},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4717},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4688},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4718},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4707":{"_Position":{"__isSmartRef__":true,"id":4708},"renderContextTable":{"__isSmartRef__":true,"id":4709},"_Extent":{"__isSmartRef__":true,"id":4710},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-1d4c0a41-e2c8-4435-8a19-46e2e05c77f1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4708":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4709":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4710":{"x":150,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4711":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4712":{"style":{"__isSmartRef__":true,"id":4713},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":"renderContextTable","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4713":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4714":{"style":{"__isSmartRef__":true,"id":4715},"chunkOwner":{"__isSmartRef__":true,"id":4706},"storedString":": {...}","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4715":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4716":{"morph":{"__isSmartRef__":true,"id":4706},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4717":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4718":{"layoutText":{"__isSmartRef__":true,"id":4719}},"4719":{"varMapping":{"__isSmartRef__":true,"id":4720},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4721},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4720":{"this":{"__isSmartRef__":true,"id":4706}},"4721":{},"4722":{"_Position":{"__isSmartRef__":true,"id":4723},"renderContextTable":{"__isSmartRef__":true,"id":4724},"_Extent":{"__isSmartRef__":true,"id":4725},"_Padding":{"__isSmartRef__":true,"id":4726},"_NodeClass":["morph"],"_NodeId":"morph-c77bee46-5f6e-4655-8cb9-00ac32588ac6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4723":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4724":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4725":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4726":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4727":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4728":{"morph":{"__isSmartRef__":true,"id":4688},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4729":{"resizeWidth":true},"4730":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4731":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4732":{"updateExpanderColor":{"__isSmartRef__":true,"id":4733},"onMouseDown":{"__isSmartRef__":true,"id":4736},"isRoot":{"__isSmartRef__":true,"id":4743},"displayValue":{"__isSmartRef__":true,"id":4746},"update":{"__isSmartRef__":true,"id":4749}},"4733":{"varMapping":{"__isSmartRef__":true,"id":4734},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4735},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4734":{"this":{"__isSmartRef__":true,"id":4688}},"4735":{},"4736":{"varMapping":{"__isSmartRef__":true,"id":4737},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4742},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4737":{"this":{"__isSmartRef__":true,"id":4688},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4738}},"4738":{"$super":{"__isSmartRef__":true,"id":4739}},"4739":{"varMapping":{"__isSmartRef__":true,"id":4740},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4741},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4740":{"obj":{"__isSmartRef__":true,"id":4688},"name":"onMouseDown"},"4741":{},"4742":{},"4743":{"varMapping":{"__isSmartRef__":true,"id":4744},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4745},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4744":{"this":{"__isSmartRef__":true,"id":4688}},"4745":{},"4746":{"varMapping":{"__isSmartRef__":true,"id":4747},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4748},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4747":{"this":{"__isSmartRef__":true,"id":4688}},"4748":{},"4749":{"varMapping":{"__isSmartRef__":true,"id":4750},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4751},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4750":{"this":{"__isSmartRef__":true,"id":4688}},"4751":{},"4752":{"_Position":{"__isSmartRef__":true,"id":4753},"renderContextTable":{"__isSmartRef__":true,"id":4754},"_Extent":{"__isSmartRef__":true,"id":4755},"_Padding":{"__isSmartRef__":true,"id":4756},"_NodeClass":["morph"],"_NodeId":"morph-592c4fbc-f6cd-4cd2-83b6-8bf2208144d4","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4753":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4754":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4755":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4756":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4757":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4758":{"morph":{"__isSmartRef__":true,"id":4687},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4759":{"layouter":{"__isSmartRef__":true,"id":4760},"resizeWidth":true},"4760":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4687},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4761":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4762":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4763":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4764}},"4764":{"varMapping":{"__isSmartRef__":true,"id":4765},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4770},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4765":{"this":{"__isSmartRef__":true,"id":4687},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4766}},"4766":{"$super":{"__isSmartRef__":true,"id":4767}},"4767":{"varMapping":{"__isSmartRef__":true,"id":4768},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4769},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4768":{"obj":{"__isSmartRef__":true,"id":4687},"name":"getLayoutableSubmorphs"},"4769":{},"4770":{},"4771":{"submorphs":[{"__isSmartRef__":true,"id":4772}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4836},"derivationIds":[null],"id":"10E83D10-13EA-4402-AE43-A429B8DA2C20","renderContextTable":{"__isSmartRef__":true,"id":4841},"eventHandler":{"__isSmartRef__":true,"id":4842},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4843},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4845},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4846},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4847},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4772":{"submorphs":[{"__isSmartRef__":true,"id":4773},{"__isSmartRef__":true,"id":4790}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4806},"derivationIds":[null],"id":"1172CB54-1160-4C52-9CD3-67F18AB0839A","renderContextTable":{"__isSmartRef__":true,"id":4811},"eventHandler":{"__isSmartRef__":true,"id":4812},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4813},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":767},"propertyList":["submorphs","scripts","shape","derivationIds","id","renderContextTable","eventHandler","__layered_droppingEnabled__","halosEnabled","_Position","items","itemMorphs","title","priorExtent","remainOnScreen","isEpiMorph","owner","__SourceModuleName__","showsHalos"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"runMenu","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4773},"text":{"__isSmartRef__":true,"id":4790},"owner":{"__isSmartRef__":true,"id":4771},"_Position":{"__isSmartRef__":true,"id":4814},"priorExtent":{"__isSmartRef__":true,"id":4815},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4816},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4773":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4774},"derivationIds":[null],"id":"3DB16A14-0855-46C7-919B-03E2C5E71A63","renderContextTable":{"__isSmartRef__":true,"id":4780},"eventHandler":{"__isSmartRef__":true,"id":4781},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4782},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4772},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4783},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4774":{"_Position":{"__isSmartRef__":true,"id":4775},"renderContextTable":{"__isSmartRef__":true,"id":4776},"_Extent":{"__isSmartRef__":true,"id":4777},"_Padding":{"__isSmartRef__":true,"id":4778},"_NodeClass":["morph","box"],"_NodeId":"morph-3db16a14-0855-46c7-919b-03e2c5e71a63","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4779},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4775":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4776":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4777":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4778":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4779":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4780":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4781":{"morph":{"__isSmartRef__":true,"id":4773},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4782":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4783":{"toggle":{"__isSmartRef__":true,"id":4784},"toggleExpansion":{"__isSmartRef__":true,"id":4787}},"4784":{"varMapping":{"__isSmartRef__":true,"id":4785},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4786},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4785":{"this":{"__isSmartRef__":true,"id":4773}},"4786":{},"4787":{"varMapping":{"__isSmartRef__":true,"id":4788},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4789},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4788":{"this":{"__isSmartRef__":true,"id":4773}},"4789":{},"4790":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4791},"derivationIds":[null],"id":"8E17B0F2-08B9-4FDA-951F-ACB76B844524","renderContextTable":{"__isSmartRef__":true,"id":4795},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4796},{"__isSmartRef__":true,"id":4798}],"eventHandler":{"__isSmartRef__":true,"id":4800},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4801},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4772},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4802},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4791":{"_Position":{"__isSmartRef__":true,"id":4792},"renderContextTable":{"__isSmartRef__":true,"id":4793},"_Extent":{"__isSmartRef__":true,"id":4794},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-8e17b0f2-08b9-4fda-951f-acb76b844524","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4792":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4793":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4794":{"x":98,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4795":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4796":{"style":{"__isSmartRef__":true,"id":4797},"chunkOwner":{"__isSmartRef__":true,"id":4790},"storedString":"runMenu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4797":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4798":{"style":{"__isSmartRef__":true,"id":4799},"chunkOwner":{"__isSmartRef__":true,"id":4790},"storedString":": Menu","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4799":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4800":{"morph":{"__isSmartRef__":true,"id":4790},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4801":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4802":{"layoutText":{"__isSmartRef__":true,"id":4803}},"4803":{"varMapping":{"__isSmartRef__":true,"id":4804},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4805},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4804":{"this":{"__isSmartRef__":true,"id":4790}},"4805":{},"4806":{"_Position":{"__isSmartRef__":true,"id":4807},"renderContextTable":{"__isSmartRef__":true,"id":4808},"_Extent":{"__isSmartRef__":true,"id":4809},"_Padding":{"__isSmartRef__":true,"id":4810},"_NodeClass":["morph"],"_NodeId":"morph-1172cb54-1160-4c52-9cd3-67f18ab0839a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4807":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4808":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4809":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4810":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4811":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4812":{"morph":{"__isSmartRef__":true,"id":4772},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4813":{"resizeWidth":true},"4814":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4815":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4816":{"updateExpanderColor":{"__isSmartRef__":true,"id":4817},"onMouseDown":{"__isSmartRef__":true,"id":4820},"isRoot":{"__isSmartRef__":true,"id":4827},"displayValue":{"__isSmartRef__":true,"id":4830},"update":{"__isSmartRef__":true,"id":4833}},"4817":{"varMapping":{"__isSmartRef__":true,"id":4818},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4819},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4818":{"this":{"__isSmartRef__":true,"id":4772}},"4819":{},"4820":{"varMapping":{"__isSmartRef__":true,"id":4821},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4826},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4821":{"this":{"__isSmartRef__":true,"id":4772},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4822}},"4822":{"$super":{"__isSmartRef__":true,"id":4823}},"4823":{"varMapping":{"__isSmartRef__":true,"id":4824},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4825},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4824":{"obj":{"__isSmartRef__":true,"id":4772},"name":"onMouseDown"},"4825":{},"4826":{},"4827":{"varMapping":{"__isSmartRef__":true,"id":4828},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4829},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4828":{"this":{"__isSmartRef__":true,"id":4772}},"4829":{},"4830":{"varMapping":{"__isSmartRef__":true,"id":4831},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4832},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4831":{"this":{"__isSmartRef__":true,"id":4772}},"4832":{},"4833":{"varMapping":{"__isSmartRef__":true,"id":4834},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4835},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4834":{"this":{"__isSmartRef__":true,"id":4772}},"4835":{},"4836":{"_Position":{"__isSmartRef__":true,"id":4837},"renderContextTable":{"__isSmartRef__":true,"id":4838},"_Extent":{"__isSmartRef__":true,"id":4839},"_Padding":{"__isSmartRef__":true,"id":4840},"_NodeClass":["morph"],"_NodeId":"morph-10e83d10-13ea-4402-ae43-a429b8da2c20","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4837":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4838":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4839":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4840":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4841":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4842":{"morph":{"__isSmartRef__":true,"id":4771},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4843":{"layouter":{"__isSmartRef__":true,"id":4844},"resizeWidth":true},"4844":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4771},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4845":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4846":{"x":0,"y":200,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4847":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4848}},"4848":{"varMapping":{"__isSmartRef__":true,"id":4849},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4854},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4849":{"this":{"__isSmartRef__":true,"id":4771},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4850}},"4850":{"$super":{"__isSmartRef__":true,"id":4851}},"4851":{"varMapping":{"__isSmartRef__":true,"id":4852},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4853},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4852":{"obj":{"__isSmartRef__":true,"id":4771},"name":"getLayoutableSubmorphs"},"4853":{},"4854":{},"4855":{"submorphs":[{"__isSmartRef__":true,"id":4856}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4920},"derivationIds":[null],"id":"35A216DA-7E9D-4650-9597-50E67C708070","renderContextTable":{"__isSmartRef__":true,"id":4925},"eventHandler":{"__isSmartRef__":true,"id":4926},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4927},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":4929},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":4930},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4931},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4856":{"submorphs":[{"__isSmartRef__":true,"id":4857},{"__isSmartRef__":true,"id":4874}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4890},"derivationIds":[null],"id":"23DBC5BF-6B57-4507-BCA3-A4823475A7CD","renderContextTable":{"__isSmartRef__":true,"id":4895},"eventHandler":{"__isSmartRef__":true,"id":4896},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4897},"grabbingEnabled":false,"draggingEnabled":false,"data":true,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"running","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4857},"text":{"__isSmartRef__":true,"id":4874},"owner":{"__isSmartRef__":true,"id":4855},"_Position":{"__isSmartRef__":true,"id":4898},"priorExtent":{"__isSmartRef__":true,"id":4899},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4900},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4857":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4858},"derivationIds":[null],"id":"2265DD38-3DCA-4CC5-98A3-1B070152E673","renderContextTable":{"__isSmartRef__":true,"id":4864},"eventHandler":{"__isSmartRef__":true,"id":4865},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4866},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4867},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4858":{"_Position":{"__isSmartRef__":true,"id":4859},"renderContextTable":{"__isSmartRef__":true,"id":4860},"_Extent":{"__isSmartRef__":true,"id":4861},"_Padding":{"__isSmartRef__":true,"id":4862},"_NodeClass":["morph","box"],"_NodeId":"morph-2265dd38-3dca-4cc5-98a3-1b070152e673","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4863},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4859":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4860":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4861":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4862":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4863":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4864":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4865":{"morph":{"__isSmartRef__":true,"id":4857},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4866":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4867":{"toggle":{"__isSmartRef__":true,"id":4868},"toggleExpansion":{"__isSmartRef__":true,"id":4871}},"4868":{"varMapping":{"__isSmartRef__":true,"id":4869},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4870},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4869":{"this":{"__isSmartRef__":true,"id":4857}},"4870":{},"4871":{"varMapping":{"__isSmartRef__":true,"id":4872},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4873},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4872":{"this":{"__isSmartRef__":true,"id":4857}},"4873":{},"4874":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4875},"derivationIds":[null],"id":"1F4D38F4-1862-401B-AA8D-E6F0A2B43E9A","renderContextTable":{"__isSmartRef__":true,"id":4879},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4880},{"__isSmartRef__":true,"id":4882}],"eventHandler":{"__isSmartRef__":true,"id":4884},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4885},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4886},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4875":{"_Position":{"__isSmartRef__":true,"id":4876},"renderContextTable":{"__isSmartRef__":true,"id":4877},"_Extent":{"__isSmartRef__":true,"id":4878},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-1f4d38f4-1862-401b-aa8d-e6f0a2b43e9a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4876":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4877":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4878":{"x":80,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4879":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4880":{"style":{"__isSmartRef__":true,"id":4881},"chunkOwner":{"__isSmartRef__":true,"id":4874},"storedString":"running","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4881":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4882":{"style":{"__isSmartRef__":true,"id":4883},"chunkOwner":{"__isSmartRef__":true,"id":4874},"storedString":": true","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4883":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4884":{"morph":{"__isSmartRef__":true,"id":4874},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4885":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4886":{"layoutText":{"__isSmartRef__":true,"id":4887}},"4887":{"varMapping":{"__isSmartRef__":true,"id":4888},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4889},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4888":{"this":{"__isSmartRef__":true,"id":4874}},"4889":{},"4890":{"_Position":{"__isSmartRef__":true,"id":4891},"renderContextTable":{"__isSmartRef__":true,"id":4892},"_Extent":{"__isSmartRef__":true,"id":4893},"_Padding":{"__isSmartRef__":true,"id":4894},"_NodeClass":["morph"],"_NodeId":"morph-23dbc5bf-6b57-4507-bca3-a4823475a7cd","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4891":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4892":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4893":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4894":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4895":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4896":{"morph":{"__isSmartRef__":true,"id":4856},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4897":{"resizeWidth":true},"4898":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4899":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4900":{"updateExpanderColor":{"__isSmartRef__":true,"id":4901},"onMouseDown":{"__isSmartRef__":true,"id":4904},"isRoot":{"__isSmartRef__":true,"id":4911},"displayValue":{"__isSmartRef__":true,"id":4914},"update":{"__isSmartRef__":true,"id":4917}},"4901":{"varMapping":{"__isSmartRef__":true,"id":4902},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4903},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4902":{"this":{"__isSmartRef__":true,"id":4856}},"4903":{},"4904":{"varMapping":{"__isSmartRef__":true,"id":4905},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4910},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4905":{"this":{"__isSmartRef__":true,"id":4856},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4906}},"4906":{"$super":{"__isSmartRef__":true,"id":4907}},"4907":{"varMapping":{"__isSmartRef__":true,"id":4908},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4909},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4908":{"obj":{"__isSmartRef__":true,"id":4856},"name":"onMouseDown"},"4909":{},"4910":{},"4911":{"varMapping":{"__isSmartRef__":true,"id":4912},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4912":{"this":{"__isSmartRef__":true,"id":4856}},"4913":{},"4914":{"varMapping":{"__isSmartRef__":true,"id":4915},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":4916},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4915":{"this":{"__isSmartRef__":true,"id":4856}},"4916":{},"4917":{"varMapping":{"__isSmartRef__":true,"id":4918},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4919},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4918":{"this":{"__isSmartRef__":true,"id":4856}},"4919":{},"4920":{"_Position":{"__isSmartRef__":true,"id":4921},"renderContextTable":{"__isSmartRef__":true,"id":4922},"_Extent":{"__isSmartRef__":true,"id":4923},"_Padding":{"__isSmartRef__":true,"id":4924},"_NodeClass":["morph"],"_NodeId":"morph-35a216da-7e9d-4650-9597-50e67c708070","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4921":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4922":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4923":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4924":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4925":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4926":{"morph":{"__isSmartRef__":true,"id":4855},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4927":{"layouter":{"__isSmartRef__":true,"id":4928},"resizeWidth":true},"4928":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4855},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"4929":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4930":{"x":0,"y":180,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4931":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":4932}},"4932":{"varMapping":{"__isSmartRef__":true,"id":4933},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":4938},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4933":{"this":{"__isSmartRef__":true,"id":4855},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4934}},"4934":{"$super":{"__isSmartRef__":true,"id":4935}},"4935":{"varMapping":{"__isSmartRef__":true,"id":4936},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4937},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4936":{"obj":{"__isSmartRef__":true,"id":4855},"name":"getLayoutableSubmorphs"},"4937":{},"4938":{},"4939":{"submorphs":[{"__isSmartRef__":true,"id":4940}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5004},"derivationIds":[null],"id":"989CAE60-E952-422C-B363-90BF15D8645E","renderContextTable":{"__isSmartRef__":true,"id":5009},"eventHandler":{"__isSmartRef__":true,"id":5010},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5011},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5013},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5014},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5015},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4940":{"submorphs":[{"__isSmartRef__":true,"id":4941},{"__isSmartRef__":true,"id":4958}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4974},"derivationIds":[null],"id":"02848077-ECA0-4345-B9D9-4CCF5065896F","renderContextTable":{"__isSmartRef__":true,"id":4979},"eventHandler":{"__isSmartRef__":true,"id":4980},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4981},"grabbingEnabled":false,"draggingEnabled":false,"data":[],"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"scripts","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":4941},"text":{"__isSmartRef__":true,"id":4958},"owner":{"__isSmartRef__":true,"id":4939},"_Position":{"__isSmartRef__":true,"id":4982},"priorExtent":{"__isSmartRef__":true,"id":4983},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4984},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"4941":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4942},"derivationIds":[null],"id":"24D83612-B365-4E55-87EA-752FD438B4E4","renderContextTable":{"__isSmartRef__":true,"id":4948},"eventHandler":{"__isSmartRef__":true,"id":4949},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4950},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":4940},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4951},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"4942":{"_Position":{"__isSmartRef__":true,"id":4943},"renderContextTable":{"__isSmartRef__":true,"id":4944},"_Extent":{"__isSmartRef__":true,"id":4945},"_Padding":{"__isSmartRef__":true,"id":4946},"_NodeClass":["morph","box"],"_NodeId":"morph-24d83612-b365-4e55-87ea-752fd438b4e4","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":4947},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4943":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4944":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4945":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4946":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4947":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4948":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4949":{"morph":{"__isSmartRef__":true,"id":4941},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4950":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4951":{"toggle":{"__isSmartRef__":true,"id":4952},"toggleExpansion":{"__isSmartRef__":true,"id":4955}},"4952":{"varMapping":{"__isSmartRef__":true,"id":4953},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":4954},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4953":{"this":{"__isSmartRef__":true,"id":4941}},"4954":{},"4955":{"varMapping":{"__isSmartRef__":true,"id":4956},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":4957},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4956":{"this":{"__isSmartRef__":true,"id":4941}},"4957":{},"4958":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4959},"derivationIds":[null],"id":"AC7D8D95-5FC2-43CB-BAE4-2AA96F32332A","renderContextTable":{"__isSmartRef__":true,"id":4963},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4964},{"__isSmartRef__":true,"id":4966}],"eventHandler":{"__isSmartRef__":true,"id":4968},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4969},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":4940},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4970},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4959":{"_Position":{"__isSmartRef__":true,"id":4960},"renderContextTable":{"__isSmartRef__":true,"id":4961},"_Extent":{"__isSmartRef__":true,"id":4962},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-ac7d8d95-5fc2-43cb-bae4-2aa96f32332a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4960":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4961":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4962":{"x":63,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4963":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4964":{"style":{"__isSmartRef__":true,"id":4965},"chunkOwner":{"__isSmartRef__":true,"id":4958},"storedString":"scripts","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4965":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4966":{"style":{"__isSmartRef__":true,"id":4967},"chunkOwner":{"__isSmartRef__":true,"id":4958},"storedString":": []","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4967":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4968":{"morph":{"__isSmartRef__":true,"id":4958},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4969":{"x":82.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4970":{"layoutText":{"__isSmartRef__":true,"id":4971}},"4971":{"varMapping":{"__isSmartRef__":true,"id":4972},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":4973},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4972":{"this":{"__isSmartRef__":true,"id":4958}},"4973":{},"4974":{"_Position":{"__isSmartRef__":true,"id":4975},"renderContextTable":{"__isSmartRef__":true,"id":4976},"_Extent":{"__isSmartRef__":true,"id":4977},"_Padding":{"__isSmartRef__":true,"id":4978},"_NodeClass":["morph"],"_NodeId":"morph-02848077-eca0-4345-b9d9-4ccf5065896f","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4975":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4976":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"4977":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4978":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4979":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"4980":{"morph":{"__isSmartRef__":true,"id":4940},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4981":{"resizeWidth":true},"4982":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4983":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4984":{"updateExpanderColor":{"__isSmartRef__":true,"id":4985},"onMouseDown":{"__isSmartRef__":true,"id":4988},"isRoot":{"__isSmartRef__":true,"id":4995},"displayValue":{"__isSmartRef__":true,"id":4998},"update":{"__isSmartRef__":true,"id":5001}},"4985":{"varMapping":{"__isSmartRef__":true,"id":4986},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":4987},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4986":{"this":{"__isSmartRef__":true,"id":4940}},"4987":{},"4988":{"varMapping":{"__isSmartRef__":true,"id":4989},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":4994},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4989":{"this":{"__isSmartRef__":true,"id":4940},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4990}},"4990":{"$super":{"__isSmartRef__":true,"id":4991}},"4991":{"varMapping":{"__isSmartRef__":true,"id":4992},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4993},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4992":{"obj":{"__isSmartRef__":true,"id":4940},"name":"onMouseDown"},"4993":{},"4994":{},"4995":{"varMapping":{"__isSmartRef__":true,"id":4996},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":4997},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4996":{"this":{"__isSmartRef__":true,"id":4940}},"4997":{},"4998":{"varMapping":{"__isSmartRef__":true,"id":4999},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5000},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4999":{"this":{"__isSmartRef__":true,"id":4940}},"5000":{},"5001":{"varMapping":{"__isSmartRef__":true,"id":5002},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5003},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5002":{"this":{"__isSmartRef__":true,"id":4940}},"5003":{},"5004":{"_Position":{"__isSmartRef__":true,"id":5005},"renderContextTable":{"__isSmartRef__":true,"id":5006},"_Extent":{"__isSmartRef__":true,"id":5007},"_Padding":{"__isSmartRef__":true,"id":5008},"_NodeClass":["morph"],"_NodeId":"morph-989cae60-e952-422c-b363-90bf15d8645e","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5005":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5006":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5007":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5008":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5009":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5010":{"morph":{"__isSmartRef__":true,"id":4939},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5011":{"layouter":{"__isSmartRef__":true,"id":5012},"resizeWidth":true},"5012":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":4939},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5013":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5014":{"x":0,"y":160,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5015":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5016}},"5016":{"varMapping":{"__isSmartRef__":true,"id":5017},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5022},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5017":{"this":{"__isSmartRef__":true,"id":4939},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5018}},"5018":{"$super":{"__isSmartRef__":true,"id":5019}},"5019":{"varMapping":{"__isSmartRef__":true,"id":5020},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5021},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5020":{"obj":{"__isSmartRef__":true,"id":4939},"name":"getLayoutableSubmorphs"},"5021":{},"5022":{},"5023":{"submorphs":[{"__isSmartRef__":true,"id":5024}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5088},"derivationIds":[null],"id":"A6F49A9F-399E-416B-B6A9-08B2AE03FB0D","renderContextTable":{"__isSmartRef__":true,"id":5093},"eventHandler":{"__isSmartRef__":true,"id":5094},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5095},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5097},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5098},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5099},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5024":{"submorphs":[{"__isSmartRef__":true,"id":5025},{"__isSmartRef__":true,"id":5042}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5058},"derivationIds":[null],"id":"6AF0ED04-9771-4680-9828-3E72CCEC399A","renderContextTable":{"__isSmartRef__":true,"id":5063},"eventHandler":{"__isSmartRef__":true,"id":5064},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5065},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":746},"propertyList":["position","_Extent","_BorderWidth","_BorderColor","_Fill","__SourceModuleName__","renderContextTable","_ClipMode","_Padding","_BorderRadius","_Opacity","_BorderStyle","_renderContext"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"shape","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5025},"text":{"__isSmartRef__":true,"id":5042},"owner":{"__isSmartRef__":true,"id":5023},"_Position":{"__isSmartRef__":true,"id":5066},"priorExtent":{"__isSmartRef__":true,"id":5067},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5068},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5025":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5026},"derivationIds":[null],"id":"AC242296-B2D5-459C-8339-4B838655E1B7","renderContextTable":{"__isSmartRef__":true,"id":5032},"eventHandler":{"__isSmartRef__":true,"id":5033},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5034},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5024},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5035},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5026":{"_Position":{"__isSmartRef__":true,"id":5027},"renderContextTable":{"__isSmartRef__":true,"id":5028},"_Extent":{"__isSmartRef__":true,"id":5029},"_Padding":{"__isSmartRef__":true,"id":5030},"_NodeClass":["morph","box"],"_NodeId":"morph-ac242296-b2d5-459c-8339-4b838655e1b7","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5031},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5027":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5028":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5029":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5030":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5031":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5032":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5033":{"morph":{"__isSmartRef__":true,"id":5025},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5034":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5035":{"toggle":{"__isSmartRef__":true,"id":5036},"toggleExpansion":{"__isSmartRef__":true,"id":5039}},"5036":{"varMapping":{"__isSmartRef__":true,"id":5037},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5038},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5037":{"this":{"__isSmartRef__":true,"id":5025}},"5038":{},"5039":{"varMapping":{"__isSmartRef__":true,"id":5040},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5041},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5040":{"this":{"__isSmartRef__":true,"id":5025}},"5041":{},"5042":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5043},"derivationIds":[null],"id":"3B309A99-06CF-428B-9034-2118520F5B43","renderContextTable":{"__isSmartRef__":true,"id":5047},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5048},{"__isSmartRef__":true,"id":5050}],"eventHandler":{"__isSmartRef__":true,"id":5052},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5053},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5024},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5054},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5043":{"_Position":{"__isSmartRef__":true,"id":5044},"renderContextTable":{"__isSmartRef__":true,"id":5045},"_Extent":{"__isSmartRef__":true,"id":5046},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-3b309a99-06cf-428b-9034-2118520f5b43","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5044":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5045":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5046":{"x":110,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5047":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5048":{"style":{"__isSmartRef__":true,"id":5049},"chunkOwner":{"__isSmartRef__":true,"id":5042},"storedString":"shape","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5049":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5050":{"style":{"__isSmartRef__":true,"id":5051},"chunkOwner":{"__isSmartRef__":true,"id":5042},"storedString":": Rectangle","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5051":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5052":{"morph":{"__isSmartRef__":true,"id":5042},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5053":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5054":{"layoutText":{"__isSmartRef__":true,"id":5055}},"5055":{"varMapping":{"__isSmartRef__":true,"id":5056},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5057},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5056":{"this":{"__isSmartRef__":true,"id":5042}},"5057":{},"5058":{"_Position":{"__isSmartRef__":true,"id":5059},"renderContextTable":{"__isSmartRef__":true,"id":5060},"_Extent":{"__isSmartRef__":true,"id":5061},"_Padding":{"__isSmartRef__":true,"id":5062},"_NodeClass":["morph"],"_NodeId":"morph-6af0ed04-9771-4680-9828-3e72ccec399a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5059":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5060":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5061":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5062":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5063":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5064":{"morph":{"__isSmartRef__":true,"id":5024},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5065":{"resizeWidth":true},"5066":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5067":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5068":{"updateExpanderColor":{"__isSmartRef__":true,"id":5069},"onMouseDown":{"__isSmartRef__":true,"id":5072},"isRoot":{"__isSmartRef__":true,"id":5079},"displayValue":{"__isSmartRef__":true,"id":5082},"update":{"__isSmartRef__":true,"id":5085}},"5069":{"varMapping":{"__isSmartRef__":true,"id":5070},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5071},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5070":{"this":{"__isSmartRef__":true,"id":5024}},"5071":{},"5072":{"varMapping":{"__isSmartRef__":true,"id":5073},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5078},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5073":{"this":{"__isSmartRef__":true,"id":5024},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5074}},"5074":{"$super":{"__isSmartRef__":true,"id":5075}},"5075":{"varMapping":{"__isSmartRef__":true,"id":5076},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5077},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5076":{"obj":{"__isSmartRef__":true,"id":5024},"name":"onMouseDown"},"5077":{},"5078":{},"5079":{"varMapping":{"__isSmartRef__":true,"id":5080},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5081},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5080":{"this":{"__isSmartRef__":true,"id":5024}},"5081":{},"5082":{"varMapping":{"__isSmartRef__":true,"id":5083},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5084},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5083":{"this":{"__isSmartRef__":true,"id":5024}},"5084":{},"5085":{"varMapping":{"__isSmartRef__":true,"id":5086},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5087},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5086":{"this":{"__isSmartRef__":true,"id":5024}},"5087":{},"5088":{"_Position":{"__isSmartRef__":true,"id":5089},"renderContextTable":{"__isSmartRef__":true,"id":5090},"_Extent":{"__isSmartRef__":true,"id":5091},"_Padding":{"__isSmartRef__":true,"id":5092},"_NodeClass":["morph"],"_NodeId":"morph-a6f49a9f-399e-416b-b6a9-08b2ae03fb0d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5089":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5090":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5091":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5092":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5093":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5094":{"morph":{"__isSmartRef__":true,"id":5023},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5095":{"layouter":{"__isSmartRef__":true,"id":5096},"resizeWidth":true},"5096":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5023},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5097":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5098":{"x":0,"y":140,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5099":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5100}},"5100":{"varMapping":{"__isSmartRef__":true,"id":5101},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5106},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5101":{"this":{"__isSmartRef__":true,"id":5023},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5102}},"5102":{"$super":{"__isSmartRef__":true,"id":5103}},"5103":{"varMapping":{"__isSmartRef__":true,"id":5104},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5105},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5104":{"obj":{"__isSmartRef__":true,"id":5023},"name":"getLayoutableSubmorphs"},"5105":{},"5106":{},"5107":{"submorphs":[{"__isSmartRef__":true,"id":5108}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5172},"derivationIds":[null],"id":"AEB9E54A-8077-4739-8F46-EC0919BBCE75","renderContextTable":{"__isSmartRef__":true,"id":5177},"eventHandler":{"__isSmartRef__":true,"id":5178},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5179},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5181},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5182},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5183},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5108":{"submorphs":[{"__isSmartRef__":true,"id":5109},{"__isSmartRef__":true,"id":5126}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5142},"derivationIds":[null],"id":"BF5113FF-D4A5-4A74-BFFE-071E93CBDC5B","renderContextTable":{"__isSmartRef__":true,"id":5147},"eventHandler":{"__isSmartRef__":true,"id":5148},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5149},"grabbingEnabled":false,"draggingEnabled":false,"data":false,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"showsHalos","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5109},"text":{"__isSmartRef__":true,"id":5126},"owner":{"__isSmartRef__":true,"id":5107},"_Position":{"__isSmartRef__":true,"id":5150},"priorExtent":{"__isSmartRef__":true,"id":5151},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5152},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5109":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5110},"derivationIds":[null],"id":"C6E76EBB-1D1C-4B86-9769-8AFB20786E08","renderContextTable":{"__isSmartRef__":true,"id":5116},"eventHandler":{"__isSmartRef__":true,"id":5117},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5118},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5108},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5119},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5110":{"_Position":{"__isSmartRef__":true,"id":5111},"renderContextTable":{"__isSmartRef__":true,"id":5112},"_Extent":{"__isSmartRef__":true,"id":5113},"_Padding":{"__isSmartRef__":true,"id":5114},"_NodeClass":["morph","box"],"_NodeId":"morph-c6e76ebb-1d1c-4b86-9769-8afb20786e08","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5115},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5111":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5112":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5113":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5114":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5115":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5116":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5117":{"morph":{"__isSmartRef__":true,"id":5109},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5118":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5119":{"toggle":{"__isSmartRef__":true,"id":5120},"toggleExpansion":{"__isSmartRef__":true,"id":5123}},"5120":{"varMapping":{"__isSmartRef__":true,"id":5121},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5122},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5121":{"this":{"__isSmartRef__":true,"id":5109}},"5122":{},"5123":{"varMapping":{"__isSmartRef__":true,"id":5124},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5125},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5124":{"this":{"__isSmartRef__":true,"id":5109}},"5125":{},"5126":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5127},"derivationIds":[null],"id":"1B953D38-7487-4CAF-B60C-7C7ADC09E83A","renderContextTable":{"__isSmartRef__":true,"id":5131},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5132},{"__isSmartRef__":true,"id":5134}],"eventHandler":{"__isSmartRef__":true,"id":5136},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5137},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5108},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5138},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5127":{"_Position":{"__isSmartRef__":true,"id":5128},"renderContextTable":{"__isSmartRef__":true,"id":5129},"_Extent":{"__isSmartRef__":true,"id":5130},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-1b953d38-7487-4caf-b60c-7c7adc09e83a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5128":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5129":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5130":{"x":116,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5131":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5132":{"style":{"__isSmartRef__":true,"id":5133},"chunkOwner":{"__isSmartRef__":true,"id":5126},"storedString":"showsHalos","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5133":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5134":{"style":{"__isSmartRef__":true,"id":5135},"chunkOwner":{"__isSmartRef__":true,"id":5126},"storedString":": false","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5135":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5136":{"morph":{"__isSmartRef__":true,"id":5126},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5137":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5138":{"layoutText":{"__isSmartRef__":true,"id":5139}},"5139":{"varMapping":{"__isSmartRef__":true,"id":5140},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5141},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5140":{"this":{"__isSmartRef__":true,"id":5126}},"5141":{},"5142":{"_Position":{"__isSmartRef__":true,"id":5143},"renderContextTable":{"__isSmartRef__":true,"id":5144},"_Extent":{"__isSmartRef__":true,"id":5145},"_Padding":{"__isSmartRef__":true,"id":5146},"_NodeClass":["morph"],"_NodeId":"morph-bf5113ff-d4a5-4a74-bffe-071e93cbdc5b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5143":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5144":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5145":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5146":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5147":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5148":{"morph":{"__isSmartRef__":true,"id":5108},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5149":{"resizeWidth":true},"5150":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5151":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5152":{"updateExpanderColor":{"__isSmartRef__":true,"id":5153},"onMouseDown":{"__isSmartRef__":true,"id":5156},"isRoot":{"__isSmartRef__":true,"id":5163},"displayValue":{"__isSmartRef__":true,"id":5166},"update":{"__isSmartRef__":true,"id":5169}},"5153":{"varMapping":{"__isSmartRef__":true,"id":5154},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5155},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5154":{"this":{"__isSmartRef__":true,"id":5108}},"5155":{},"5156":{"varMapping":{"__isSmartRef__":true,"id":5157},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5162},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5157":{"this":{"__isSmartRef__":true,"id":5108},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5158}},"5158":{"$super":{"__isSmartRef__":true,"id":5159}},"5159":{"varMapping":{"__isSmartRef__":true,"id":5160},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5161},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5160":{"obj":{"__isSmartRef__":true,"id":5108},"name":"onMouseDown"},"5161":{},"5162":{},"5163":{"varMapping":{"__isSmartRef__":true,"id":5164},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5165},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5164":{"this":{"__isSmartRef__":true,"id":5108}},"5165":{},"5166":{"varMapping":{"__isSmartRef__":true,"id":5167},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5168},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5167":{"this":{"__isSmartRef__":true,"id":5108}},"5168":{},"5169":{"varMapping":{"__isSmartRef__":true,"id":5170},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5171},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5170":{"this":{"__isSmartRef__":true,"id":5108}},"5171":{},"5172":{"_Position":{"__isSmartRef__":true,"id":5173},"renderContextTable":{"__isSmartRef__":true,"id":5174},"_Extent":{"__isSmartRef__":true,"id":5175},"_Padding":{"__isSmartRef__":true,"id":5176},"_NodeClass":["morph"],"_NodeId":"morph-aeb9e54a-8077-4739-8f46-ec0919bbce75","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5173":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5174":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5175":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5176":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5177":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5178":{"morph":{"__isSmartRef__":true,"id":5107},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5179":{"layouter":{"__isSmartRef__":true,"id":5180},"resizeWidth":true},"5180":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5107},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5181":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5182":{"x":0,"y":120,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5183":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5184}},"5184":{"varMapping":{"__isSmartRef__":true,"id":5185},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5190},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5185":{"this":{"__isSmartRef__":true,"id":5107},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5186}},"5186":{"$super":{"__isSmartRef__":true,"id":5187}},"5187":{"varMapping":{"__isSmartRef__":true,"id":5188},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5189},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5188":{"obj":{"__isSmartRef__":true,"id":5107},"name":"getLayoutableSubmorphs"},"5189":{},"5190":{},"5191":{"submorphs":[{"__isSmartRef__":true,"id":5192}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5256},"derivationIds":[null],"id":"48103BC3-4D0F-4901-BF08-9D5751A064E1","renderContextTable":{"__isSmartRef__":true,"id":5261},"eventHandler":{"__isSmartRef__":true,"id":5262},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5263},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5265},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5266},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5267},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5192":{"submorphs":[{"__isSmartRef__":true,"id":5193},{"__isSmartRef__":true,"id":5210}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5226},"derivationIds":[null],"id":"A57B02C3-C2D6-44C6-B2DE-082A201DD297","renderContextTable":{"__isSmartRef__":true,"id":5231},"eventHandler":{"__isSmartRef__":true,"id":5232},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5233},"grabbingEnabled":false,"draggingEnabled":false,"data":100,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"stepTime","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5193},"text":{"__isSmartRef__":true,"id":5210},"owner":{"__isSmartRef__":true,"id":5191},"_Position":{"__isSmartRef__":true,"id":5234},"priorExtent":{"__isSmartRef__":true,"id":5235},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5236},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5193":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5194},"derivationIds":[null],"id":"34394C28-32D7-4BD9-9B1A-D6ADEAD2CA3A","renderContextTable":{"__isSmartRef__":true,"id":5200},"eventHandler":{"__isSmartRef__":true,"id":5201},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5202},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5203},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5194":{"_Position":{"__isSmartRef__":true,"id":5195},"renderContextTable":{"__isSmartRef__":true,"id":5196},"_Extent":{"__isSmartRef__":true,"id":5197},"_Padding":{"__isSmartRef__":true,"id":5198},"_NodeClass":["morph","box"],"_NodeId":"morph-34394c28-32d7-4bd9-9b1a-d6adead2ca3a","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5199},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5195":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5196":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5197":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5198":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5199":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5200":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5201":{"morph":{"__isSmartRef__":true,"id":5193},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5202":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5203":{"toggle":{"__isSmartRef__":true,"id":5204},"toggleExpansion":{"__isSmartRef__":true,"id":5207}},"5204":{"varMapping":{"__isSmartRef__":true,"id":5205},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5206},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5205":{"this":{"__isSmartRef__":true,"id":5193}},"5206":{},"5207":{"varMapping":{"__isSmartRef__":true,"id":5208},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5209},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5208":{"this":{"__isSmartRef__":true,"id":5193}},"5209":{},"5210":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5211},"derivationIds":[null],"id":"DFA78046-4909-40BB-AF6C-200F403DDC52","renderContextTable":{"__isSmartRef__":true,"id":5215},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5216},{"__isSmartRef__":true,"id":5218}],"eventHandler":{"__isSmartRef__":true,"id":5220},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5221},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5222},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5211":{"_Position":{"__isSmartRef__":true,"id":5212},"renderContextTable":{"__isSmartRef__":true,"id":5213},"_Extent":{"__isSmartRef__":true,"id":5214},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-dfa78046-4909-40bb-af6c-200f403ddc52","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5212":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5213":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5214":{"x":91,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5215":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5216":{"style":{"__isSmartRef__":true,"id":5217},"chunkOwner":{"__isSmartRef__":true,"id":5210},"storedString":"stepTime","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5217":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5218":{"style":{"__isSmartRef__":true,"id":5219},"chunkOwner":{"__isSmartRef__":true,"id":5210},"storedString":": 100","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5219":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5220":{"morph":{"__isSmartRef__":true,"id":5210},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5221":{"x":97.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5222":{"layoutText":{"__isSmartRef__":true,"id":5223}},"5223":{"varMapping":{"__isSmartRef__":true,"id":5224},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5224":{"this":{"__isSmartRef__":true,"id":5210}},"5225":{},"5226":{"_Position":{"__isSmartRef__":true,"id":5227},"renderContextTable":{"__isSmartRef__":true,"id":5228},"_Extent":{"__isSmartRef__":true,"id":5229},"_Padding":{"__isSmartRef__":true,"id":5230},"_NodeClass":["morph"],"_NodeId":"morph-a57b02c3-c2d6-44c6-b2de-082a201dd297","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5227":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5228":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5229":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5230":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5231":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5232":{"morph":{"__isSmartRef__":true,"id":5192},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5233":{"resizeWidth":true},"5234":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5235":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5236":{"updateExpanderColor":{"__isSmartRef__":true,"id":5237},"onMouseDown":{"__isSmartRef__":true,"id":5240},"isRoot":{"__isSmartRef__":true,"id":5247},"displayValue":{"__isSmartRef__":true,"id":5250},"update":{"__isSmartRef__":true,"id":5253}},"5237":{"varMapping":{"__isSmartRef__":true,"id":5238},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5239},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5238":{"this":{"__isSmartRef__":true,"id":5192}},"5239":{},"5240":{"varMapping":{"__isSmartRef__":true,"id":5241},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5246},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5241":{"this":{"__isSmartRef__":true,"id":5192},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5242}},"5242":{"$super":{"__isSmartRef__":true,"id":5243}},"5243":{"varMapping":{"__isSmartRef__":true,"id":5244},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5245},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5244":{"obj":{"__isSmartRef__":true,"id":5192},"name":"onMouseDown"},"5245":{},"5246":{},"5247":{"varMapping":{"__isSmartRef__":true,"id":5248},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5249},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5248":{"this":{"__isSmartRef__":true,"id":5192}},"5249":{},"5250":{"varMapping":{"__isSmartRef__":true,"id":5251},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5252},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5251":{"this":{"__isSmartRef__":true,"id":5192}},"5252":{},"5253":{"varMapping":{"__isSmartRef__":true,"id":5254},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5255},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5254":{"this":{"__isSmartRef__":true,"id":5192}},"5255":{},"5256":{"_Position":{"__isSmartRef__":true,"id":5257},"renderContextTable":{"__isSmartRef__":true,"id":5258},"_Extent":{"__isSmartRef__":true,"id":5259},"_Padding":{"__isSmartRef__":true,"id":5260},"_NodeClass":["morph"],"_NodeId":"morph-48103bc3-4d0f-4901-bf08-9d5751a064e1","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5257":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5258":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5259":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5260":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5261":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5262":{"morph":{"__isSmartRef__":true,"id":5191},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5263":{"layouter":{"__isSmartRef__":true,"id":5264},"resizeWidth":true},"5264":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5191},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5265":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5266":{"x":0,"y":100,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5267":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5268}},"5268":{"varMapping":{"__isSmartRef__":true,"id":5269},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5274},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5269":{"this":{"__isSmartRef__":true,"id":5191},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5270}},"5270":{"$super":{"__isSmartRef__":true,"id":5271}},"5271":{"varMapping":{"__isSmartRef__":true,"id":5272},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5273},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5272":{"obj":{"__isSmartRef__":true,"id":5191},"name":"getLayoutableSubmorphs"},"5273":{},"5274":{},"5275":{"submorphs":[{"__isSmartRef__":true,"id":5276}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5340},"derivationIds":[null],"id":"3E3A436C-14E6-4F11-A88C-1AF4B00C929A","renderContextTable":{"__isSmartRef__":true,"id":5345},"eventHandler":{"__isSmartRef__":true,"id":5346},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5347},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5349},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5350},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5351},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5276":{"submorphs":[{"__isSmartRef__":true,"id":5277},{"__isSmartRef__":true,"id":5294}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5310},"derivationIds":[null],"id":"4E1E4221-A943-4F4B-B8AA-954E8C14C0E7","renderContextTable":{"__isSmartRef__":true,"id":5315},"eventHandler":{"__isSmartRef__":true,"id":5316},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5317},"grabbingEnabled":false,"draggingEnabled":false,"data":63.00000000000001,"propertyList":[],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"stroke","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5277},"text":{"__isSmartRef__":true,"id":5294},"owner":{"__isSmartRef__":true,"id":5275},"_Position":{"__isSmartRef__":true,"id":5318},"priorExtent":{"__isSmartRef__":true,"id":5319},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5320},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5277":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5278},"derivationIds":[null],"id":"B7F862DF-B2FE-4054-8A50-701BD4CD187F","renderContextTable":{"__isSmartRef__":true,"id":5284},"eventHandler":{"__isSmartRef__":true,"id":5285},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5286},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5276},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5287},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5278":{"_Position":{"__isSmartRef__":true,"id":5279},"renderContextTable":{"__isSmartRef__":true,"id":5280},"_Extent":{"__isSmartRef__":true,"id":5281},"_Padding":{"__isSmartRef__":true,"id":5282},"_NodeClass":["morph","box"],"_NodeId":"morph-b7f862df-b2fe-4054-8a50-701bd4cd187f","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5283},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5279":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5280":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5281":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5282":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5283":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5284":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5285":{"morph":{"__isSmartRef__":true,"id":5277},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5286":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5287":{"toggle":{"__isSmartRef__":true,"id":5288},"toggleExpansion":{"__isSmartRef__":true,"id":5291}},"5288":{"varMapping":{"__isSmartRef__":true,"id":5289},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5290},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5289":{"this":{"__isSmartRef__":true,"id":5277}},"5290":{},"5291":{"varMapping":{"__isSmartRef__":true,"id":5292},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5293},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5292":{"this":{"__isSmartRef__":true,"id":5277}},"5293":{},"5294":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5295},"derivationIds":[null],"id":"A08FC1CF-2605-4E5A-B37F-C74945C6AD38","renderContextTable":{"__isSmartRef__":true,"id":5299},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5300},{"__isSmartRef__":true,"id":5302}],"eventHandler":{"__isSmartRef__":true,"id":5304},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5305},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5276},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5306},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5295":{"_Position":{"__isSmartRef__":true,"id":5296},"renderContextTable":{"__isSmartRef__":true,"id":5297},"_Extent":{"__isSmartRef__":true,"id":5298},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-a08fc1cf-2605-4e5a-b37f-c74945c6ad38","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5296":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5297":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5298":{"x":168,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5299":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5300":{"style":{"__isSmartRef__":true,"id":5301},"chunkOwner":{"__isSmartRef__":true,"id":5294},"storedString":"stroke","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5301":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5302":{"style":{"__isSmartRef__":true,"id":5303},"chunkOwner":{"__isSmartRef__":true,"id":5294},"storedString":": 63.00000000000001","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5303":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5304":{"morph":{"__isSmartRef__":true,"id":5294},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5305":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5306":{"layoutText":{"__isSmartRef__":true,"id":5307}},"5307":{"varMapping":{"__isSmartRef__":true,"id":5308},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5309},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5308":{"this":{"__isSmartRef__":true,"id":5294}},"5309":{},"5310":{"_Position":{"__isSmartRef__":true,"id":5311},"renderContextTable":{"__isSmartRef__":true,"id":5312},"_Extent":{"__isSmartRef__":true,"id":5313},"_Padding":{"__isSmartRef__":true,"id":5314},"_NodeClass":["morph"],"_NodeId":"morph-4e1e4221-a943-4f4b-b8aa-954e8c14c0e7","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5311":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5312":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5313":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5314":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5315":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5316":{"morph":{"__isSmartRef__":true,"id":5276},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5317":{"resizeWidth":true},"5318":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5319":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5320":{"updateExpanderColor":{"__isSmartRef__":true,"id":5321},"onMouseDown":{"__isSmartRef__":true,"id":5324},"isRoot":{"__isSmartRef__":true,"id":5331},"displayValue":{"__isSmartRef__":true,"id":5334},"update":{"__isSmartRef__":true,"id":5337}},"5321":{"varMapping":{"__isSmartRef__":true,"id":5322},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5323},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5322":{"this":{"__isSmartRef__":true,"id":5276}},"5323":{},"5324":{"varMapping":{"__isSmartRef__":true,"id":5325},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5330},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5325":{"this":{"__isSmartRef__":true,"id":5276},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5326}},"5326":{"$super":{"__isSmartRef__":true,"id":5327}},"5327":{"varMapping":{"__isSmartRef__":true,"id":5328},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5329},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5328":{"obj":{"__isSmartRef__":true,"id":5276},"name":"onMouseDown"},"5329":{},"5330":{},"5331":{"varMapping":{"__isSmartRef__":true,"id":5332},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5333},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5332":{"this":{"__isSmartRef__":true,"id":5276}},"5333":{},"5334":{"varMapping":{"__isSmartRef__":true,"id":5335},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5336},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5335":{"this":{"__isSmartRef__":true,"id":5276}},"5336":{},"5337":{"varMapping":{"__isSmartRef__":true,"id":5338},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5339},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5338":{"this":{"__isSmartRef__":true,"id":5276}},"5339":{},"5340":{"_Position":{"__isSmartRef__":true,"id":5341},"renderContextTable":{"__isSmartRef__":true,"id":5342},"_Extent":{"__isSmartRef__":true,"id":5343},"_Padding":{"__isSmartRef__":true,"id":5344},"_NodeClass":["morph"],"_NodeId":"morph-3e3a436c-14e6-4f11-a88c-1af4b00c929a","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5341":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5342":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5343":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5344":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5345":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5346":{"morph":{"__isSmartRef__":true,"id":5275},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5347":{"layouter":{"__isSmartRef__":true,"id":5348},"resizeWidth":true},"5348":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5275},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5349":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5350":{"x":0,"y":80,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5351":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5352}},"5352":{"varMapping":{"__isSmartRef__":true,"id":5353},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5358},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5353":{"this":{"__isSmartRef__":true,"id":5275},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5354}},"5354":{"$super":{"__isSmartRef__":true,"id":5355}},"5355":{"varMapping":{"__isSmartRef__":true,"id":5356},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5357},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5356":{"obj":{"__isSmartRef__":true,"id":5275},"name":"getLayoutableSubmorphs"},"5357":{},"5358":{},"5359":{"submorphs":[{"__isSmartRef__":true,"id":5360}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5424},"derivationIds":[null],"id":"A01702F7-EF87-4A7C-9BDB-2D113A186052","renderContextTable":{"__isSmartRef__":true,"id":5429},"eventHandler":{"__isSmartRef__":true,"id":5430},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5431},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5433},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5434},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5435},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5360":{"submorphs":[{"__isSmartRef__":true,"id":5361},{"__isSmartRef__":true,"id":5378}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5394},"derivationIds":[null],"id":"61A9308A-4701-430A-A3B0-DD7936D1045B","renderContextTable":{"__isSmartRef__":true,"id":5399},"eventHandler":{"__isSmartRef__":true,"id":5400},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5401},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":164},{"__isSmartRef__":true,"id":185},{"__isSmartRef__":true,"id":197},{"__isSmartRef__":true,"id":267},{"__isSmartRef__":true,"id":336},{"__isSmartRef__":true,"id":418},{"__isSmartRef__":true,"id":500},{"__isSmartRef__":true,"id":585},{"__isSmartRef__":true,"id":635},{"__isSmartRef__":true,"id":672},{"__isSmartRef__":true,"id":709}],"propertyList":["0","1","2","3","4","5","6","7","8","9","10"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"submorphs","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5361},"text":{"__isSmartRef__":true,"id":5378},"owner":{"__isSmartRef__":true,"id":5359},"_Position":{"__isSmartRef__":true,"id":5402},"priorExtent":{"__isSmartRef__":true,"id":5403},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5404},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5361":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5362},"derivationIds":[null],"id":"8FD7F857-2A8A-498B-894E-4D83BFE07D8A","renderContextTable":{"__isSmartRef__":true,"id":5368},"eventHandler":{"__isSmartRef__":true,"id":5369},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5370},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5360},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5371},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5362":{"_Position":{"__isSmartRef__":true,"id":5363},"renderContextTable":{"__isSmartRef__":true,"id":5364},"_Extent":{"__isSmartRef__":true,"id":5365},"_Padding":{"__isSmartRef__":true,"id":5366},"_NodeClass":["morph","box"],"_NodeId":"morph-8fd7f857-2a8a-498b-894e-4d83bfe07d8a","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5367},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5363":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5364":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5365":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5366":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5367":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5368":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5369":{"morph":{"__isSmartRef__":true,"id":5361},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5370":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5371":{"toggle":{"__isSmartRef__":true,"id":5372},"toggleExpansion":{"__isSmartRef__":true,"id":5375}},"5372":{"varMapping":{"__isSmartRef__":true,"id":5373},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5374},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5373":{"this":{"__isSmartRef__":true,"id":5361}},"5374":{},"5375":{"varMapping":{"__isSmartRef__":true,"id":5376},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5377},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5376":{"this":{"__isSmartRef__":true,"id":5361}},"5377":{},"5378":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5379},"derivationIds":[null],"id":"0CB06629-C5FF-404D-98C7-9E80B71A44CB","renderContextTable":{"__isSmartRef__":true,"id":5383},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5384},{"__isSmartRef__":true,"id":5386}],"eventHandler":{"__isSmartRef__":true,"id":5388},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5389},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5360},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5390},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5379":{"_Position":{"__isSmartRef__":true,"id":5380},"renderContextTable":{"__isSmartRef__":true,"id":5381},"_Extent":{"__isSmartRef__":true,"id":5382},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-0cb06629-c5ff-404d-98c7-9e80b71a44cb","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5380":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5381":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5382":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5383":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5384":{"style":{"__isSmartRef__":true,"id":5385},"chunkOwner":{"__isSmartRef__":true,"id":5378},"storedString":"submorphs","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5385":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5386":{"style":{"__isSmartRef__":true,"id":5387},"chunkOwner":{"__isSmartRef__":true,"id":5378},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5387":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5388":{"morph":{"__isSmartRef__":true,"id":5378},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5389":{"x":120,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5390":{"layoutText":{"__isSmartRef__":true,"id":5391}},"5391":{"varMapping":{"__isSmartRef__":true,"id":5392},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5393},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5392":{"this":{"__isSmartRef__":true,"id":5378}},"5393":{},"5394":{"_Position":{"__isSmartRef__":true,"id":5395},"renderContextTable":{"__isSmartRef__":true,"id":5396},"_Extent":{"__isSmartRef__":true,"id":5397},"_Padding":{"__isSmartRef__":true,"id":5398},"_NodeClass":["morph"],"_NodeId":"morph-61a9308a-4701-430a-a3b0-dd7936d1045b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5395":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5396":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5397":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5398":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5399":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5400":{"morph":{"__isSmartRef__":true,"id":5360},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5401":{"resizeWidth":true},"5402":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5403":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5404":{"updateExpanderColor":{"__isSmartRef__":true,"id":5405},"onMouseDown":{"__isSmartRef__":true,"id":5408},"isRoot":{"__isSmartRef__":true,"id":5415},"displayValue":{"__isSmartRef__":true,"id":5418},"update":{"__isSmartRef__":true,"id":5421}},"5405":{"varMapping":{"__isSmartRef__":true,"id":5406},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5407},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5406":{"this":{"__isSmartRef__":true,"id":5360}},"5407":{},"5408":{"varMapping":{"__isSmartRef__":true,"id":5409},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5414},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5409":{"this":{"__isSmartRef__":true,"id":5360},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5410}},"5410":{"$super":{"__isSmartRef__":true,"id":5411}},"5411":{"varMapping":{"__isSmartRef__":true,"id":5412},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5413},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5412":{"obj":{"__isSmartRef__":true,"id":5360},"name":"onMouseDown"},"5413":{},"5414":{},"5415":{"varMapping":{"__isSmartRef__":true,"id":5416},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5417},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5416":{"this":{"__isSmartRef__":true,"id":5360}},"5417":{},"5418":{"varMapping":{"__isSmartRef__":true,"id":5419},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5420},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5419":{"this":{"__isSmartRef__":true,"id":5360}},"5420":{},"5421":{"varMapping":{"__isSmartRef__":true,"id":5422},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5423},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5422":{"this":{"__isSmartRef__":true,"id":5360}},"5423":{},"5424":{"_Position":{"__isSmartRef__":true,"id":5425},"renderContextTable":{"__isSmartRef__":true,"id":5426},"_Extent":{"__isSmartRef__":true,"id":5427},"_Padding":{"__isSmartRef__":true,"id":5428},"_NodeClass":["morph"],"_NodeId":"morph-a01702f7-ef87-4a7c-9bdb-2d113a186052","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5425":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5426":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5427":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5428":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5429":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5430":{"morph":{"__isSmartRef__":true,"id":5359},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5431":{"layouter":{"__isSmartRef__":true,"id":5432},"resizeWidth":true},"5432":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5359},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5433":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5434":{"x":0,"y":60,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5435":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5436}},"5436":{"varMapping":{"__isSmartRef__":true,"id":5437},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5442},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5437":{"this":{"__isSmartRef__":true,"id":5359},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5438}},"5438":{"$super":{"__isSmartRef__":true,"id":5439}},"5439":{"varMapping":{"__isSmartRef__":true,"id":5440},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5441},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5440":{"obj":{"__isSmartRef__":true,"id":5359},"name":"getLayoutableSubmorphs"},"5441":{},"5442":{},"5443":{"submorphs":[{"__isSmartRef__":true,"id":5444}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5508},"derivationIds":[null],"id":"7A420696-1D2C-4467-8963-50D29D9B70EF","renderContextTable":{"__isSmartRef__":true,"id":5513},"eventHandler":{"__isSmartRef__":true,"id":5514},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5515},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":5517},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":5518},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5519},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5444":{"submorphs":[{"__isSmartRef__":true,"id":5445},{"__isSmartRef__":true,"id":5462}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5478},"derivationIds":[null],"id":"CD5EEA6F-0CBC-4E9B-965D-7CEF106ECAE6","renderContextTable":{"__isSmartRef__":true,"id":5483},"eventHandler":{"__isSmartRef__":true,"id":5484},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5485},"grabbingEnabled":false,"draggingEnabled":false,"data":{"__isSmartRef__":true,"id":765},"propertyList":["x","y","__SourceModuleName__"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"topPosDisplacement","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5445},"text":{"__isSmartRef__":true,"id":5462},"owner":{"__isSmartRef__":true,"id":5443},"_Position":{"__isSmartRef__":true,"id":5486},"priorExtent":{"__isSmartRef__":true,"id":5487},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5488},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5445":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5446},"derivationIds":[null],"id":"B8F5CCC0-F625-44F8-875A-54F8B836DF72","renderContextTable":{"__isSmartRef__":true,"id":5452},"eventHandler":{"__isSmartRef__":true,"id":5453},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5454},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5444},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5455},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5446":{"_Position":{"__isSmartRef__":true,"id":5447},"renderContextTable":{"__isSmartRef__":true,"id":5448},"_Extent":{"__isSmartRef__":true,"id":5449},"_Padding":{"__isSmartRef__":true,"id":5450},"_NodeClass":["morph","box"],"_NodeId":"morph-b8f5ccc0-f625-44f8-875a-54f8b836df72","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5451},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5447":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5448":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5449":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5450":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5451":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5452":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5453":{"morph":{"__isSmartRef__":true,"id":5445},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5454":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5455":{"toggle":{"__isSmartRef__":true,"id":5456},"toggleExpansion":{"__isSmartRef__":true,"id":5459}},"5456":{"varMapping":{"__isSmartRef__":true,"id":5457},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5458},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5457":{"this":{"__isSmartRef__":true,"id":5445}},"5458":{},"5459":{"varMapping":{"__isSmartRef__":true,"id":5460},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5461},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5460":{"this":{"__isSmartRef__":true,"id":5445}},"5461":{},"5462":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5463},"derivationIds":[null],"id":"621C9782-E36A-419A-A0A4-A5BE791DEDB0","renderContextTable":{"__isSmartRef__":true,"id":5467},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5468},{"__isSmartRef__":true,"id":5470}],"eventHandler":{"__isSmartRef__":true,"id":5472},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5473},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5444},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5474},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5463":{"_Position":{"__isSmartRef__":true,"id":5464},"renderContextTable":{"__isSmartRef__":true,"id":5465},"_Extent":{"__isSmartRef__":true,"id":5466},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-621c9782-e36a-419a-a0a4-a5be791dedb0","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5464":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5465":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5466":{"x":167,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5467":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5468":{"style":{"__isSmartRef__":true,"id":5469},"chunkOwner":{"__isSmartRef__":true,"id":5462},"storedString":"topPosDisplacement","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5469":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5470":{"style":{"__isSmartRef__":true,"id":5471},"chunkOwner":{"__isSmartRef__":true,"id":5462},"storedString":": Point","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5471":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5472":{"morph":{"__isSmartRef__":true,"id":5462},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5473":{"x":187.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5474":{"layoutText":{"__isSmartRef__":true,"id":5475}},"5475":{"varMapping":{"__isSmartRef__":true,"id":5476},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5477},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5476":{"this":{"__isSmartRef__":true,"id":5462}},"5477":{},"5478":{"_Position":{"__isSmartRef__":true,"id":5479},"renderContextTable":{"__isSmartRef__":true,"id":5480},"_Extent":{"__isSmartRef__":true,"id":5481},"_Padding":{"__isSmartRef__":true,"id":5482},"_NodeClass":["morph"],"_NodeId":"morph-cd5eea6f-0cbc-4e9b-965d-7cef106ecae6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5479":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5480":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5481":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5482":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5483":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5484":{"morph":{"__isSmartRef__":true,"id":5444},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5485":{"resizeWidth":true},"5486":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5487":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5488":{"updateExpanderColor":{"__isSmartRef__":true,"id":5489},"onMouseDown":{"__isSmartRef__":true,"id":5492},"isRoot":{"__isSmartRef__":true,"id":5499},"displayValue":{"__isSmartRef__":true,"id":5502},"update":{"__isSmartRef__":true,"id":5505}},"5489":{"varMapping":{"__isSmartRef__":true,"id":5490},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":5491},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5490":{"this":{"__isSmartRef__":true,"id":5444}},"5491":{},"5492":{"varMapping":{"__isSmartRef__":true,"id":5493},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":5498},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5493":{"this":{"__isSmartRef__":true,"id":5444},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5494}},"5494":{"$super":{"__isSmartRef__":true,"id":5495}},"5495":{"varMapping":{"__isSmartRef__":true,"id":5496},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5497},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5496":{"obj":{"__isSmartRef__":true,"id":5444},"name":"onMouseDown"},"5497":{},"5498":{},"5499":{"varMapping":{"__isSmartRef__":true,"id":5500},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":5501},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5500":{"this":{"__isSmartRef__":true,"id":5444}},"5501":{},"5502":{"varMapping":{"__isSmartRef__":true,"id":5503},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":5504},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5503":{"this":{"__isSmartRef__":true,"id":5444}},"5504":{},"5505":{"varMapping":{"__isSmartRef__":true,"id":5506},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5507},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5506":{"this":{"__isSmartRef__":true,"id":5444}},"5507":{},"5508":{"_Position":{"__isSmartRef__":true,"id":5509},"renderContextTable":{"__isSmartRef__":true,"id":5510},"_Extent":{"__isSmartRef__":true,"id":5511},"_Padding":{"__isSmartRef__":true,"id":5512},"_NodeClass":["morph"],"_NodeId":"morph-7a420696-1d2c-4467-8963-50d29d9b70ef","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5509":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5510":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5511":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5512":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5513":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5514":{"morph":{"__isSmartRef__":true,"id":5443},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5515":{"layouter":{"__isSmartRef__":true,"id":5516},"resizeWidth":true},"5516":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5443},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"5517":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5518":{"x":0,"y":40,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5519":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":5520}},"5520":{"varMapping":{"__isSmartRef__":true,"id":5521},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":5526},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5521":{"this":{"__isSmartRef__":true,"id":5443},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5522}},"5522":{"$super":{"__isSmartRef__":true,"id":5523}},"5523":{"varMapping":{"__isSmartRef__":true,"id":5524},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":5525},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5524":{"obj":{"__isSmartRef__":true,"id":5443},"name":"getLayoutableSubmorphs"},"5525":{},"5526":{},"5527":{"submorphs":[{"__isSmartRef__":true,"id":5528}],"scripts":[],"shape":{"__isSmartRef__":true,"id":6930},"derivationIds":[null],"id":"13A213C9-A143-4423-AF4C-9744AFFC21A6","renderContextTable":{"__isSmartRef__":true,"id":6935},"eventHandler":{"__isSmartRef__":true,"id":6936},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":6937},"isInLayoutCycle":false,"priorExtent":{"__isSmartRef__":true,"id":6939},"owner":{"__isSmartRef__":true,"id":1577},"_Position":{"__isSmartRef__":true,"id":6940},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6941},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5528":{"submorphs":[{"__isSmartRef__":true,"id":5529},{"__isSmartRef__":true,"id":5546}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5562},"derivationIds":[null],"id":"84958367-3CAE-4EB3-B489-CBD7EC67FC2D","renderContextTable":{"__isSmartRef__":true,"id":5567},"eventHandler":{"__isSmartRef__":true,"id":5568},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":5569},"grabbingEnabled":false,"draggingEnabled":false,"data":[{"__isSmartRef__":true,"id":5570}],"propertyList":["0"],"level":1,"treeView":{"__isSmartRef__":true,"id":1475},"label":"withLayers","children":[],"parent":{"__isSmartRef__":true,"id":1478},"expander":{"__isSmartRef__":true,"id":5529},"text":{"__isSmartRef__":true,"id":5546},"owner":{"__isSmartRef__":true,"id":5527},"_Position":{"__isSmartRef__":true,"id":6908},"priorExtent":{"__isSmartRef__":true,"id":6909},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6910},"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5529":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5530},"derivationIds":[null],"id":"D5C5FA10-855E-41ED-A35F-B19D398ED17D","renderContextTable":{"__isSmartRef__":true,"id":5536},"eventHandler":{"__isSmartRef__":true,"id":5537},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5538},"grabbingEnabled":false,"draggingEnabled":false,"isExpanded":false,"owner":{"__isSmartRef__":true,"id":5528},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5539},"__LivelyClassName__":"lively.morphic.Box","__SourceModuleName__":"Global.lively.morphic.Core"},"5530":{"_Position":{"__isSmartRef__":true,"id":5531},"renderContextTable":{"__isSmartRef__":true,"id":5532},"_Extent":{"__isSmartRef__":true,"id":5533},"_Padding":{"__isSmartRef__":true,"id":5534},"_NodeClass":["morph","box"],"_NodeId":"morph-d5c5fa10-855e-41ed-a35f-b19d398ed17d","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1485},"_Fill":{"__isSmartRef__":true,"id":5535},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5531":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5532":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5533":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5534":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5535":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5536":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5537":{"morph":{"__isSmartRef__":true,"id":5529},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5538":{"x":18,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5539":{"toggle":{"__isSmartRef__":true,"id":5540},"toggleExpansion":{"__isSmartRef__":true,"id":5543}},"5540":{"varMapping":{"__isSmartRef__":true,"id":5541},"source":"function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n }","funcProperties":{"__isSmartRef__":true,"id":5542},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5541":{"this":{"__isSmartRef__":true,"id":5529}},"5542":{},"5543":{"varMapping":{"__isSmartRef__":true,"id":5544},"source":"function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n }","funcProperties":{"__isSmartRef__":true,"id":5545},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5544":{"this":{"__isSmartRef__":true,"id":5529}},"5545":{},"5546":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":5547},"derivationIds":[null],"id":"B413F2E2-B99B-4645-9CD4-05CA6EC2084B","renderContextTable":{"__isSmartRef__":true,"id":5551},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":5552},{"__isSmartRef__":true,"id":5554}],"eventHandler":{"__isSmartRef__":true,"id":5556},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"_MaxTextWidth":null,"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":5557},"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":5528},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5558},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5547":{"_Position":{"__isSmartRef__":true,"id":5548},"renderContextTable":{"__isSmartRef__":true,"id":5549},"_Extent":{"__isSmartRef__":true,"id":5550},"_Padding":{"__isSmartRef__":true,"id":1502},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":592},"_Fill":null,"_NodeClass":["morph","text"],"_NodeId":"morph-b413f2e2-b99b-4645-9cd4-05ca6ec2084b","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5548":{"x":28,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5549":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5550":{"x":99,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5551":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5552":{"style":{"__isSmartRef__":true,"id":5553},"chunkOwner":{"__isSmartRef__":true,"id":5546},"storedString":"withLayers","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5553":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5554":{"style":{"__isSmartRef__":true,"id":5555},"chunkOwner":{"__isSmartRef__":true,"id":5546},"storedString":": [...]","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5555":{"color":{"__isSmartRef__":true,"id":1509},"italics":"italic","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5556":{"morph":{"__isSmartRef__":true,"id":5546},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5557":{"x":127.5,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5558":{"layoutText":{"__isSmartRef__":true,"id":5559}},"5559":{"varMapping":{"__isSmartRef__":true,"id":5560},"source":"function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n }","funcProperties":{"__isSmartRef__":true,"id":5561},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"5560":{"this":{"__isSmartRef__":true,"id":5546}},"5561":{},"5562":{"_Position":{"__isSmartRef__":true,"id":5563},"renderContextTable":{"__isSmartRef__":true,"id":5564},"_Extent":{"__isSmartRef__":true,"id":5565},"_Padding":{"__isSmartRef__":true,"id":5566},"_NodeClass":["morph"],"_NodeId":"morph-84958367-3cae-4eb3-b489-cbd7ec67fc2d","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"5563":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5564":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5565":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5566":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5567":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5568":{"morph":{"__isSmartRef__":true,"id":5528},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"5569":{"resizeWidth":true},"5570":{"5":{"__isSmartRef__":true,"id":5571},"7":{"__isSmartRef__":true,"id":5588},"name":"GrabbingLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":5601},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"5571":{"_layered_object":{"__isSmartRef__":true,"id":5572}},"5572":{"style":{"__isSmartRef__":true,"id":5573},"isMorph":true,"idCounter":0,"htmlDispatchTable":{"__isSmartRef__":true,"id":5574},"svgDispatchTable":{"__isSmartRef__":true,"id":5575},"canvasDispatchTable":{"__isSmartRef__":true,"id":5576},"dragTriggerDistance":5,"connections":{"__isSmartRef__":true,"id":5577},"doNotSerialize":["_renderContext","halos","_isRendered","magnets"],"showsHalosOnRightClick":true,"lookupLayersIn":["owner"],"_layer_object_id":5,"__LivelyClassName__":"lively.morphic.Morph","__SourceModuleName__":"Global.lively.morphic.Core"},"5573":{"enableDropping":true,"enableHalos":true},"5574":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5575":{"replaceRenderContext":"replaceRenderContextSVG","init":"initSVG","append":"appendSVG","remove":"removeSVG","setPosition":"setPositionSVG","setRotation":"setRotationSVG","setPointerEvents":"setPointerEventsSVG","setHandStyle":"setHandStyleSVG"},"5576":{"init":"initCANVAS","append":"appendCANVAS","remove":"removeCANVAS","setPosition":"attributeChangedCANVAS"},"5577":{"name":{"__isSmartRef__":true,"id":5578},"position":{"__isSmartRef__":true,"id":5579},"rotation":{"__isSmartRef__":true,"id":5580},"scale":{"__isSmartRef__":true,"id":5581},"setScale":{"__isSmartRef__":true,"id":5582},"borderWidth":{"__isSmartRef__":true,"id":5583},"borderColor":{"__isSmartRef__":true,"id":5584},"fill":{"__isSmartRef__":true,"id":5585},"extent":{"__isSmartRef__":true,"id":5586},"globalTransform":{"__isSmartRef__":true,"id":5587}},"5578":{},"5579":{"map":"_Position"},"5580":{"map":"_Rotation"},"5581":{"map":"_Scale"},"5582":{},"5583":{"map":"shape._BorderWidth"},"5584":{"map":"shape._BorderColor"},"5585":{"map":"shape._Fill"},"5586":{"map":"shape._Extent"},"5587":{"connectionClassType":"lively.morphic.GeometryTransformConnection"},"5588":{"_layered_object":{"__isSmartRef__":true,"id":5589}},"5589":{"isText":true,"allowInput":true,"style":{"__isSmartRef__":true,"id":5590},"autoAdjustPadding":true,"suppressDropping":true,"draggingEnabled":true,"shortcutHandlers":[],"tab":" ","htmlDispatchTable":{"__isSmartRef__":true,"id":5592},"svgDispatchTable":{"__isSmartRef__":true,"id":5593},"canvasDispatchTable":{"__isSmartRef__":true,"id":5594},"accessibleInInactiveWindow":false,"connections":{"__isSmartRef__":true,"id":5595},"doNotSerialize":["charsTyped"],"_layer_object_id":7,"syntaxHighlightingCharLimit":8000,"syntaxHighlightingMinDelay":300,"syntaxHighlightingMaxDelay":10000,"_cachedScrollBarExtent":{"__isSmartRef__":true,"id":5598},"renderContextTable":{"__isSmartRef__":true,"id":5574},"textChunks":[{"__isSmartRef__":true,"id":5599}],"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5590":{"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":592},"fill":{"__isSmartRef__":true,"id":5591},"fixedWidth":true,"fixedHeight":true,"enableGrabbing":false,"enableDropping":false,"allowInput":true,"clipMode":"visible","fontFamily":"Helvetica","fontSize":10,"padding":{"__isSmartRef__":true,"id":1502}},"5591":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5592":{"updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5593":{"renderText":"renderTextSVG","updateText":"updateTextSVG","setTextExtent":"setTextExtentSVG","getTextExtent":"getTextExtentSVG","setMaxTextWidth":"setMaxTextWidthSVG","setMaxTextHeight":"setMaxTextHeightSVG","getTextString":"getTextStringSVG","ignoreTextEvents":"ignoreTextEventsSVG"},"5594":{"updateText":"attributeChangedCANVAS"},"5595":{"textString":{"__isSmartRef__":true,"id":5596},"savedTextString":{"__isSmartRef__":true,"id":5597}},"5596":{},"5597":{},"5598":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5599":{"style":{"__isSmartRef__":true,"id":5600},"chunkOwner":{"__isSmartRef__":true,"id":5589},"storedString":"","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5600":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"5601":{"namespaceIdentifier":"Global.lively.morphic.EventExperiments","createTime":{"__isSmartRef__":true,"id":5602},"wasDefined":true,"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/EventExperiments.js","privateRequirements":[{"__isSmartRef__":true,"id":5603},{"__isSmartRef__":true,"id":5605},{"__isSmartRef__":true,"id":5675}],"pendingRequirements":[],"callbacks":[],"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6844}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5602":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5603":{"namespaceIdentifier":"Global.cop.Layers","createTime":{"__isSmartRef__":true,"id":5604},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/cop/Layers.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5604":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5605":{"namespaceIdentifier":"Global.lively.LayerableMorphs","createTime":{"__isSmartRef__":true,"id":5606},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5603},{"__isSmartRef__":true,"id":5607}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/LayerableMorphs.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5601},{"__isSmartRef__":true,"id":6844},{"__isSmartRef__":true,"id":6878}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5606":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5607":{"namespaceIdentifier":"Global.lively.morphic","createTime":{"__isSmartRef__":true,"id":5608},"Graphics":{"__isSmartRef__":true,"id":5609},"Shapes":{"__isSmartRef__":true,"id":5611},"Core":{"__isSmartRef__":true,"id":5613},"Styles":{"__isSmartRef__":true,"id":5617},"PathShapes":{"__isSmartRef__":true,"id":5621},"TextCore":{"__isSmartRef__":true,"id":5623},"TextUndoTrait":{"__isSmartRef__":true,"id":5625},"CompatLayer":{"__isSmartRef__":true,"id":5633},"Compat":{"__isSmartRef__":true,"id":5635},"Rendering":{"__isSmartRef__":true,"id":5637},"HTML":{"__isSmartRef__":true,"id":5639},"CSS":{"__isSmartRef__":true,"id":5641},"SVG":{"__isSmartRef__":true,"id":5642},"Canvas":{"__isSmartRef__":true,"id":5644},"Events":{"__isSmartRef__":true,"id":5646},"EventSimulator":{"__isSmartRef__":true,"id":5648},"EventExperiments":{"__isSmartRef__":true,"id":5601},"Widgets":{"__isSmartRef__":true,"id":5649},"BindingsExtensionLayer":{"__isSmartRef__":true,"id":5653},"Serialization":{"__isSmartRef__":true,"id":5661},"Halos":{"__isSmartRef__":true,"id":5675},"MorphAddons":{"__isSmartRef__":true,"id":5677},"Layout":{"__isSmartRef__":true,"id":5679},"ObjectMigration":{"__isSmartRef__":true,"id":5681},"AdditionalMorphs":{"__isSmartRef__":true,"id":5683},"Grid":{"__isSmartRef__":true,"id":5685},"Connectors":{"__isSmartRef__":true,"id":5689},"ScriptingSupport":{"__isSmartRef__":true,"id":5691},"Complete":{"__isSmartRef__":true,"id":6842},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6842},{"__isSmartRef__":true,"id":5633}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5605},{"__isSmartRef__":true,"id":6862},{"__isSmartRef__":true,"id":6844}],"PathOriginHackLayer":{"__isSmartRef__":true,"id":6864},"_isLoaded":true,"GrabbingDefaultLayer":{"__isSmartRef__":true,"id":6870},"GrabbingLayer":{"__isSmartRef__":true,"id":5570},"VisualBindingsLayer":{"__isSmartRef__":true,"id":6872},"DiffMerge":{"__isSmartRef__":true,"id":6880},"Tests":{"__isSmartRef__":true,"id":6888},"tests":{"__isSmartRef__":true,"id":6906},"__LivelyClassName__":"Namespace"},"5608":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5609":{"namespaceIdentifier":"Global.lively.morphic.Graphics","createTime":{"__isSmartRef__":true,"id":5610},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Graphics.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5610":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5611":{"namespaceIdentifier":"Global.lively.morphic.Shapes","createTime":{"__isSmartRef__":true,"id":5612},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5609}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Shapes.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5612":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5613":{"namespaceIdentifier":"Global.lively.morphic.Core","createTime":{"__isSmartRef__":true,"id":5614},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5611},{"__isSmartRef__":true,"id":5615}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Core.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5614":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5615":{"namespaceIdentifier":"Global.lively.Traits","createTime":{"__isSmartRef__":true,"id":5616},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Traits.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5616":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5617":{"namespaceIdentifier":"Global.lively.morphic.Styles","createTime":{"__isSmartRef__":true,"id":5618},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5611},{"__isSmartRef__":true,"id":5619}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Styles.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5618":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5619":{"namespaceIdentifier":"Global.lively.CrayonColors","createTime":{"__isSmartRef__":true,"id":5620},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5609}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/CrayonColors.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5620":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5621":{"namespaceIdentifier":"Global.lively.morphic.PathShapes","createTime":{"__isSmartRef__":true,"id":5622},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5611}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/PathShapes.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5622":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5623":{"namespaceIdentifier":"Global.lively.morphic.TextCore","createTime":{"__isSmartRef__":true,"id":5624},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5603},{"__isSmartRef__":true,"id":5613}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/TextCore.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5624":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5625":{"name":"lively.morphic.TextUndoTrait","def":{"__isSmartRef__":true,"id":5626},"optionsForApply":{"__isSmartRef__":true,"id":5627},"categories":{"__isSmartRef__":true,"id":5628},"extendedObjectsAndOptions":{"__isSmartRef__":true,"id":5630},"sourceModule":{"__isSmartRef__":true,"id":5623},"__LivelyClassName__":"RealTrait","__SourceModuleName__":"Global.lively.Traits"},"5626":{},"5627":{},"5628":{" default category":{"__isSmartRef__":true,"id":5629}},"5629":{},"5630":{"classes":{"__isSmartRef__":true,"id":5631},"traits":{"__isSmartRef__":true,"id":5632},"objects":[]},"5631":{},"5632":{},"5633":{"namespaceIdentifier":"Global.lively.morphic.CompatLayer","createTime":{"__isSmartRef__":true,"id":5634},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5603}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/CompatLayer.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5634":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5635":{"namespaceIdentifier":"Global.lively.morphic.Compat","createTime":{"__isSmartRef__":true,"id":5636},"__LivelyClassName__":"Namespace"},"5636":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5637":{"namespaceIdentifier":"Global.lively.morphic.Rendering","createTime":{"__isSmartRef__":true,"id":5638},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5623},{"__isSmartRef__":true,"id":5611}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Rendering.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5638":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5639":{"namespaceIdentifier":"Global.lively.morphic.HTML","createTime":{"__isSmartRef__":true,"id":5640},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5637},{"__isSmartRef__":true,"id":5621},{"__isSmartRef__":true,"id":5615}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/HTML.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5640":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5641":{},"5642":{"namespaceIdentifier":"Global.lively.morphic.SVG","createTime":{"__isSmartRef__":true,"id":5643},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5637},{"__isSmartRef__":true,"id":5621}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/SVG.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5643":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5644":{"namespaceIdentifier":"Global.lively.morphic.Canvas","createTime":{"__isSmartRef__":true,"id":5645},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5637}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Canvas.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5645":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5646":{"namespaceIdentifier":"Global.lively.morphic.Events","createTime":{"__isSmartRef__":true,"id":5647},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5623},{"__isSmartRef__":true,"id":5639},{"__isSmartRef__":true,"id":5642},{"__isSmartRef__":true,"id":5644},{"__isSmartRef__":true,"id":5615}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Events.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5647":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5648":{},"5649":{"namespaceIdentifier":"Global.lively.morphic.Widgets","createTime":{"__isSmartRef__":true,"id":5650},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5646},{"__isSmartRef__":true,"id":5651},{"__isSmartRef__":true,"id":5617}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Widgets.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5650":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5651":{"namespaceIdentifier":"Global.lively.WidgetsTraits","createTime":{"__isSmartRef__":true,"id":5652},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5615},{"__isSmartRef__":true,"id":5609}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/WidgetsTraits.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5652":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5653":{"2":{"__isSmartRef__":true,"id":5654},"name":"BindingsExtensionLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":5659},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"5654":{"_layered_object":{"__isSmartRef__":true,"id":5655}},"5655":{"namespaceIdentifier":"Global.lively.bindings","createTime":{"__isSmartRef__":true,"id":5656},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/bindings.js","documentation":"connect parameters: source, sourceProp, target, targetProp, spec\nspec can be: {removeAfterUpdate: Boolean, converter: Function, updater: Function, varMapping: Object}","_isLoaded":true,"Core":{"__isSmartRef__":true,"id":5657},"GeometryBindings":{"__isSmartRef__":true,"id":5659},"_layer_object_id":2,"__LivelyClassName__":"Namespace"},"5656":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5657":{"namespaceIdentifier":"Global.lively.bindings.Core","createTime":{"__isSmartRef__":true,"id":5658},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/bindings/Core.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5658":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5659":{"namespaceIdentifier":"Global.lively.bindings.GeometryBindings","createTime":{"__isSmartRef__":true,"id":5660},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5603},{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5657},{"__isSmartRef__":true,"id":5623},{"__isSmartRef__":true,"id":5649}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/bindings/GeometryBindings.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5660":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5661":{"namespaceIdentifier":"Global.lively.morphic.Serialization","createTime":{"__isSmartRef__":true,"id":5662},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5663},{"__isSmartRef__":true,"id":5671},{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5623},{"__isSmartRef__":true,"id":5673},{"__isSmartRef__":true,"id":5649}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Serialization.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5662":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5663":{"namespaceIdentifier":"Global.lively.Network","createTime":{"__isSmartRef__":true,"id":5664},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5655},{"__isSmartRef__":true,"id":5665},{"__isSmartRef__":true,"id":5669}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Network.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5664":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5665":{"namespaceIdentifier":"Global.lively.NoMoreModels","createTime":{"__isSmartRef__":true,"id":5666},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5667}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/NoMoreModels.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5666":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5667":{"namespaceIdentifier":"Global.lively.OldModel","createTime":{"__isSmartRef__":true,"id":5668},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5655}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/OldModel.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5668":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5669":{"namespaceIdentifier":"Global.lively.Data","createTime":{"__isSmartRef__":true,"id":5670},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5667}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Data.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5670":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5671":{"namespaceIdentifier":"Global.lively.persistence.Serializer","createTime":{"__isSmartRef__":true,"id":5672},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/persistence/Serializer.js","jsonWorldId":"LivelyJSONWorld","changeSetElementId":"WorldChangeSet","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5672":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5673":{"namespaceIdentifier":"Global.lively.DOMAbstraction","createTime":{"__isSmartRef__":true,"id":5674},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/DOMAbstraction.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5674":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"5675":{"namespaceIdentifier":"Global.lively.morphic.Halos","createTime":{"__isSmartRef__":true,"id":5676},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5646},{"__isSmartRef__":true,"id":5649}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Halos.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5676":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5677":{"namespaceIdentifier":"Global.lively.morphic.MorphAddons","createTime":{"__isSmartRef__":true,"id":5678},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5646},{"__isSmartRef__":true,"id":5649},{"__isSmartRef__":true,"id":5617}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/MorphAddons.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5678":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5679":{"namespaceIdentifier":"Global.lively.morphic.Layout","createTime":{"__isSmartRef__":true,"id":5680},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5649}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Layout.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5680":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5681":{"namespaceIdentifier":"Global.lively.morphic.ObjectMigration","createTime":{"__isSmartRef__":true,"id":5682},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5661},{"__isSmartRef__":true,"id":5603}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/ObjectMigration.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"5682":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5683":{"namespaceIdentifier":"Global.lively.morphic.AdditionalMorphs","createTime":{"__isSmartRef__":true,"id":5684},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5675},{"__isSmartRef__":true,"id":5685}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/AdditionalMorphs.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5689},{"__isSmartRef__":true,"id":6842},{"__isSmartRef__":true,"id":6844}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5684":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5685":{"namespaceIdentifier":"Global.lively.morphic.Grid","createTime":{"__isSmartRef__":true,"id":5686},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5683}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Grid.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5687}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5686":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5687":{"namespaceIdentifier":"Global.lively.persistence.MassMorphCreation","createTime":{"__isSmartRef__":true,"id":5688},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5685}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/persistence/MassMorphCreation.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5671},{"__isSmartRef__":true,"id":5613}],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5688":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5689":{"namespaceIdentifier":"Global.lively.morphic.Connectors","createTime":{"__isSmartRef__":true,"id":5690},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5683},{"__isSmartRef__":true,"id":5659},{"__isSmartRef__":true,"id":5661}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Connectors.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5691},{"__isSmartRef__":true,"id":6844}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5690":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5691":{"namespaceIdentifier":"Global.lively.morphic.ScriptingSupport","createTime":{"__isSmartRef__":true,"id":5692},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5693},{"__isSmartRef__":true,"id":5689}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/ScriptingSupport.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6842},{"__isSmartRef__":true,"id":6844}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5692":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5693":{"namespaceIdentifier":"Global.lively.PartsBin","createTime":{"__isSmartRef__":true,"id":5694},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5615}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/PartsBin.js","partSpaces":{"__isSmartRef__":true,"id":5695},"_isLoaded":true,"__LivelyClassName__":"Namespace"},"5694":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"5695":{"PartsBin/iPadWidgets":{"__isSmartRef__":true,"id":5696},"PartsBin/Tools":{"__isSmartRef__":true,"id":5919}},"5696":{"name":"PartsBin/iPadWidgets","partItems":{"__isSmartRef__":true,"id":5697},"__LivelyClassName__":"lively.PartsBin.PartsSpace","__SourceModuleName__":"Global.lively.PartsBin"},"5697":{"LoadingMorph":{"__isSmartRef__":true,"id":5698}},"5698":{"partsSpaceName":"PartsBin/iPadWidgets","name":"LoadingMorph","part":{"__isSmartRef__":true,"id":5699},"partVersions":[{"__isSmartRef__":true,"id":5852}],"rev":151069,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1}],\"scripts\":[],\"id\":\"FEF39B3C-E634-4825-BAB8-2D44FE647B03\",\"shape\":{\"__isSmartRef__\":true,\"id\":30},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":37},\"showsHalos\":false,\"name\":\"LoadingMorph\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":38},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":135},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":136},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[127,\"59692BC3-6C7B-4E23-B820-8699260EA722\",\"486BB935-1313-4103-B2A8-642B19437478\",\"18AFFD44-46CD-489E-B1D6-DED43E2B6B06\",\"2608C892-2204-4981-9A87-8E749F8944AB\",\"5535861F-4EA2-44AB-8A40-0538124E0AAC\",\"16C292B3-86E8-4622-B516-27C48263B8CC\",\"87731A20-D455-44D0-97E5-98A7CFD4E417\",\"A17081E7-E597-47ED-BD32-6E4D206BD7D7\",\"CFB4A44C-BFEA-4584-BCBA-AE2A56739200\",\"76B3DD9B-8D01-42BA-A574-AB99D5F899BB\",\"1EBC5512-8F54-4B24-998C-69A285EC8533\",\"DD1165C7-6C1A-4361-A4AE-FCF6F31152FD\",\"4D6D36E8-48F3-408A-B03C-202E4DC182BD\",\"5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011\",\"E0A6B33B-767A-4532-9021-892414520200\",\"F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D\",\"0C7E832A-A741-430F-B295-8BC181D066FE\",\"472AED3B-CB76-49BD-BF49-354A2D568F86\",\"A7C52F65-D140-4791-880F-F7584C7BB570\",\"3516412B-8B36-4E52-9416-6B7FB358BDC2\",\"1840CACC-078C-4795-AD3F-E9D6F8D557A0\",\"1FEDCA25-0131-46FA-840F-DC5F1B05C6CA\",\"C620CED3-0AE9-4097-9AA7-2706A042F9C9\",\"679A861B-40E0-4DB2-B22F-95B454C6978D\"],\"isBeingDragged\":false,\"priorExtent\":{\"__isSmartRef__\":true,\"id\":137},\"layout\":{\"__isSmartRef__\":true,\"id\":138},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":139},\"prevScroll\":[0,0],\"moved\":true,\"_Rotation\":0,\"_Scale\":1,\"headRevision\":146469,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":140},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"1\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":18},\"id\":\"9FFF9D73-931C-404C-AA4B-5AC2E7C53504\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":23},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":24},\"droppingEnabled\":true,\"halosEnabled\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":25},\"name\":\"ProgressIndicator\",\"priorExtent\":{\"__isSmartRef__\":true,\"id\":26},\"showsHalos\":false,\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":27},\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":28},\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[520,\"071F18BE-FF28-40F5-ACAD-1916E0D25C38\",\"DF185A10-743D-45FC-B9C2-76E12D908BCF\",\"BF125D2C-596A-4C1E-A5F8-DAE4801E9497\",\"3CEE8CFF-B8F1-4B4B-A405-CB583080252A\",\"D0652878-8F9C-4591-8A82-296898AACDB6\",\"31441DDF-2220-43BE-A99F-69E1FEC68030\",\"14A90039-0D3E-46DC-8445-D42B8E02EB42\",\"681EF5DE-A344-4114-B2F3-B96CE3872524\",\"C0381116-5116-4F33-B082-A411D0E4534E\",\"24E9581E-B008-46EE-9CBC-D5190E100D98\",\"C69D1041-2C5E-48FE-B04C-04E66450658A\",\"4830945B-4FFF-4564-9424-34D7995DAE60\",\"8602C233-B3E7-4682-9B0E-D7549761D934\",\"B4E0E11F-2BED-462E-B708-89D63971856E\",\"EE0144C2-D016-4390-8A67-4E7DEF171C83\",\"F44DF6E4-5F27-440E-AB5F-3721C0A10CA6\",\"73FC6648-DAAF-4673-8CF4-7DA219513F22\",\"B78EB1B5-780C-45F7-B0A7-B988B52B1FF1\",\"DFDB8CD1-72F7-40F4-849B-1F9B866277AB\",\"66111105-B1FC-41F7-BF70-D45118C9E09F\",\"02420416-1E35-4831-AABB-91CD0460CA1A\",\"7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5\",\"0503F5A1-1732-4610-9A5A-920D658CA766\",\"07C5AE03-36AD-4849-BACD-27D7D9A2CCF2\"],\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"isBeingDragged\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":29},\"prevScroll\":[0,0],\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Image\"},\"2\":{\"submorphs\":[],\"scripts\":[],\"id\":\"B8FE7DEE-9568-4BE6-BA12-EA674BA79E08\",\"shape\":{\"__isSmartRef__\":true,\"id\":3},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"fixedWidth\":true,\"fixedHeight\":false,\"allowsInput\":true,\"_FontFamily\":\"Arial, sans-serif\",\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":9},\"_MaxTextWidth\":257,\"_MaxTextHeight\":null,\"textColor\":{\"__isSmartRef__\":true,\"id\":6},\"showsHalos\":false,\"_FontSize\":14,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"name\":\"loadedMorphName\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":10},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":11}],\"charsReplaced\":\"MorphName\",\"lastFindLoc\":18,\"priorSelectionRange\":[9,0],\"prevScroll\":[0,0],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":13},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":14},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":15},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"_Padding\":{\"__isSmartRef__\":true,\"id\":16},\"_ClipMode\":\"visible\",\"derivationIds\":[355,\"023045B3-2D6B-4425-89FB-F4806D527BE0\",\"DC0C2365-868C-41AE-8369-51C31E91493E\",\"C6D9D314-86A1-4015-970B-F6787F535E1A\",\"6AA4552E-2E85-447E-9033-99D5AA1A94BC\",\"D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213\",\"AA8F0470-654C-4AA2-8135-4607F5429AC5\",\"E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97\",\"1A86AE17-73AE-442E-AB36-DD90C6DFC8BC\",\"EF750075-E964-4CD3-B6A4-161511E1D058\",\"CED69CBF-FFA5-45E7-B333-FBACE4F278AC\",\"E56978C1-7424-4C10-8168-11FD3237B540\",\"D5AB2532-A4DC-42D6-AF17-99CBBCEAA848\",\"245866CB-598A-4172-A3A0-A06D4D26C6AD\",\"43B0F12E-5793-43AA-80E1-496774E0EBA6\",\"1B776A8C-0413-475F-8EBD-120BBD91D2BB\",\"F84F2C9A-8003-4E81-833A-83F48C92F3B8\",\"3124B389-9FA4-4348-BC5D-0DFF9C59CD1B\",\"1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1\",\"1CB201BA-5E0B-4771-821A-139FA2AEFBC2\",\"195520FA-4816-47A4-B0F5-BA890AFD9DF9\",\"0D15F28A-24C9-46B7-89C5-6D2354728AC1\",\"316FE9D3-62EC-4FD6-9B0F-FFA622B79575\",\"739F3743-9BE1-48C8-813D-C0BFB0DCACA6\",\"01877B3B-7DA7-4222-B011-7B5F4E501862\"],\"_WhiteSpaceHandling\":\"pre-wrap\",\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"_MinTextWidth\":257,\"_MinTextHeight\":null,\"previousSelection\":[6,6],\"_Align\":\"center\",\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":17},\"isBeingDragged\":false,\"_Rotation\":0,\"_Scale\":1,\"__LivelyClassName__\":\"lively.morphic.Text\"},\"3\":{\"fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Position\":{\"__isSmartRef__\":true,\"id\":4},\"_Extent\":{\"__isSmartRef__\":true,\"id\":5},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":6},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":7},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":8},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"4\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"5\":{\"x\":257,\"y\":23,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"6\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"7\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"8\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"9\":{\"x\":-109,\"y\":38,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"10\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":4,\"comment\":\"a simple text morph\",\"partName\":\"Text\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"11\":{\"style\":{\"__isSmartRef__\":true,\"id\":12},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"loading part\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"12\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"13\":{\"x\":257,\"y\":23,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"14\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"15\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"16\":{\"x\":5,\"y\":5,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"17\":{\"x\":179,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"18\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":19},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":20},\"_Extent\":{\"__isSmartRef__\":true,\"id\":21},\"_ImageURL\":\"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isLoaded\":true,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":22},\"_BorderWidth\":0,\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Image\"},\"19\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"20\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\",\"setImageURL\":\"setImageURLHTML\",\"getNativeExtent\":\"getNativeExtentHTML\"},\"21\":{\"x\":31,\"y\":31,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"22\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"23\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"24\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"25\":{\"x\":113.5,\"y\":81,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"26\":{\"x\":30,\"y\":31,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"27\":{\"x\":39,\"y\":-11,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"28\":{\"partName\":\"ProgressIndicator\",\"requiredModules\":[],\"migrationLevel\":2,\"partsSpaceName\":\"PartsBin/Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"29\":{\"centeredHorizontal\":true,\"centeredVertical\":true},\"30\":{\"position\":{\"__isSmartRef__\":true,\"id\":31},\"_Extent\":{\"__isSmartRef__\":true,\"id\":32},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":33},\"_Fill\":{\"__isSmartRef__\":true,\"id\":34},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":35},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":36},\"_BorderRadius\":8.515,\"_Opacity\":0.8146,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"31\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"32\":{\"x\":266,\"y\":223,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"33\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Color\"},\"34\":{\"r\":0.839,\"g\":0.839,\"b\":0.839,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"35\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"36\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Rectangle\"},\"37\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\"},\"38\":{\"partsSpaceName\":\"PartsBin/iPad Widgets/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.\",\"migrationLevel\":4,\"partName\":\"LoadingMorph\",\"changes\":[{\"__isSmartRef__\":true,\"id\":39},{\"__isSmartRef__\":true,\"id\":41},{\"__isSmartRef__\":true,\"id\":43},{\"__isSmartRef__\":true,\"id\":45},{\"__isSmartRef__\":true,\"id\":47},{\"__isSmartRef__\":true,\"id\":49},{\"__isSmartRef__\":true,\"id\":51},{\"__isSmartRef__\":true,\"id\":53},{\"__isSmartRef__\":true,\"id\":55},{\"__isSmartRef__\":true,\"id\":57},{\"__isSmartRef__\":true,\"id\":59},{\"__isSmartRef__\":true,\"id\":61},{\"__isSmartRef__\":true,\"id\":63},{\"__isSmartRef__\":true,\"id\":65},{\"__isSmartRef__\":true,\"id\":67},{\"__isSmartRef__\":true,\"id\":69},{\"__isSmartRef__\":true,\"id\":71},{\"__isSmartRef__\":true,\"id\":73},{\"__isSmartRef__\":true,\"id\":75},{\"__isSmartRef__\":true,\"id\":77},{\"__isSmartRef__\":true,\"id\":79},{\"__isSmartRef__\":true,\"id\":81},{\"__isSmartRef__\":true,\"id\":83},{\"__isSmartRef__\":true,\"id\":85},{\"__isSmartRef__\":true,\"id\":87},{\"__isSmartRef__\":true,\"id\":89},{\"__isSmartRef__\":true,\"id\":91},{\"__isSmartRef__\":true,\"id\":93},{\"__isSmartRef__\":true,\"id\":95},{\"__isSmartRef__\":true,\"id\":97},{\"__isSmartRef__\":true,\"id\":99},{\"__isSmartRef__\":true,\"id\":101},{\"__isSmartRef__\":true,\"id\":103},{\"__isSmartRef__\":true,\"id\":105},{\"__isSmartRef__\":true,\"id\":107},{\"__isSmartRef__\":true,\"id\":109},{\"__isSmartRef__\":true,\"id\":111},{\"__isSmartRef__\":true,\"id\":113},{\"__isSmartRef__\":true,\"id\":115},{\"__isSmartRef__\":true,\"id\":117},{\"__isSmartRef__\":true,\"id\":119},{\"__isSmartRef__\":true,\"id\":121},{\"__isSmartRef__\":true,\"id\":123},{\"__isSmartRef__\":true,\"id\":125},{\"__isSmartRef__\":true,\"id\":127},{\"__isSmartRef__\":true,\"id\":129},{\"__isSmartRef__\":true,\"id\":131},{\"__isSmartRef__\":true,\"id\":133}],\"revisionOnLoad\":140039,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"39\":{\"date\":{\"__isSmartRef__\":true,\"id\":40},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"1C1391AE-5722-4707-BE52-F0094FC56829\"},\"40\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 14:02:04 GMT+0100 (W. Europe Standard Time)\"},\"41\":{\"date\":{\"__isSmartRef__\":true,\"id\":42},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"663F147A-9084-4AC3-81A7-1E7BA6547F08\"},\"42\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 12:43:10 GMT+0100 (W. Europe Standard Time)\"},\"43\":{\"date\":{\"__isSmartRef__\":true,\"id\":44},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"F72B746E-B170-4EFB-9074-5E8770640B8A\"},\"44\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 12:36:14 GMT+0100 (W. Europe Standard Time)\"},\"45\":{\"date\":{\"__isSmartRef__\":true,\"id\":46},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"568D2EFD-C535-43AE-8944-6D8B967129F5\"},\"46\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 12:23:04 GMT+0100 (W. Europe Standard Time)\"},\"47\":{\"date\":{\"__isSmartRef__\":true,\"id\":48},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"AB2484A6-0707-4E13-845E-F0A5F48BBA3D\"},\"48\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:59:45 GMT+0100 (W. Europe Standard Time)\"},\"49\":{\"date\":{\"__isSmartRef__\":true,\"id\":50},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"97D20633-F76C-46A5-A32A-FFE9BC83CAB3\"},\"50\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:59:10 GMT+0100 (W. Europe Standard Time)\"},\"51\":{\"date\":{\"__isSmartRef__\":true,\"id\":52},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"8A697DF5-9A45-4A84-B709-9719BF55083E\"},\"52\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:56:54 GMT+0100 (W. Europe Standard Time)\"},\"53\":{\"date\":{\"__isSmartRef__\":true,\"id\":54},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"F2157D66-1571-4B9A-B325-6FA96488260F\"},\"54\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:51:05 GMT+0100 (W. Europe Standard Time)\"},\"55\":{\"date\":{\"__isSmartRef__\":true,\"id\":56},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"E5E808CA-06AB-47DC-A9C9-CA7967591545\"},\"56\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:47:19 GMT+0100 (W. Europe Standard Time)\"},\"57\":{\"date\":{\"__isSmartRef__\":true,\"id\":58},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"009DC4E0-23CA-485A-A796-801AA0F75049\"},\"58\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:46:25 GMT+0100 (W. Europe Standard Time)\"},\"59\":{\"date\":{\"__isSmartRef__\":true,\"id\":60},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4\"},\"60\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:45:05 GMT+0100 (W. Europe Standard Time)\"},\"61\":{\"date\":{\"__isSmartRef__\":true,\"id\":62},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"FFE16986-548D-4AC2-A627-CF6416282BC4\"},\"62\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:37:15 GMT+0100 (W. Europe Standard Time)\"},\"63\":{\"date\":{\"__isSmartRef__\":true,\"id\":64},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"57213D63-7147-4057-ADC9-30994443B066\"},\"64\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:35:29 GMT+0100 (W. Europe Standard Time)\"},\"65\":{\"date\":{\"__isSmartRef__\":true,\"id\":66},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"75A31364-B380-4312-BB5B-F8F2DA1CE824\"},\"66\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:31:52 GMT+0100 (W. Europe Standard Time)\"},\"67\":{\"date\":{\"__isSmartRef__\":true,\"id\":68},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"5AA50B7E-7D33-44C4-807B-BF1ABA31D530\"},\"68\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:14:10 GMT+0100 (W. Europe Standard Time)\"},\"69\":{\"date\":{\"__isSmartRef__\":true,\"id\":70},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"BCDCC505-534C-45E5-9BB2-5238959A5AD0\"},\"70\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:02:56 GMT+0100 (W. Europe Standard Time)\"},\"71\":{\"date\":{\"__isSmartRef__\":true,\"id\":72},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"890D14F4-E89D-4E05-BFB9-875D6AB6C765\"},\"72\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 11:01:50 GMT+0100 (W. Europe Standard Time)\"},\"73\":{\"date\":{\"__isSmartRef__\":true,\"id\":74},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"B6FE0805-0D24-4267-8238-8B332352617E\"},\"74\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 10:55:44 GMT+0100 (W. Europe Standard Time)\"},\"75\":{\"date\":{\"__isSmartRef__\":true,\"id\":76},\"author\":\"sstamm\",\"message\":\"callbacks are working\",\"id\":\"9348260A-3B55-4659-BC85-440BFBD98EA4\"},\"76\":{\"isSerializedDate\":true,\"string\":\"Fri Feb 10 2012 09:45:55 GMT+0100 (W. Europe Standard Time)\"},\"77\":{\"date\":{\"__isSmartRef__\":true,\"id\":78},\"author\":\"sstamm\",\"message\":\"made it more opaque\",\"id\":\"1B84264C-2822-407F-A58F-19217BCD2762\"},\"78\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 08 2012 11:41:50 GMT+0100 (W. Europe Standard Time)\"},\"79\":{\"date\":{\"__isSmartRef__\":true,\"id\":80},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"0FB41D7D-2A52-4782-814B-A66C24FCE569\"},\"80\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:13:49 GMT+0100 (W. Europe Standard Time)\"},\"81\":{\"date\":{\"__isSmartRef__\":true,\"id\":82},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F\"},\"82\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 17:22:07 GMT+0100 (W. Europe Standard Time)\"},\"83\":{\"date\":{\"__isSmartRef__\":true,\"id\":84},\"author\":\"sstamm\",\"message\":\"trollolol\",\"id\":\"F6CFAD78-AC72-4DE2-9F38-79776C2E9462\"},\"84\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:55:14 GMT+0100 (W. Europe Standard Time)\"},\"85\":{\"date\":{\"__isSmartRef__\":true,\"id\":86},\"author\":\"sstamm\",\"message\":\"should be centered now\",\"id\":\"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB\"},\"86\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:54:35 GMT+0100 (W. Europe Standard Time)\"},\"87\":{\"date\":{\"__isSmartRef__\":true,\"id\":88},\"author\":\"sstamm\",\"message\":\"initial commit\",\"id\":\"8920D925-DD16-4667-B8C7-FB74D78C2424\"},\"88\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 13:26:01 GMT+0100 (W. Europe Standard Time)\"},\"89\":{\"date\":{\"__isSmartRef__\":true,\"id\":90},\"author\":\"sstamm\",\"message\":\"changed text morph name\",\"id\":\"80E88A3C-5AF3-48F2-A600-710877630997\"},\"90\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:04:01 GMT+0100 (W. Europe Standard Time)\"},\"91\":{\"date\":{\"__isSmartRef__\":true,\"id\":92},\"author\":\"sstamm\",\"message\":\"added loading script\",\"id\":\"EE9B8F4D-1F03-4232-82E6-794046974F8F\"},\"92\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:28:30 GMT+0100 (W. Europe Standard Time)\"},\"93\":{\"date\":{\"__isSmartRef__\":true,\"id\":94},\"author\":\"sstamm\",\"message\":\"added disconnection\",\"id\":\"11F19267-924E-4087-99ED-998245576BD2\"},\"94\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:32:58 GMT+0100 (W. Europe Standard Time)\"},\"95\":{\"date\":{\"__isSmartRef__\":true,\"id\":96},\"author\":\"sstamm\",\"message\":\"removed connections before deletion\",\"id\":\"35A88218-6864-4D52-83A2-BFF7B9A6907C\"},\"96\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 14:41:00 GMT+0100 (W. Europe Standard Time)\"},\"97\":{\"date\":{\"__isSmartRef__\":true,\"id\":98},\"author\":\"sstamm\",\"message\":\"now able to load parts by name and category as well as per partItem\",\"id\":\"F36A5782-461D-4813-95F8-0207990A261C\"},\"98\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:24:30 GMT+0100 (W. Europe Standard Time)\"},\"99\":{\"date\":{\"__isSmartRef__\":true,\"id\":100},\"author\":\"sstamm\",\"message\":\"now with round corners\",\"id\":\"F42C39CB-CC37-467D-BF10-D362241F047E\"},\"100\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:26:23 GMT+0100 (W. Europe Standard Time)\"},\"101\":{\"date\":{\"__isSmartRef__\":true,\"id\":102},\"author\":\"sstamm\",\"message\":\"loadingMorph is sync now\",\"id\":\"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145\"},\"102\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:48:04 GMT+0100 (W. Europe Standard Time)\"},\"103\":{\"date\":{\"__isSmartRef__\":true,\"id\":104},\"author\":\"sstamm\",\"message\":\"display the loadingMorph in new thread\",\"id\":\"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC\"},\"104\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 15:53:49 GMT+0100 (W. Europe Standard Time)\"},\"105\":{\"date\":{\"__isSmartRef__\":true,\"id\":106},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3\"},\"106\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 16:49:48 GMT+0100 (W. Europe Standard Time)\"},\"107\":{\"date\":{\"__isSmartRef__\":true,\"id\":108},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"220821B3-C589-41C9-A324-8E7E6D9D6CEB\"},\"108\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 16:58:43 GMT+0100 (W. Europe Standard Time)\"},\"109\":{\"date\":{\"__isSmartRef__\":true,\"id\":110},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707\"},\"110\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 17:04:28 GMT+0100 (W. Europe Standard Time)\"},\"111\":{\"date\":{\"__isSmartRef__\":true,\"id\":112},\"author\":\"sstamm\",\"message\":\"load request in new thread if loading should be async\",\"id\":\"18282D28-D6D4-48C9-A508-6E3244449BD8\"},\"112\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:10:27 GMT+0100 (W. Europe Standard Time)\"},\"113\":{\"date\":{\"__isSmartRef__\":true,\"id\":114},\"author\":\"sstamm\",\"message\":\"added benchmarking output\",\"id\":\"249CFF90-DDF5-4A83-9759-0289E96D7D58\"},\"114\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:31:50 GMT+0100 (W. Europe Standard Time)\"},\"115\":{\"date\":{\"__isSmartRef__\":true,\"id\":116},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"882082E1-29B6-418D-9B8B-672729D60619\"},\"116\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:38:26 GMT+0100 (W. Europe Standard Time)\"},\"117\":{\"date\":{\"__isSmartRef__\":true,\"id\":118},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"5179AEF9-E19F-4B0C-BBD8-556C5687988A\"},\"118\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:44:11 GMT+0100 (W. Europe Standard Time)\"},\"119\":{\"date\":{\"__isSmartRef__\":true,\"id\":120},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3\"},\"120\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:48:14 GMT+0100 (W. Europe Standard Time)\"},\"121\":{\"date\":{\"__isSmartRef__\":true,\"id\":122},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"2A718D1F-1036-41D6-999A-336F2B14E65D\"},\"122\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:49:47 GMT+0100 (W. Europe Standard Time)\"},\"123\":{\"date\":{\"__isSmartRef__\":true,\"id\":124},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"EB6BDD0C-7EEC-4124-B77F-2F106A601538\"},\"124\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 11:59:48 GMT+0100 (W. Europe Standard Time)\"},\"125\":{\"date\":{\"__isSmartRef__\":true,\"id\":126},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"63EC8D07-AB6A-450A-BB84-9B4D37E03647\"},\"126\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 12:02:33 GMT+0100 (W. Europe Standard Time)\"},\"127\":{\"date\":{\"__isSmartRef__\":true,\"id\":128},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9\"},\"128\":{\"isSerializedDate\":true,\"string\":\"Tue Feb 07 2012 12:03:42 GMT+0100 (W. Europe Standard Time)\"},\"129\":{\"date\":{\"__isSmartRef__\":true,\"id\":130},\"author\":\"sstamm\",\"message\":\"first attempt to introduce callback functions to part loading\",\"id\":\"22BD0B95-8948-411A-A56E-AD7CBE445F1D\"},\"130\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 09 2012 20:20:11 GMT+0100 (W. Europe Standard Time)\"},\"131\":{\"date\":{\"__isSmartRef__\":true,\"id\":132},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"A216DFD2-9D1F-4E62-A22F-6B5472823E1B\"},\"132\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 16 2012 15:37:34 GMT+0100 (W. Europe Standard Time)\"},\"133\":{\"date\":{\"__isSmartRef__\":true,\"id\":134},\"author\":\"sstamm\",\"message\":\"\",\"id\":\"464E723A-08DC-433C-AA5C-CEC850DBAF0B\"},\"134\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 16 2012 15:42:29 GMT+0100 (W. Europe Standard Time)\"},\"135\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"136\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"137\":{\"x\":266,\"y\":223,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"138\":{\"adjustForNewBounds\":true},\"139\":{\"x\":171,\"y\":-13,\"__SourceModuleName__\":\"Global.lively.morphic.Graphics\",\"__LivelyClassName__\":\"Point\"},\"140\":{\"loadPart\":{\"__isSmartRef__\":true,\"id\":141},\"loadFinished\":{\"__isSmartRef__\":true,\"id\":145},\"loadPartByName\":{\"__isSmartRef__\":true,\"id\":149}},\"141\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":142},\"source\":\"function loadPart(partItem, isAsync) {\\n this.partItem = partItem;\\n \\n this.openInWorld();\\n if(partItem.part) {\\n this.setExtent(partItem.part.getExtent());\\n }\\n this.align(this.bounds().center(), $world.visibleBounds().center());\\n \\n \\n if(typeof isAsync === \\\"function\\\") {\\n this.callback = isAsync;\\n }\\n\\n connect(partItem, 'part', this, \\\"loadFinished\\\");\\n\\n partItem.loadPart(isAsync);\\n\\n return partItem.part;\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":143},\"__LivelyClassName__\":\"lively.Closure\",\"__SourceModuleName__\":\"Global.lively.lang.Closure\"},\"142\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"143\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":144},\"user\":\"sstamm\",\"tags\":[]},\"144\":{\"isSerializedDate\":true,\"string\":\"Fri Mar 16 2012 15:42:18 GMT+0100 (W. Europe Standard Time)\"},\"145\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":146},\"source\":\"function loadFinished(part) {\\n if(this.owner === $world.firstHand()) {\\n $world.firstHand().removeAllMorphs();\\n } else {\\n this.owner.addMorph(part);\\n part.align(part.bounds().center(), this.bounds().center());\\n this.remove();\\n }\\n disconnect(this.partItem, 'part', this, \\\"loadFinished\\\");\\n if(this.callback) {\\n this.callback(part);\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":147},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"146\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"147\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":148},\"user\":\"sstamm\",\"tags\":[]},\"148\":{\"isSerializedDate\":true,\"string\":\"Wed Feb 22 2012 14:01:53 GMT+0100 (W. Europe Standard Time)\"},\"149\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":150},\"source\":\"function loadPartByName(partName, optPartsSpaceName, isAsync) {\\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\\n return this.loadPart(partItem, isAsync);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":151},\"__SourceModuleName__\":\"Global.lively.lang.Closure\",\"__LivelyClassName__\":\"lively.Closure\"},\"150\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"151\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":152},\"user\":\"sstamm\",\"tags\":[]},\"152\":{\"isSerializedDate\":true,\"string\":\"Thu Feb 02 2012 17:03:18 GMT+0100 (W. Europe Standard Time)\"},\"isSimplifiedRegistry\":true}}","loadedMetaInfo":{"__isSmartRef__":true,"id":5737},"__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"5699":{"submorphs":[{"__isSmartRef__":true,"id":5700}],"scripts":[],"id":"606A7C67-59E0-47EE-99F9-68A35433D880","shape":{"__isSmartRef__":true,"id":5729},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5736},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":5737},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":5834},"eventHandler":{"__isSmartRef__":true,"id":5835},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[127,"59692BC3-6C7B-4E23-B820-8699260EA722","486BB935-1313-4103-B2A8-642B19437478","18AFFD44-46CD-489E-B1D6-DED43E2B6B06","2608C892-2204-4981-9A87-8E749F8944AB","5535861F-4EA2-44AB-8A40-0538124E0AAC","16C292B3-86E8-4622-B516-27C48263B8CC","87731A20-D455-44D0-97E5-98A7CFD4E417","A17081E7-E597-47ED-BD32-6E4D206BD7D7","CFB4A44C-BFEA-4584-BCBA-AE2A56739200","76B3DD9B-8D01-42BA-A574-AB99D5F899BB","1EBC5512-8F54-4B24-998C-69A285EC8533","DD1165C7-6C1A-4361-A4AE-FCF6F31152FD","4D6D36E8-48F3-408A-B03C-202E4DC182BD","5F3B3E0F-BBC6-4DDA-BAA0-7EFC05FF2011","E0A6B33B-767A-4532-9021-892414520200","F5F5E2B1-5FF0-4E09-B323-AE88A3920B8D","0C7E832A-A741-430F-B295-8BC181D066FE","472AED3B-CB76-49BD-BF49-354A2D568F86","A7C52F65-D140-4791-880F-F7584C7BB570","3516412B-8B36-4E52-9416-6B7FB358BDC2","1840CACC-078C-4795-AD3F-E9D6F8D557A0","1FEDCA25-0131-46FA-840F-DC5F1B05C6CA","C620CED3-0AE9-4097-9AA7-2706A042F9C9","679A861B-40E0-4DB2-B22F-95B454C6978D","FEF39B3C-E634-4825-BAB8-2D44FE647B03"],"isBeingDragged":false,"priorExtent":{"__isSmartRef__":true,"id":5836},"layout":{"__isSmartRef__":true,"id":5837},"distanceToDragEvent":{"__isSmartRef__":true,"id":5838},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":5839},"__LivelyClassName__":"lively.morphic.Box"},"5700":{"submorphs":[{"__isSmartRef__":true,"id":5701}],"scripts":[],"shape":{"__isSmartRef__":true,"id":5717},"id":"826AC564-38BC-4911-8570-5AAE0ECF7C48","renderContextTable":{"__isSmartRef__":true,"id":5722},"eventHandler":{"__isSmartRef__":true,"id":5723},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":5724},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":5725},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":5726},"partsBinMetaInfo":{"__isSmartRef__":true,"id":5727},"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[520,"071F18BE-FF28-40F5-ACAD-1916E0D25C38","DF185A10-743D-45FC-B9C2-76E12D908BCF","BF125D2C-596A-4C1E-A5F8-DAE4801E9497","3CEE8CFF-B8F1-4B4B-A405-CB583080252A","D0652878-8F9C-4591-8A82-296898AACDB6","31441DDF-2220-43BE-A99F-69E1FEC68030","14A90039-0D3E-46DC-8445-D42B8E02EB42","681EF5DE-A344-4114-B2F3-B96CE3872524","C0381116-5116-4F33-B082-A411D0E4534E","24E9581E-B008-46EE-9CBC-D5190E100D98","C69D1041-2C5E-48FE-B04C-04E66450658A","4830945B-4FFF-4564-9424-34D7995DAE60","8602C233-B3E7-4682-9B0E-D7549761D934","B4E0E11F-2BED-462E-B708-89D63971856E","EE0144C2-D016-4390-8A67-4E7DEF171C83","F44DF6E4-5F27-440E-AB5F-3721C0A10CA6","73FC6648-DAAF-4673-8CF4-7DA219513F22","B78EB1B5-780C-45F7-B0A7-B988B52B1FF1","DFDB8CD1-72F7-40F4-849B-1F9B866277AB","66111105-B1FC-41F7-BF70-D45118C9E09F","02420416-1E35-4831-AABB-91CD0460CA1A","7C6B2EB2-4510-4A8E-BAFF-5CF0040DD7F5","0503F5A1-1732-4610-9A5A-920D658CA766","07C5AE03-36AD-4849-BACD-27D7D9A2CCF2","9FFF9D73-931C-404C-AA4B-5AC2E7C53504"],"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":5699},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":5728},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"5701":{"submorphs":[],"scripts":[],"id":"69D7FDEE-E6B1-4FFF-B125-6022D5BD00D9","shape":{"__isSmartRef__":true,"id":5702},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":5708},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":5705},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":5709},"textChunks":[{"__isSmartRef__":true,"id":5710}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":5712},"renderContextTable":{"__isSmartRef__":true,"id":5713},"eventHandler":{"__isSmartRef__":true,"id":5714},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":5715},"_ClipMode":"visible","derivationIds":[355,"023045B3-2D6B-4425-89FB-F4806D527BE0","DC0C2365-868C-41AE-8369-51C31E91493E","C6D9D314-86A1-4015-970B-F6787F535E1A","6AA4552E-2E85-447E-9033-99D5AA1A94BC","D94BE49C-8A3E-4F1F-BF28-FEDD9B40D213","AA8F0470-654C-4AA2-8135-4607F5429AC5","E0BAABCC-FFB2-4EDF-BAE5-C63CC99B6A97","1A86AE17-73AE-442E-AB36-DD90C6DFC8BC","EF750075-E964-4CD3-B6A4-161511E1D058","CED69CBF-FFA5-45E7-B333-FBACE4F278AC","E56978C1-7424-4C10-8168-11FD3237B540","D5AB2532-A4DC-42D6-AF17-99CBBCEAA848","245866CB-598A-4172-A3A0-A06D4D26C6AD","43B0F12E-5793-43AA-80E1-496774E0EBA6","1B776A8C-0413-475F-8EBD-120BBD91D2BB","F84F2C9A-8003-4E81-833A-83F48C92F3B8","3124B389-9FA4-4348-BC5D-0DFF9C59CD1B","1A1BCBAC-D7CC-4BAE-B8C2-7C693F7327A1","1CB201BA-5E0B-4771-821A-139FA2AEFBC2","195520FA-4816-47A4-B0F5-BA890AFD9DF9","0D15F28A-24C9-46B7-89C5-6D2354728AC1","316FE9D3-62EC-4FD6-9B0F-FFA622B79575","739F3743-9BE1-48C8-813D-C0BFB0DCACA6","01877B3B-7DA7-4222-B011-7B5F4E501862","B8FE7DEE-9568-4BE6-BA12-EA674BA79E08"],"_WhiteSpaceHandling":"pre-wrap","owner":{"__isSmartRef__":true,"id":5700},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":5716},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"5702":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":5703},"_Extent":{"__isSmartRef__":true,"id":5704},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":5705},"renderContextTable":{"__isSmartRef__":true,"id":5706},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5707},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5703":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5704":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5705":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5706":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5707":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5708":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5709":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5710":{"style":{"__isSmartRef__":true,"id":5711},"chunkOwner":{"__isSmartRef__":true,"id":5701},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"5711":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"5712":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5713":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"5714":{"morph":{"__isSmartRef__":true,"id":5701},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5715":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5716":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5717":{"_Position":{"__isSmartRef__":true,"id":5718},"renderContextTable":{"__isSmartRef__":true,"id":5719},"_Extent":{"__isSmartRef__":true,"id":5720},"_ImageURL":"data:image/gif;base64,R0lGODlhEAAQAPIAAP///wAAAMLCwkJCQgAAAGJiYoKCgpKSkiH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCgAAACwAAAAAEAAQAAADMwi63P4wyklrE2MIOggZnAdOmGYJRbExwroUmcG2LmDEwnHQLVsYOd2mBzkYDAdKa+dIAAAh+QQJCgAAACwAAAAAEAAQAAADNAi63P5OjCEgG4QMu7DmikRxQlFUYDEZIGBMRVsaqHwctXXf7WEYB4Ag1xjihkMZsiUkKhIAIfkECQoAAAAsAAAAABAAEAAAAzYIujIjK8pByJDMlFYvBoVjHA70GU7xSUJhmKtwHPAKzLO9HMaoKwJZ7Rf8AYPDDzKpZBqfvwQAIfkECQoAAAAsAAAAABAAEAAAAzMIumIlK8oyhpHsnFZfhYumCYUhDAQxRIdhHBGqRoKw0R8DYlJd8z0fMDgsGo/IpHI5TAAAIfkECQoAAAAsAAAAABAAEAAAAzIIunInK0rnZBTwGPNMgQwmdsNgXGJUlIWEuR5oWUIpz8pAEAMe6TwfwyYsGo/IpFKSAAAh+QQJCgAAACwAAAAAEAAQAAADMwi6IMKQORfjdOe82p4wGccc4CEuQradylesojEMBgsUc2G7sDX3lQGBMLAJibufbSlKAAAh+QQJCgAAACwAAAAAEAAQAAADMgi63P7wCRHZnFVdmgHu2nFwlWCI3WGc3TSWhUFGxTAUkGCbtgENBMJAEJsxgMLWzpEAACH5BAkKAAAALAAAAAAQABAAAAMyCLrc/jDKSatlQtScKdceCAjDII7HcQ4EMTCpyrCuUBjCYRgHVtqlAiB1YhiCnlsRkAAAOwAAAAAAAAAAAA==","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"isLoaded":true,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5721},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"5718":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5719":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"5720":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5721":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5722":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5723":{"morph":{"__isSmartRef__":true,"id":5700},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5724":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5725":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5726":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5727":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5728":{"centeredHorizontal":true,"centeredVertical":true},"5729":{"position":{"__isSmartRef__":true,"id":5730},"_Extent":{"__isSmartRef__":true,"id":5731},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":5732},"_Fill":{"__isSmartRef__":true,"id":5733},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":5734},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":5735},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"5730":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5731":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5732":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"5733":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"5734":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"5735":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"5736":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5737":{"partsSpaceName":"PartsBin/iPadWidgets","__SourceModuleName__":"Global.lively.PartsBin","comment":"This is a placeholder to indicate that a morph is being loaded. It will be replaced by the morph as soon as the requested morph finished loading.","migrationLevel":4,"partName":"LoadingMorph","changes":[{"__isSmartRef__":true,"id":5738},{"__isSmartRef__":true,"id":5740},{"__isSmartRef__":true,"id":5742},{"__isSmartRef__":true,"id":5744},{"__isSmartRef__":true,"id":5746},{"__isSmartRef__":true,"id":5748},{"__isSmartRef__":true,"id":5750},{"__isSmartRef__":true,"id":5752},{"__isSmartRef__":true,"id":5754},{"__isSmartRef__":true,"id":5756},{"__isSmartRef__":true,"id":5758},{"__isSmartRef__":true,"id":5760},{"__isSmartRef__":true,"id":5762},{"__isSmartRef__":true,"id":5764},{"__isSmartRef__":true,"id":5766},{"__isSmartRef__":true,"id":5768},{"__isSmartRef__":true,"id":5770},{"__isSmartRef__":true,"id":5772},{"__isSmartRef__":true,"id":5774},{"__isSmartRef__":true,"id":5776},{"__isSmartRef__":true,"id":5778},{"__isSmartRef__":true,"id":5780},{"__isSmartRef__":true,"id":5782},{"__isSmartRef__":true,"id":5784},{"__isSmartRef__":true,"id":5786},{"__isSmartRef__":true,"id":5788},{"__isSmartRef__":true,"id":5790},{"__isSmartRef__":true,"id":5792},{"__isSmartRef__":true,"id":5794},{"__isSmartRef__":true,"id":5796},{"__isSmartRef__":true,"id":5798},{"__isSmartRef__":true,"id":5800},{"__isSmartRef__":true,"id":5802},{"__isSmartRef__":true,"id":5804},{"__isSmartRef__":true,"id":5806},{"__isSmartRef__":true,"id":5808},{"__isSmartRef__":true,"id":5810},{"__isSmartRef__":true,"id":5812},{"__isSmartRef__":true,"id":5814},{"__isSmartRef__":true,"id":5816},{"__isSmartRef__":true,"id":5818},{"__isSmartRef__":true,"id":5820},{"__isSmartRef__":true,"id":5822},{"__isSmartRef__":true,"id":5824},{"__isSmartRef__":true,"id":5826},{"__isSmartRef__":true,"id":5828},{"__isSmartRef__":true,"id":5830},{"__isSmartRef__":true,"id":5832}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"5738":{"date":{"__isSmartRef__":true,"id":5739},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"5739":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"5740":{"date":{"__isSmartRef__":true,"id":5741},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"5741":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"5742":{"date":{"__isSmartRef__":true,"id":5743},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"5743":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"5744":{"date":{"__isSmartRef__":true,"id":5745},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"5745":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"5746":{"date":{"__isSmartRef__":true,"id":5747},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"5747":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"5748":{"date":{"__isSmartRef__":true,"id":5749},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"5749":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"5750":{"date":{"__isSmartRef__":true,"id":5751},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"5751":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"5752":{"date":{"__isSmartRef__":true,"id":5753},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"5753":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"5754":{"date":{"__isSmartRef__":true,"id":5755},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"5755":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"5756":{"date":{"__isSmartRef__":true,"id":5757},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"5757":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"5758":{"date":{"__isSmartRef__":true,"id":5759},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"5759":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"5760":{"date":{"__isSmartRef__":true,"id":5761},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"5761":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"5762":{"date":{"__isSmartRef__":true,"id":5763},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"5763":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"5764":{"date":{"__isSmartRef__":true,"id":5765},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"5765":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"5766":{"date":{"__isSmartRef__":true,"id":5767},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"5767":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"5768":{"date":{"__isSmartRef__":true,"id":5769},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"5769":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"5770":{"date":{"__isSmartRef__":true,"id":5771},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"5771":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"5772":{"date":{"__isSmartRef__":true,"id":5773},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"5773":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"5774":{"date":{"__isSmartRef__":true,"id":5775},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"5775":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"5776":{"date":{"__isSmartRef__":true,"id":5777},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"5777":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"5778":{"date":{"__isSmartRef__":true,"id":5779},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"5779":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"5780":{"date":{"__isSmartRef__":true,"id":5781},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"5781":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"5782":{"date":{"__isSmartRef__":true,"id":5783},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"5783":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"5784":{"date":{"__isSmartRef__":true,"id":5785},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"5785":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"5786":{"date":{"__isSmartRef__":true,"id":5787},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"5787":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"5788":{"date":{"__isSmartRef__":true,"id":5789},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"5789":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"5790":{"date":{"__isSmartRef__":true,"id":5791},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"5791":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"5792":{"date":{"__isSmartRef__":true,"id":5793},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"5793":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"5794":{"date":{"__isSmartRef__":true,"id":5795},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"5795":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"5796":{"date":{"__isSmartRef__":true,"id":5797},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"5797":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"5798":{"date":{"__isSmartRef__":true,"id":5799},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"5799":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"5800":{"date":{"__isSmartRef__":true,"id":5801},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"5801":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"5802":{"date":{"__isSmartRef__":true,"id":5803},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"5803":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"5804":{"date":{"__isSmartRef__":true,"id":5805},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"5805":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"5806":{"date":{"__isSmartRef__":true,"id":5807},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"5807":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"5808":{"date":{"__isSmartRef__":true,"id":5809},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"5809":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"5810":{"date":{"__isSmartRef__":true,"id":5811},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"5811":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"5812":{"date":{"__isSmartRef__":true,"id":5813},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"5813":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"5814":{"date":{"__isSmartRef__":true,"id":5815},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"5815":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"5816":{"date":{"__isSmartRef__":true,"id":5817},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"5817":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"5818":{"date":{"__isSmartRef__":true,"id":5819},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"5819":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"5820":{"date":{"__isSmartRef__":true,"id":5821},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"5821":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"5822":{"date":{"__isSmartRef__":true,"id":5823},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"5823":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"5824":{"date":{"__isSmartRef__":true,"id":5825},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"5825":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"5826":{"date":{"__isSmartRef__":true,"id":5827},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"5827":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"5828":{"date":{"__isSmartRef__":true,"id":5829},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"5829":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"5830":{"date":{"__isSmartRef__":true,"id":5831},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"5831":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"5832":{"date":{"__isSmartRef__":true,"id":5833},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"5833":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"5834":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"5835":{"morph":{"__isSmartRef__":true,"id":5699},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"5836":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5837":{"adjustForNewBounds":true},"5838":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"5839":{"loadPart":{"__isSmartRef__":true,"id":5840},"loadFinished":{"__isSmartRef__":true,"id":5844},"loadPartByName":{"__isSmartRef__":true,"id":5848}},"5840":{"varMapping":{"__isSmartRef__":true,"id":5841},"source":"function loadPart(partItem, isAsync) {\n this.partItem = partItem;\n \n this.openInWorld();\n if(partItem.part) {\n this.setExtent(partItem.part.getExtent());\n }\n this.align(this.bounds().center(), $world.visibleBounds().center());\n \n \n if(typeof isAsync === \"function\") {\n this.callback = isAsync;\n }\n\n connect(partItem, 'part', this, \"loadFinished\");\n\n partItem.loadPart(isAsync);\n\n return partItem.part;\n\n}","funcProperties":{"__isSmartRef__":true,"id":5842},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5841":{"this":{"__isSmartRef__":true,"id":5699}},"5842":{"timestamp":{"__isSmartRef__":true,"id":5843},"user":"sstamm","tags":[]},"5843":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"5844":{"varMapping":{"__isSmartRef__":true,"id":5845},"source":"function loadFinished(part) {\n if(this.owner === $world.firstHand()) {\n $world.firstHand().removeAllMorphs();\n } else {\n this.owner.addMorph(part);\n part.align(part.bounds().center(), this.bounds().center());\n this.remove();\n }\n disconnect(this.partItem, 'part', this, \"loadFinished\");\n if(this.callback) {\n this.callback(part);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":5846},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5845":{"this":{"__isSmartRef__":true,"id":5699}},"5846":{"timestamp":{"__isSmartRef__":true,"id":5847},"user":"sstamm","tags":[]},"5847":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"5848":{"varMapping":{"__isSmartRef__":true,"id":5849},"source":"function loadPartByName(partName, optPartsSpaceName, isAsync) {\n var partItem = lively.PartsBin.getPartItem(partName, optPartsSpaceName);\n return this.loadPart(partItem, isAsync);\n}","funcProperties":{"__isSmartRef__":true,"id":5850},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"5849":{"this":{"__isSmartRef__":true,"id":5699}},"5850":{"timestamp":{"__isSmartRef__":true,"id":5851},"user":"sstamm","tags":[]},"5851":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"5852":{"rev":151069,"author":"athomschke","date":{"__isSmartRef__":true,"id":5853},"url":{"__isSmartRef__":true,"id":5854},"changes":[{"__isSmartRef__":true,"id":5855},{"__isSmartRef__":true,"id":5856},{"__isSmartRef__":true,"id":5857},{"__isSmartRef__":true,"id":5858},{"__isSmartRef__":true,"id":5859},{"__isSmartRef__":true,"id":5860},{"__isSmartRef__":true,"id":5861},{"__isSmartRef__":true,"id":5862},{"__isSmartRef__":true,"id":5863},{"__isSmartRef__":true,"id":5864},{"__isSmartRef__":true,"id":5865},{"__isSmartRef__":true,"id":5866},{"__isSmartRef__":true,"id":5867},{"__isSmartRef__":true,"id":5868},{"__isSmartRef__":true,"id":5869},{"__isSmartRef__":true,"id":5870},{"__isSmartRef__":true,"id":5871},{"__isSmartRef__":true,"id":5872},{"__isSmartRef__":true,"id":5873},{"__isSmartRef__":true,"id":5874},{"__isSmartRef__":true,"id":5875},{"__isSmartRef__":true,"id":5876},{"__isSmartRef__":true,"id":5877},{"__isSmartRef__":true,"id":5878},{"__isSmartRef__":true,"id":5879},{"__isSmartRef__":true,"id":5880},{"__isSmartRef__":true,"id":5881},{"__isSmartRef__":true,"id":5882},{"__isSmartRef__":true,"id":5883},{"__isSmartRef__":true,"id":5884},{"__isSmartRef__":true,"id":5885},{"__isSmartRef__":true,"id":5886},{"__isSmartRef__":true,"id":5887},{"__isSmartRef__":true,"id":5888},{"__isSmartRef__":true,"id":5889},{"__isSmartRef__":true,"id":5890},{"__isSmartRef__":true,"id":5891},{"__isSmartRef__":true,"id":5892},{"__isSmartRef__":true,"id":5893},{"__isSmartRef__":true,"id":5894},{"__isSmartRef__":true,"id":5895},{"__isSmartRef__":true,"id":5896},{"__isSmartRef__":true,"id":5897},{"__isSmartRef__":true,"id":5898},{"__isSmartRef__":true,"id":5899},{"__isSmartRef__":true,"id":5900},{"__isSmartRef__":true,"id":5901},{"__isSmartRef__":true,"id":5902},{"__isSmartRef__":true,"id":5903},{"__isSmartRef__":true,"id":5904},{"__isSmartRef__":true,"id":5905},{"__isSmartRef__":true,"id":5906},{"__isSmartRef__":true,"id":5907},{"__isSmartRef__":true,"id":5908},{"__isSmartRef__":true,"id":5909},{"__isSmartRef__":true,"id":5910},{"__isSmartRef__":true,"id":5911},{"__isSmartRef__":true,"id":5912},{"__isSmartRef__":true,"id":5913},{"__isSmartRef__":true,"id":5914},{"__isSmartRef__":true,"id":5915},{"__isSmartRef__":true,"id":5916},{"__isSmartRef__":true,"id":5917},{"__isSmartRef__":true,"id":5918}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"5853":{"isSerializedDate":true,"string":"Wed Apr 11 2012 09:08:49 GMT+0200 (CEST)"},"5854":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/iPadWidgets/PinLessTouchMenu.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"5855":{"type":"S:added","url":null},"5856":{"type":"S:added","url":null},"5857":{"type":"S:added","url":null},"5858":{"type":"S:added","url":null},"5859":{"type":"S:added","url":null},"5860":{"type":"S:added","url":null},"5861":{"type":"S:added","url":null},"5862":{"type":"S:added","url":null},"5863":{"type":"S:added","url":null},"5864":{"type":"S:added","url":null},"5865":{"type":"S:added","url":null},"5866":{"type":"S:added","url":null},"5867":{"type":"S:added","url":null},"5868":{"type":"S:added","url":null},"5869":{"type":"S:added","url":null},"5870":{"type":"S:added","url":null},"5871":{"type":"S:added","url":null},"5872":{"type":"S:added","url":null},"5873":{"type":"S:added","url":null},"5874":{"type":"S:added","url":null},"5875":{"type":"S:added","url":null},"5876":{"type":"S:added","url":null},"5877":{"type":"S:added","url":null},"5878":{"type":"S:added","url":null},"5879":{"type":"S:added","url":null},"5880":{"type":"S:added","url":null},"5881":{"type":"S:added","url":null},"5882":{"type":"S:added","url":null},"5883":{"type":"S:added","url":null},"5884":{"type":"S:added","url":null},"5885":{"type":"S:added","url":null},"5886":{"type":"S:added","url":null},"5887":{"type":"S:added","url":null},"5888":{"type":"S:added","url":null},"5889":{"type":"S:added","url":null},"5890":{"type":"S:added","url":null},"5891":{"type":"S:added","url":null},"5892":{"type":"S:added","url":null},"5893":{"type":"S:added","url":null},"5894":{"type":"S:added","url":null},"5895":{"type":"S:added","url":null},"5896":{"type":"S:added","url":null},"5897":{"type":"S:added","url":null},"5898":{"type":"S:added","url":null},"5899":{"type":"S:added","url":null},"5900":{"type":"S:added","url":null},"5901":{"type":"S:added","url":null},"5902":{"type":"S:added","url":null},"5903":{"type":"S:added","url":null},"5904":{"type":"S:added","url":null},"5905":{"type":"S:added","url":null},"5906":{"type":"S:added","url":null},"5907":{"type":"S:added","url":null},"5908":{"type":"S:added","url":null},"5909":{"type":"S:added","url":null},"5910":{"type":"S:added","url":null},"5911":{"type":"S:added","url":null},"5912":{"type":"S:added","url":null},"5913":{"type":"S:added","url":null},"5914":{"type":"S:added","url":null},"5915":{"type":"S:added","url":null},"5916":{"type":"S:added","url":null},"5917":{"type":"S:added","url":null},"5918":{"type":"S:added","url":null},"5919":{"name":"PartsBin/Tools","partItems":{"__isSmartRef__":true,"id":5920},"__LivelyClassName__":"lively.PartsBin.PartsSpace","__SourceModuleName__":"Global.lively.PartsBin"},"5920":{"Explorer":{"__isSmartRef__":true,"id":5921}},"5921":{"partsSpaceName":"PartsBin/Tools","name":"Explorer","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"partVersions":[{"__isSmartRef__":true,"id":5922},{"__isSmartRef__":true,"id":5926},{"__isSmartRef__":true,"id":6032},{"__isSmartRef__":true,"id":6036},{"__isSmartRef__":true,"id":6040},{"__isSmartRef__":true,"id":6044},{"__isSmartRef__":true,"id":6048},{"__isSmartRef__":true,"id":6052},{"__isSmartRef__":true,"id":6056},{"__isSmartRef__":true,"id":6060},{"__isSmartRef__":true,"id":6064},{"__isSmartRef__":true,"id":6070},{"__isSmartRef__":true,"id":6074},{"__isSmartRef__":true,"id":6078},{"__isSmartRef__":true,"id":6082},{"__isSmartRef__":true,"id":6086},{"__isSmartRef__":true,"id":6090},{"__isSmartRef__":true,"id":6094},{"__isSmartRef__":true,"id":6098},{"__isSmartRef__":true,"id":6102},{"__isSmartRef__":true,"id":6106},{"__isSmartRef__":true,"id":6110},{"__isSmartRef__":true,"id":6114},{"__isSmartRef__":true,"id":6704},{"__isSmartRef__":true,"id":6709},{"__isSmartRef__":true,"id":6713},{"__isSmartRef__":true,"id":6717},{"__isSmartRef__":true,"id":6721},{"__isSmartRef__":true,"id":6725},{"__isSmartRef__":true,"id":6729},{"__isSmartRef__":true,"id":6733},{"__isSmartRef__":true,"id":6737},{"__isSmartRef__":true,"id":6741},{"__isSmartRef__":true,"id":6745},{"__isSmartRef__":true,"id":6749},{"__isSmartRef__":true,"id":6753},{"__isSmartRef__":true,"id":6757},{"__isSmartRef__":true,"id":6761},{"__isSmartRef__":true,"id":6765},{"__isSmartRef__":true,"id":6769},{"__isSmartRef__":true,"id":6773},{"__isSmartRef__":true,"id":6777},{"__isSmartRef__":true,"id":6781},{"__isSmartRef__":true,"id":6785},{"__isSmartRef__":true,"id":6789},{"__isSmartRef__":true,"id":6793}],"rev":148785,"loadedMetaInfo":{"__isSmartRef__":true,"id":6797},"part":{"__isSmartRef__":true,"id":1473},"json":"{\"id\":0,\"registry\":{\"0\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":1},{\"__isSmartRef__\":true,\"id\":145},{\"__isSmartRef__\":true,\"id\":182}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":331},\"id\":\"32525E7F-A548-4001-86AE-BBDE7D2BAD17\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":335},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":336},\"droppingEnabled\":true,\"halosEnabled\":true,\"__layered_draggingEnabled__\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":337},\"LK2\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":338},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":339},\"targetMorph\":{\"__isSmartRef__\":true,\"id\":1},\"titleBar\":{\"__isSmartRef__\":true,\"id\":182},\"contentOffset\":{\"__isSmartRef__\":true,\"id\":340},\"collapsedTransform\":null,\"collapsedExtent\":null,\"expandedTransform\":null,\"expandedExtent\":null,\"ignoreEventsOnExpand\":false,\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":341},\"name\":\"Explorer\",\"prevDragPos\":{\"__isSmartRef__\":true,\"id\":386},\"isBeingDragged\":false,\"highlighted\":true,\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"explorer\":{\"__isSmartRef__\":true,\"id\":1},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"isCopyMorphRef\":true,\"morphRefId\":1,\"prevScroll\":[0,0],\"minExtent\":{\"__isSmartRef__\":true,\"id\":387},\"derivationIds\":[369,\"5976C77B-5C20-4DC4-BDA1-A2269E9FEC17\",\"8A4661CC-271E-4CA9-9B42-C428E5DCCB01\",\"B002D7D6-4167-4D6A-8981-E569CE5EE4CC\",\"21A298C5-87D3-4C5F-8FB6-34DB19723B44\",\"A077835E-1096-40C4-92FB-6830D29FC989\"],\"_Rotation\":0,\"_Scale\":1.0141055623885957,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":388},\"__LivelyClassName__\":\"lively.morphic.Window\",\"withoutLayers\":[\"Global.lively.morphic.GrabbingLayer\"]},\"1\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":2},{\"__isSmartRef__\":true,\"id\":88}],\"scripts\":[],\"id\":\"9AA7774E-2D58-467B-986D-947454B915CA\",\"shape\":{\"__isSmartRef__\":true,\"id\":111},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":118},\"showsHalos\":false,\"name\":\"ExplorerPane\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":119},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":122},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":123},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":124},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":125},\"layout\":{\"__isSmartRef__\":true,\"id\":126},\"workspace\":{\"__isSmartRef__\":true,\"id\":88},\"treeView\":{\"__isSmartRef__\":true,\"id\":2},\"focusedNode\":null,\"isInLayoutCycle\":false,\"prevScroll\":[0,0],\"derivationIds\":[370,\"19EB328E-FFB1-41CD-B181-A60FCF27908C\",\"D1C1A399-6222-405C-A922-2ADD2DFBFB56\",\"F7B66347-DB63-470F-8ABC-5C342E31BC5E\",\"7A83A60F-0956-4BD5-AFDB-B7CFECEF9E30\",\"D14B60A2-D449-4E15-8A1B-EADF6D8A988B\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":128},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"2\":{\"submorphs\":[],\"scripts\":[],\"id\":\"F124DD76-61DA-471A-A1DA-D01C9F74D5C3\",\"shape\":{\"__isSmartRef__\":true,\"id\":3},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":9},\"showsHalos\":false,\"name\":\"TreeView\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":10},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":11},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":12},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"priorExtent\":{\"__isSmartRef__\":true,\"id\":13},\"layout\":{\"__isSmartRef__\":true,\"id\":14},\"isInLayoutCycle\":false,\"isCopyMorphRef\":true,\"morphRefId\":1,\"isBeingDragged\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":16},\"colors\":{\"__isSmartRef__\":true,\"id\":17},\"fonts\":{\"__isSmartRef__\":true,\"id\":23},\"sizes\":{\"__isSmartRef__\":true,\"id\":24},\"rootNode\":null,\"prevScroll\":[0,0],\"derivationIds\":[371,\"5F72E9BF-51FA-45DD-9F01-ADDC32FBF64C\",\"4B46569F-B458-41CF-846F-31DB325C55FE\",\"BC2E4190-4592-4E2C-8644-51CA0FC16963\",\"DBB73829-F82D-45F0-8499-2332C8C0487E\",\"78E2B139-F388-4299-A7CC-0964C21003A4\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":29},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"3\":{\"position\":{\"__isSmartRef__\":true,\"id\":4},\"_Extent\":{\"__isSmartRef__\":true,\"id\":5},\"_BorderWidth\":1.9240000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":6},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":7},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":8},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"4\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"5\":{\"x\":290.8398611920343,\"y\":283.4698859496224,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"6\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"7\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"8\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"9\":{\"x\":10,\"y\":10,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"10\":{\"partsSpaceName\":\"PartsBin/Inputs/\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A tree view morph. You can visualize a graph of object data with it (for example).\",\"migrationLevel\":4,\"partName\":\"TreeView\",\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"11\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"12\":{\"morph\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"13\":{\"x\":286.8398611920343,\"y\":281.4698859496224,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"14\":{\"layouter\":{\"__isSmartRef__\":true,\"id\":15},\"resizeWidth\":true,\"resizeHeight\":true,\"moveVertical\":false,\"moveHorizontal\":false,\"adjustForNewBounds\":true},\"15\":{\"defaultBorderSize\":10,\"defaultSpacing\":15,\"borderSize\":10,\"spacing\":15,\"container\":{\"__isSmartRef__\":true,\"id\":2},\"__SourceModuleName__\":\"Global.lively.morphic.Layout\",\"__LivelyClassName__\":\"lively.morphic.Layout.VerticalLayout\"},\"16\":{\"x\":164.35052570087606,\"y\":-15.96995493992489,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"17\":{\"border\":{\"__isSmartRef__\":true,\"id\":18},\"contractedExpander\":{\"__isSmartRef__\":true,\"id\":19},\"expandedExpander\":{\"__isSmartRef__\":true,\"id\":20},\"focusedText\":{\"__isSmartRef__\":true,\"id\":21},\"emphasizedText\":{\"__isSmartRef__\":true,\"id\":22}},\"18\":{\"r\":0.5686274509803921,\"g\":0.5686274509803921,\"b\":0.5686274509803921,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"19\":{\"r\":0.5686274509803921,\"g\":0.5686274509803921,\"b\":0.5686274509803921,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"20\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"21\":{\"r\":0.9529411764705882,\"g\":0.9529411764705882,\"b\":0.9529411764705882,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"22\":{\"r\":0.5686274509803921,\"g\":0.5686274509803921,\"b\":0.5686274509803921,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"23\":{\"size\":10},\"24\":{\"wrapperExtent\":{\"__isSmartRef__\":true,\"id\":25},\"expanderExtent\":{\"__isSmartRef__\":true,\"id\":26},\"expanderOffset\":{\"__isSmartRef__\":true,\"id\":27},\"textOffset\":{\"__isSmartRef__\":true,\"id\":28},\"levelIndent\":10,\"maxTextWidth\":500},\"25\":{\"x\":0,\"y\":0,\"width\":100,\"height\":18,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global\"},\"26\":{\"x\":8,\"y\":8,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"27\":{\"x\":8,\"y\":5,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"28\":{\"x\":18,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"29\":{\"renderTree\":{\"__isSmartRef__\":true,\"id\":30},\"createTreeNode\":{\"__isSmartRef__\":true,\"id\":34},\"createTreeWrapper\":{\"__isSmartRef__\":true,\"id\":38},\"reset\":{\"__isSmartRef__\":true,\"id\":42},\"createTreeNodeMorph\":{\"__isSmartRef__\":true,\"id\":46},\"createExpanderButton\":{\"__isSmartRef__\":true,\"id\":50},\"createPropertyText\":{\"__isSmartRef__\":true,\"id\":54},\"createScrollClip\":{\"__isSmartRef__\":true,\"id\":58},\"resetDefaults\":{\"__isSmartRef__\":true,\"id\":62},\"addScriptsToTreeNode\":{\"__isSmartRef__\":true,\"id\":66},\"addScriptsToExpander\":{\"__isSmartRef__\":true,\"id\":69},\"getDisplayStringFor\":{\"__isSmartRef__\":true,\"id\":72},\"update\":{\"__isSmartRef__\":true,\"id\":76},\"addScriptsToText\":{\"__isSmartRef__\":true,\"id\":80},\"toggleAll\":{\"__isSmartRef__\":true,\"id\":84}},\"30\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":31},\"source\":\"function renderTree(data) {\\n this.rootNode = this.createTreeNode('Properties', data);\\n this.addMorph(this.rootNode);\\n     \\n var wrapper = this.createTreeWrapper(this.rootNode);\\n var scroll = this.createScrollClip(wrapper);\\n\\n this.addMorph(scroll);\\n\\n this.startStepping(500/*ms*/, 'update'); \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":32},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"31\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"32\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":33},\"user\":\"lauritz\",\"tags\":[]},\"33\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:23:33 GMT+0100 (CET)\"},\"34\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":35},\"source\":\"function createTreeNode(label, data, level, parent) {\\n level = level || 0;\\n\\n // create morph / layout\\n var treeNode = this.createTreeNodeMorph(data, level);\\n\\n // add scripts\\n this.addScriptsToTreeNode(treeNode);\\n\\n // initialization\\n treeNode.data = data;\\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\\n treeNode.level = level;\\n treeNode.treeView = this;\\n treeNode.label = label;\\n treeNode.children = [];\\n treeNode.parent = (parent ? parent : null);\\n\\n var expander = this.createExpanderButton(treeNode);\\n treeNode.addMorph(expander);\\n\\n var text = this.createPropertyText(treeNode);\\n treeNode.addMorph(text);\\n\\n\\n return treeNode;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":36},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"35\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"36\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":37}},\"37\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:43:34 GMT+0200 (CEST)\"},\"38\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":39},\"source\":\"function createTreeWrapper(node) {\\n\\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\\n var wrapper = new lively.morphic.Morph(rectangleMorph);\\n\\n wrapper.addScript(function getLayoutableSubmorphs() {\\n return this.submorphs.reject(function(ea) {\\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\\n });\\n });\\n\\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\\n var superBasicLayout = layouter.basicLayout;\\n layouter.basicLayout = function(container, submorphs) {\\n submorphs.sortBy = function() { return this };\\n superBasicLayout.bind(layouter)(container, submorphs);\\n delete submorphs.sortBy;\\n };\\n layouter.borderSize = 0;\\n layouter.spacing = 0;\\n wrapper.setLayouter(layouter);\\n wrapper.layout.resizeWidth = true;\\n\\n if (node)\\n wrapper.addMorph(node);\\n\\n return wrapper;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":40},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"39\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"40\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":41}},\"41\":{\"isSerializedDate\":true,\"string\":\"Tue Sep 20 2011 17:05:52 GMT+0200 (CEST)\"},\"42\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":43},\"source\":\"function reset() {\\n this.removeAllMorphs();\\n this.resetDefaults();\\n this.rootNode = null; \\n this.stopStepping();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":44},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"43\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"44\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":45}},\"45\":{\"isSerializedDate\":true,\"string\":\"Sat Oct 15 2011 00:41:57 GMT+0200 (CEST)\"},\"46\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":47},\"source\":\"function createTreeNodeMorph(data, level) {\\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\\n\\n treeNode.layout = {\\n layouter: undefined,\\n resizeWidth: true\\n }\\n treeNode.disableGrabbing();\\n treeNode.disableDragging();\\n\\n return treeNode; \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":48},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"47\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"48\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":49}},\"49\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 19:24:35 GMT+0200 (CEST)\"},\"50\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":51},\"source\":\"function createExpanderButton(treeNode) {\\n\\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\\n\\n // layout\\n expander.setBorderWidth(1);\\n expander.setBorderColor(this.colors.border);\\n expander.disableGrabbing();\\n expander.disableDragging();\\n treeNode.expander = expander;\\n\\n // add scripts\\n this.addScriptsToExpander(expander);\\n\\n // initialization\\n expander.isExpanded = false;\\n treeNode.updateExpanderColor();\\n\\n return expander;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":52},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"51\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"52\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":53}},\"53\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:32:58 GMT+0200 (CEST)\"},\"54\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":55},\"source\":\"function createPropertyText(treeNode) {\\n \\n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\\n\\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \\\"\\\");  \\n this.addScriptsToText(textMorph);\\n textMorph.layoutText(this.fonts);\\n\\n treeNode.text = textMorph;\\n treeNode.displayValue();\\n\\n return textMorph;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":56},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"55\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"56\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":57}},\"57\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:18:07 GMT+0200 (CEST)\"},\"58\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":59},\"source\":\"function createScrollClip(wrapper) {\\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\\n\\n // layout\\n scroll.layout = {\\n resizeWidth: true,\\n resizeHeight: true\\n };\\n scroll.disableGrabbing();\\n scroll.disableDragging();\\n scroll.setName('TreeViewScrollPane');\\n\\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\\n $super(ctx, modeString);\\n ctx.morphNode.style['overflow-x'] = 'hidden';\\n });\\n\\n scroll.addMorph(wrapper);\\n return scroll;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":60},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"59\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"60\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":61}},\"61\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 19 2011 19:54:00 GMT+0200 (CEST)\"},\"62\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":63},\"source\":\"function resetDefaults() {\\n this.colors = {\\n border : Color.rgb(145,145,145),\\n contractedExpander : Color.rgb(145,145,145),\\n expandedExpander : Color.white,\\n focusedText : Color.rgb(243,243,243),\\n emphasizedText : Color.rgb(145,145,145)\\n };\\n this.fonts = {\\n size : 10\\n };\\n this.sizes = {\\n wrapperExtent : pt(100, 18).extentAsRectangle(),\\n expanderExtent : pt(8, 8),\\n expanderOffset : pt(8, 5),\\n textOffset : pt(18, 0),\\n levelIndent : 10,\\n maxTextWidth : 500\\n }\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":64},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"63\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"64\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":65}},\"65\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 19:38:04 GMT+0200 (CEST)\"},\"66\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":67},\"source\":\"function addScriptsToTreeNode(treeNode) {\\n\\n treeNode.addScript(function updateExpanderColor() {\\n var colors = this.treeView.colors;\\n var fillColor;\\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \\n fillColor = colors.expandedExpander;\\n } else {\\n fillColor = colors.contractedExpander;\\n }\\n this.expander.setFill(fillColor);\\n });\\n\\n treeNode.addScript(function onMouseDown() {\\n this.treeView.owner.moveFocusTo(this);\\n });\\n\\n treeNode.addScript(function isRoot() {\\n return (this.parent === null || this.parent === undefined);\\n });\\n\\n treeNode.addScript(function displayValue() {\\n // set label\\n var labelString = this.treeView.getDisplayStringFor(this);\\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\\n this.text.setTextString(labelString);\\n \\n // reset the bounds\\n var fontSize = this.treeView.fonts.size;\\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\\n this.text.setExtent(textExtent);\\n\\n // emphasize the properties current value\\n this.text.emphasize({\\n color: this.treeView.colors.emphasizedText,\\n italics: 'italic'\\n }, this.label.length, this.text.textString.length);\\n });\\n \\n treeNode.addScript(function update() {\\n \\n // if actual value of the represented property changed (reference changed)\\n if (this.parent && this.data !== this.parent.data[this.label]) {\\n this.data = this.parent.data[this.label];\\n this.displayValue();\\n }\\n\\n if (Objects.typeStringOf(this.data) === 'String') return;\\n\\n // when properties have changed (same object, but other properties)\\n var allProperties = Properties.own(this.data);\\n var that = this;\\n var allPropertiesKnown = allProperties.every(function (each) {\\n return that.propertyList.indexOf(each) !== -1;\\n })\\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\\n this.updateExpanderColor();\\n this.displayValue();\\n\\n // if expanded, redraw children\\n if (this.expander.isExpanded) {\\n this.expander.isExpanded = false;\\n this.expander.toggle();\\n }\\n \\n this.propertyList = allProperties;\\n }\\n\\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\\n this.children.forEach(function (each) {\\n each.update()\\n });\\n }\\n });\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":68},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"67\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"68\":{},\"69\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":70},\"source\":\"function addScriptsToExpander(expander) {\\n\\n expander.addScript(function toggle() {\\n // asynchronous toggling\\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\\n });\\n\\n expander.addScript(function toggleExpansion() {\\n var treeNode = this.owner;\\n var treeView = treeNode.treeView;\\n\\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\\n this.isExpanded = true;\\n\\n if (treeNode.childrenWrapper) {\\n treeNode.childrenWrapper.setVisible(true);\\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\\n treeNode.children = [];\\n treeNode.childrenWrapper.removeAllMorphs();\\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\\n } else {\\n if (Objects.isMutableType(treeNode.data)) {\\n var wrapper = treeView.createTreeWrapper();\\n\\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\\n var that = this;\\n var props = Properties.own(treeNode.data);\\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\\n props.forEach(function(prop) {\\n (function() {\\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\\n treeNode.children.push(childNode);\\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\\n that.addMorph(nodeWrapper);\\n }).bind(this).delay(0); // asynchronous\\n });\\n });\\n wrapper.addTreeNodesForProperties(treeNode);\\n \\n treeNode.childrenWrapper = wrapper;\\n treeNode.owner.addMorph(wrapper);\\n } \\n }\\n } else {\\n this.isExpanded = false;\\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\\n }\\n treeNode.updateExpanderColor();\\n treeNode.owner.applyLayout();\\n });\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":71},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"70\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"71\":{},\"72\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":73},\"source\":\"function getDisplayStringFor(treeNode) {\\n var typeInfo = '';\\n if (treeNode.data && treeNode.data.name) {\\n typeInfo = treeNode.data.name;\\n } else {\\n typeInfo = (Objects.isMutableType(treeNode.data) ? \\n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\\n }\\n return treeNode.label + \\\": \\\" + typeInfo;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":74},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"73\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"74\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":75},\"user\":\"lauritz\",\"tags\":[]},\"75\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:35:06 GMT+0100 (CET)\"},\"76\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":77},\"source\":\"function update() {\\n this.rootNode.update();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":78},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"77\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"78\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":79}},\"79\":{\"isSerializedDate\":true,\"string\":\"Sat Oct 15 2011 00:42:27 GMT+0200 (CEST)\"},\"80\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":81},\"source\":\"function addScriptsToText(textMorph) {\\n\\n textMorph.addScript(function layoutText(fontOptions){\\n this.setFontSize(fontOptions.size);\\n this.setFillOpacity(0);\\n this.setBorderWidth(0);\\n this.setMaxTextWidth(fontOptions.maxTextWidth);\\n this.beLabel();\\n this.fit();\\n });\\n\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":82},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"81\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"82\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":83}},\"83\":{\"isSerializedDate\":true,\"string\":\"Mon Sep 26 2011 23:16:48 GMT+0200 (CEST)\"},\"84\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":85},\"source\":\"function toggleAll() {\\n\\n if (!this.rootNode) return;\\n\\n try {\\n JSON.stringify(this.rootNode.data);\\n } catch (e) {\\n // probably a circular structure\\n return;\\n }\\n\\n var toggleChildren = function (node) {\\n\\n if (!node.children) return;\\n\\n (function() {\\n node.children.forEach(function (each) {\\n each.expander.toggleExpansion();\\n toggleChildren(each);\\n });\\n }).bind(this).delay(0); // asynchronous\\n }\\n\\n toggleChildren(this.rootNode);\\n \\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":86},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"85\":{\"this\":{\"__isSmartRef__\":true,\"id\":2}},\"86\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":87},\"user\":\"lauritz\",\"tags\":[]},\"87\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:58:11 GMT+0100 (CET)\"},\"88\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":89},\"id\":\"4BCE87D8-39F3-4B7F-A78F-10398B72A854\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":96},\"textChunks\":[{\"__isSmartRef__\":true,\"id\":97}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":99},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"auto\",\"fixedWidth\":true,\"_WhiteSpaceHandling\":\"pre-wrap\",\"fixedHeight\":true,\"allowInput\":true,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"_Position\":{\"__isSmartRef__\":true,\"id\":100},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":101},\"_MaxTextWidth\":292.9619429239048,\"_MinTextWidth\":292.9619429239048,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"layout\":{\"__isSmartRef__\":true,\"id\":102},\"doitContext\":null,\"previousSelection\":[20,0],\"priorSelectionRange\":[0,0],\"charsReplaced\":\"typeof(this)\",\"lastFindLoc\":12,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"prevScroll\":[0,0],\"isBeingDragged\":false,\"showsHalos\":false,\"name\":\"Workspace\",\"owner\":{\"__isSmartRef__\":true,\"id\":1},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":103},\"isCopyMorphRef\":true,\"morphRefId\":1,\"scriptAnnotations\":{\"__isSmartRef__\":true,\"id\":104},\"lastDragTime\":1317079672221,\"derivationIds\":[372,\"3BBD270B-A828-436A-915C-D23688CF2067\",\"D0890AA7-6E65-4B35-9600-1AD66DF96797\",\"243534E4-AE49-45EC-9DB9-384D7DE4B994\",\"251CC01A-7FDF-4357-9313-99DE732BDF7B\",\"49FB5C89-127F-411D-9E7D-74274AFC6322\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":107},\"__LivelyClassName__\":\"lively.morphic.Text\"},\"89\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":90},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":91},\"_Extent\":{\"__isSmartRef__\":true,\"id\":92},\"_ClipMode\":\"auto\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":93},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":94},\"_Fill\":{\"__isSmartRef__\":true,\"id\":95},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_BorderRadius\":4,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"90\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"91\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"92\":{\"x\":290.8398611920343,\"y\":81.00200300400502,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"93\":{\"x\":3,\"y\":3,\"width\":-3,\"height\":-3,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global\"},\"94\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"95\":{\"r\":0.95,\"g\":0.95,\"b\":0.95,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"96\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"97\":{\"style\":{\"__isSmartRef__\":true,\"id\":98},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":88},\"storedString\":\"\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"98\":{\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\",\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\"},\"99\":{\"morph\":{\"__isSmartRef__\":true,\"id\":88},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"100\":{\"x\":10,\"y\":308.4698859496224,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"101\":{\"x\":290.8398611920343,\"y\":81.00200300400502,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"102\":{\"resizeWidth\":true,\"resizeHeight\":false,\"moveVertical\":true,\"adjustForNewBounds\":true},\"103\":{\"x\":164.35052570087606,\"y\":-17.252879506132672,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"104\":{\"reset\":{\"__isSmartRef__\":true,\"id\":105}},\"105\":{\"time\":{\"__isSmartRef__\":true,\"id\":106},\"user\":\"lauritz\"},\"106\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:03:51 GMT+0100 (CET)\"},\"107\":{\"reset\":{\"__isSmartRef__\":true,\"id\":108}},\"108\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":109},\"source\":\"function reset() {\\n this.doitContext = null;\\n this.setTextString(\\\"\\\");\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":110},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"109\":{\"this\":{\"__isSmartRef__\":true,\"id\":88}},\"110\":{},\"111\":{\"position\":{\"__isSmartRef__\":true,\"id\":112},\"_Extent\":{\"__isSmartRef__\":true,\"id\":113},\"_BorderWidth\":1.4500000000000002,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":114},\"_Fill\":{\"__isSmartRef__\":true,\"id\":115},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":116},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":117},\"_BorderRadius\":0,\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"112\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"113\":{\"x\":310.8398611920343,\"y\":399.4718889536274,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"114\":{\"r\":0.372,\"g\":0.369,\"b\":0.372,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"115\":{\"r\":1,\"g\":1,\"b\":1,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"116\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"117\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"118\":{\"x\":0,\"y\":20,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"119\":{\"partsSpaceName\":\"PartsBin/Basic\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!\",\"migrationLevel\":4,\"partName\":\"ExplorerPane\",\"changes\":[{\"__isSmartRef__\":true,\"id\":120}],\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"120\":{\"date\":{\"__isSmartRef__\":true,\"id\":121},\"author\":\"lauritz\",\"message\":\"Disabled grabbing and dragging on other submorphs as well...\"},\"121\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 20:21:08 GMT+0200 (CEST)\"},\"122\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"123\":{\"morph\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"124\":{\"x\":306.8398611920343,\"y\":397.4718889536274,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"125\":{\"x\":212.32023310549857,\"y\":-12.472093186624761,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"126\":{\"resizeWidth\":true,\"resizeHeight\":true,\"adjustForNewBounds\":true,\"layouter\":{\"__isSmartRef__\":true,\"id\":127}},\"127\":{\"defaultBorderSize\":10,\"defaultSpacing\":15,\"borderSize\":10,\"spacing\":15,\"container\":{\"__isSmartRef__\":true,\"id\":1},\"__SourceModuleName__\":\"Global.lively.morphic.Layout\",\"__LivelyClassName__\":\"lively.morphic.Layout.VerticalLayout\"},\"128\":{\"reset\":{\"__isSmartRef__\":true,\"id\":129},\"moveFocusTo\":{\"__isSmartRef__\":true,\"id\":133},\"explore\":{\"__isSmartRef__\":true,\"id\":137},\"toggleAll\":{\"__isSmartRef__\":true,\"id\":141}},\"129\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":130},\"source\":\"function reset() {\\n this.workspace.reset();\\n this.treeView.reset();\\n this.focusedNode = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":131},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"130\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"131\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":132},\"user\":\"lauritz\",\"tags\":[]},\"132\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 01:48:08 GMT+0200 (CEST)\"},\"133\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":134},\"source\":\"function moveFocusTo(focusedNode) {\\n\\n // set workspace context\\n var previouslyFocusedNode = this.focusedNode;\\n this.focusedNode = focusedNode;\\n this.workspace.doitContext = this.focusedNode.data;\\n\\n // display focus\\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \\n previouslyFocusedNode.text.setFill(null);\\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\\n this.focusedNode.expander.toggle();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":135},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"134\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"135\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":136},\"user\":\"lauritz\",\"tags\":[]},\"136\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 23:21:02 GMT+0100 (CET)\"},\"137\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":138},\"source\":\"function explore(object) {\\n this.reset();\\n this.treeView.renderTree(object);\\n\\n this.moveFocusTo(this.treeView.rootNode);\\n this.workspace.setTextString(\\\"this\\\");\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":139},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"138\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"139\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":140},\"user\":\"lauritz\",\"tags\":[]},\"140\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 23:21:07 GMT+0100 (CET)\"},\"141\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":142},\"source\":\"function toggleAll() {\\n this.treeView.toggleAll();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":143},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"142\":{\"this\":{\"__isSmartRef__\":true,\"id\":1}},\"143\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":144},\"user\":\"lauritz\",\"tags\":[]},\"144\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:40:54 GMT+0100 (CET)\"},\"145\":{\"submorphs\":[],\"scripts\":[],\"id\":\"4C05283E-F381-40A9-9AEF-6D6D233F85FF\",\"shape\":{\"__isSmartRef__\":true,\"id\":146},\"droppingEnabled\":true,\"halosEnabled\":true,\"registeredForMouseEvents\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":153},\"showsHalos\":false,\"name\":\"ResizeCorner3\",\"partsBinMetaInfo\":{\"__isSmartRef__\":true,\"id\":154},\"__SourceModuleName__\":\"Global.lively.morphic.Core\",\"__layered_draggingEnabled__\":true,\"dragStartPoint\":null,\"originalExtent\":{\"__isSmartRef__\":true,\"id\":155},\"originalTargetExtent\":null,\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":156},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":157},\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":158},\"distanceToDragEvent\":{\"__isSmartRef__\":true,\"id\":159},\"derivationIds\":[373,\"EE44AF79-9BA3-4128-9A82-23CA02A35CBA\",\"2DF62558-574F-4341-A678-C082E7B62474\",\"0B40BDFA-37E3-4097-9157-BE8CCF94B0A1\",\"3600D2AA-3070-493B-839E-BF41427E5A08\",\"B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE\"],\"_Rotation\":0,\"_Scale\":1,\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":160},\"__LivelyClassName__\":\"lively.morphic.Box\"},\"146\":{\"position\":{\"__isSmartRef__\":true,\"id\":147},\"_Extent\":{\"__isSmartRef__\":true,\"id\":148},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":149},\"_Fill\":{\"__isSmartRef__\":true,\"id\":150},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":151},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":152},\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"147\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"148\":{\"x\":10,\"y\":10,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"149\":{\"r\":0.568,\"g\":0.568,\"b\":0.568,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"150\":{\"r\":0.258,\"g\":0.258,\"b\":0.258,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"151\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"152\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"153\":{\"x\":300.49672894514134,\"y\":409.92138184230294,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"154\":{\"partsSpaceName\":\"PartsBin/NewWorld\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"migrationLevel\":2,\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"155\":{\"x\":239,\"y\":138,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"156\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"157\":{\"morph\":{\"__isSmartRef__\":true,\"id\":145},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"158\":{\"x\":10,\"y\":10,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"159\":{\"x\":33.337083585580785,\"y\":-5.721794364406264,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"160\":{\"onDrag\":{\"__isSmartRef__\":true,\"id\":161},\"onDragEnd\":{\"__isSmartRef__\":true,\"id\":168},\"onDragStart\":{\"__isSmartRef__\":true,\"id\":175}},\"161\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":162},\"source\":\"function onDrag(evt) {\\n\\t// alert(\\\"onDrag\\\")\\n\\t\\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\\n\\t\\tif (evt.isShiftDown()) {\\n\\t\\t\\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\\n\\t\\t\\tmoveDelta = pt(maxDelta, maxDelta);\\n\\t\\t}\\n\\t\\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\\n\\t\\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":167},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"162\":{\"this\":{\"__isSmartRef__\":true,\"id\":145},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":163}},\"163\":{\"$super\":{\"__isSmartRef__\":true,\"id\":164}},\"164\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":165},\"source\":\"function () {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\treturn obj.constructor.prototype[name].apply(obj, arguments)\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\talert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":166},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"165\":{\"obj\":{\"__isSmartRef__\":true,\"id\":145},\"name\":\"onDrag\"},\"166\":{},\"167\":{},\"168\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":169},\"source\":\"function onDragEnd(evt) {\\n\\tthis.dragStartPoint = null;\\n\\tthis.originalTargetExtent = null;\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":174},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"169\":{\"this\":{\"__isSmartRef__\":true,\"id\":145},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":170}},\"170\":{\"$super\":{\"__isSmartRef__\":true,\"id\":171}},\"171\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":172},\"source\":\"function () {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\treturn obj.constructor.prototype[name].apply(obj, arguments)\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\talert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":173},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"172\":{\"obj\":{\"__isSmartRef__\":true,\"id\":145},\"name\":\"onDragEnd\"},\"173\":{},\"174\":{},\"175\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":176},\"source\":\"function onDragStart(evt) {\\n\\tthis.dragStartPoint = evt.mousePoint;\\n\\tthis.originalTargetExtent = this.owner.getExtent();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":181},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"176\":{\"this\":{\"__isSmartRef__\":true,\"id\":145},\"__serializedLivelyClosures__\":{\"__isSmartRef__\":true,\"id\":177}},\"177\":{\"$super\":{\"__isSmartRef__\":true,\"id\":178}},\"178\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":179},\"source\":\"function () {\\n\\t\\t\\t\\ttry {\\n\\t\\t\\t\\t\\treturn obj.constructor.prototype[name].apply(obj, arguments)\\n\\t\\t\\t\\t} catch(e) {\\n\\t\\t\\t\\t\\talert('Error in $super call: ' + e + '\\\\n' + e.stack);\\n\\t\\t\\t\\t\\treturn null;\\n\\t\\t\\t\\t}\\n\\t\\t\\t}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":180},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"179\":{\"obj\":{\"__isSmartRef__\":true,\"id\":145},\"name\":\"onDragStart\"},\"180\":{},\"181\":{},\"182\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":183},{\"__isSmartRef__\":true,\"id\":197},{\"__isSmartRef__\":true,\"id\":244},{\"__isSmartRef__\":true,\"id\":279}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":315},\"id\":\"8EADAC43-54B0-4FAC-AF1C-A0D8FDD9E3CA\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":326},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":327},\"droppingEnabled\":true,\"halosEnabled\":true,\"layout\":{\"__isSmartRef__\":true,\"id\":328},\"_Position\":{\"__isSmartRef__\":true,\"id\":329},\"windowMorph\":{\"__isSmartRef__\":true,\"id\":0},\"label\":{\"__isSmartRef__\":true,\"id\":183},\"closeButton\":{\"__isSmartRef__\":true,\"id\":197},\"menuButton\":{\"__isSmartRef__\":true,\"id\":244},\"collapseButton\":{\"__isSmartRef__\":true,\"id\":279},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":330},\"owner\":{\"__isSmartRef__\":true,\"id\":0},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[374,\"CFE848EF-BE01-4E69-BBD0-796826FDBA2C\",\"27B1F973-A4A1-49ED-8194-15A2125092E5\",\"1AAC1E25-BFD3-4949-82B7-CA49C7FE30CC\",\"AAFC6ADC-565B-42D5-B95A-49BB4FAE6F07\",\"AA057279-ADDD-4D59-9A0A-E86FD7D21BE6\"],\"__LivelyClassName__\":\"lively.morphic.TitleBar\"},\"183\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":184},\"id\":\"F8F2EE4C-88F2-4D50-ABC7-1F747DC646BB\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":190},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":191}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":193},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":10,\"evalEnabled\":false,\"isLabel\":true,\"_HandStyle\":\"default\",\"layout\":{\"__isSmartRef__\":true,\"id\":194},\"_Align\":\"center\",\"eventsAreIgnored\":true,\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":195},\"_MaxTextWidth\":251.49672894514134,\"_MinTextWidth\":251.49672894514134,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"_Position\":{\"__isSmartRef__\":true,\"id\":196},\"showsHalos\":false,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[375,\"73673BCB-A91C-4ECA-A36D-D85A24B4F4A3\",\"2EE1A4B9-842D-4C63-ABEA-21DC74163CEE\",\"3F973521-D5D9-4B44-BCF8-822B923644E8\",\"F50BD739-1DA1-4EB3-9653-7B3145EA8817\",\"A7AE88A1-BD5C-4F03-9E65-373F047B2C25\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"184\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":185},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":186},\"_Extent\":{\"__isSmartRef__\":true,\"id\":187},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":188},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"_BorderRadius\":0,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"185\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"186\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"187\":{\"x\":251.49672894514134,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"188\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"189\":{\"r\":0,\"g\":0,\"b\":0,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"190\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"191\":{\"style\":{\"__isSmartRef__\":true,\"id\":192},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":183},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"Explorer\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"192\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"193\":{\"morph\":{\"__isSmartRef__\":true,\"id\":183},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"194\":{\"resizeWidth\":true},\"195\":{\"x\":251.49672894514134,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"196\":{\"x\":20,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"197\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":198}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":210},\"id\":\"B048691C-3D91-4A6E-B21D-2AF0EB3E85C7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":226},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":227},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":228},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":229},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":216},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":230},\"label\":{\"__isSmartRef__\":true,\"id\":198},\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"layout\":{\"__isSmartRef__\":true,\"id\":239},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":240},{\"__isSmartRef__\":true,\"id\":242}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[376,\"C3AC01F3-7977-4D0A-A42C-700DE29F8F8E\",\"A9533421-3987-49B1-B8FE-11D3B48B77B3\",\"EC79C6DC-0809-4378-8061-032B4DD2D496\",\"4DB70E9E-760D-401A-9BAD-25367B78CF72\",\"1DC03620-BC8A-47EC-978A-2036FF929A8A\"],\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"198\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":199},\"id\":\"198CEAEE-A3BF-4CED-8D10-C86583D458D7\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":204},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":205}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":207},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":208},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":209},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":197},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[377,\"C621D837-4DB4-4C83-A8C9-1C995944A45D\",\"BCB8C9A6-BD1A-49F5-8BDD-7C6C8BFB840C\",\"9AA4F44C-9D66-4990-B0E2-2998FC750C65\",\"E136552C-1013-430B-8229-122AA2720D75\",\"D343D9D5-BB6B-471C-89FD-977D04A54C18\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"199\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":200},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":201},\"_Extent\":{\"__isSmartRef__\":true,\"id\":202},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":203},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"200\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"201\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"202\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"203\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"204\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"205\":{\"style\":{\"__isSmartRef__\":true,\"id\":206},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":198},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"X\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"206\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"207\":{\"morph\":{\"__isSmartRef__\":true,\"id\":198},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"208\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"209\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"210\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":211},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":212},\"_Extent\":{\"__isSmartRef__\":true,\"id\":213},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":214},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":215},\"_Fill\":{\"__isSmartRef__\":true,\"id\":216},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"211\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"212\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"213\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"214\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"215\":{\"r\":0.7411764705882353,\"g\":0.7450980392156863,\"b\":0.7529411764705882,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"216\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":217},{\"__isSmartRef__\":true,\"id\":219},{\"__isSmartRef__\":true,\"id\":221},{\"__isSmartRef__\":true,\"id\":223}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"217\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":218}},\"218\":{\"r\":0.9600000000000001,\"g\":0.9600000000000001,\"b\":0.9600000000000001,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"219\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":220}},\"220\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"221\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":222}},\"222\":{\"r\":0.8200000000000001,\"g\":0.8200000000000001,\"b\":0.8200000000000001,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"223\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":224}},\"224\":{\"r\":0.94,\"g\":0.94,\"b\":0.94,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"225\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"226\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"227\":{\"morph\":{\"__isSmartRef__\":true,\"id\":197},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"228\":{\"x\":290.49672894514134,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"229\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"230\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":231},{\"__isSmartRef__\":true,\"id\":233},{\"__isSmartRef__\":true,\"id\":235},{\"__isSmartRef__\":true,\"id\":237}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"231\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":232}},\"232\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"233\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":234}},\"234\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"235\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":236}},\"236\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"237\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":238}},\"238\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"239\":{\"moveHorizontal\":true},\"240\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":197},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getCloseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":241},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"241\":{\"source\":{\"__isSmartRef__\":true,\"id\":197},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"242\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":197},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"initiateShutdown\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":243},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"243\":{\"source\":{\"__isSmartRef__\":true,\"id\":197},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"244\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":245}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":257},\"id\":\"62DA4EDF-FBE4-4D01-834D-C3E763CF55DE\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":262},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":263},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":264},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":265},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":216},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":266},\"label\":{\"__isSmartRef__\":true,\"id\":245},\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":275},{\"__isSmartRef__\":true,\"id\":277}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"prevScroll\":[0,0],\"derivationIds\":[378,\"FF4FE4CA-DFFC-40C6-A1E8-32667E37F3EC\",\"A8A6A338-D618-4672-AFA8-914FD7C2A19E\",\"85D2A7A2-F0B5-45CD-BB83-E6F60E8B681C\",\"535E0653-E19D-4F22-952A-34C8EDED44E9\",\"977A1381-981C-4500-B887-78143DE21406\"],\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"245\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":246},\"id\":\"353D5A24-E404-457D-93C4-BC195B094724\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":251},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":252}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":254},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":255},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":256},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":244},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"prevScroll\":[0,0],\"derivationIds\":[379,\"9C08820E-6B60-44C2-9150-BD546391671F\",\"36F5662C-375A-4549-B94E-F150DCBCE3F8\",\"030ACD5E-7567-45E7-928D-24821846DBD3\",\"B1DB7B8C-99F5-44D9-8312-ADD58545154E\",\"9037A2C8-C56D-4C9B-B2B6-FFEBD4CFC0B0\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"246\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":247},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":248},\"_Extent\":{\"__isSmartRef__\":true,\"id\":249},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":250},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"247\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"248\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"249\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"250\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"251\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"252\":{\"style\":{\"__isSmartRef__\":true,\"id\":253},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":245},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"M\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"253\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"254\":{\"morph\":{\"__isSmartRef__\":true,\"id\":245},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"255\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"256\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"257\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":258},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":259},\"_Extent\":{\"__isSmartRef__\":true,\"id\":260},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":261},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":215},\"_Fill\":{\"__isSmartRef__\":true,\"id\":216},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"258\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"259\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"260\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"261\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"262\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"263\":{\"morph\":{\"__isSmartRef__\":true,\"id\":244},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"264\":{\"x\":3,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"265\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"266\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":267},{\"__isSmartRef__\":true,\"id\":269},{\"__isSmartRef__\":true,\"id\":271},{\"__isSmartRef__\":true,\"id\":273}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"267\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":268}},\"268\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"269\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":270}},\"270\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"271\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":272}},\"272\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"273\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":274}},\"274\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"275\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":244},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getMenuHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":276},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"276\":{\"source\":{\"__isSmartRef__\":true,\"id\":244},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"277\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":244},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"showTargetMorphMenu\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":278},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"278\":{\"source\":{\"__isSmartRef__\":true,\"id\":244},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"279\":{\"submorphs\":[{\"__isSmartRef__\":true,\"id\":280}],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":292},\"id\":\"B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":297},\"eventHandler\":{\"__isSmartRef__\":true,\"id\":298},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"accessibleInInactiveWindow\":true,\"_Position\":{\"__isSmartRef__\":true,\"id\":299},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":300},\"value\":false,\"toggle\":false,\"isActive\":true,\"normalFill\":{\"__isSmartRef__\":true,\"id\":216},\"lighterFill\":{\"__isSmartRef__\":true,\"id\":301},\"label\":{\"__isSmartRef__\":true,\"id\":280},\"owner\":{\"__isSmartRef__\":true,\"id\":182},\"layout\":{\"__isSmartRef__\":true,\"id\":310},\"attributeConnections\":[{\"__isSmartRef__\":true,\"id\":311},{\"__isSmartRef__\":true,\"id\":313}],\"doNotSerialize\":[\"$$getHelpText\",\"$$fire\"],\"doNotCopyProperties\":[\"$$getHelpText\",\"$$fire\"],\"__SourceModuleName__\":\"Global.lively.morphic.Widgets\",\"derivationIds\":[380,\"B603C6F6-E6E9-4618-BF46-1521ADDE21FE\",\"7D67707D-A36A-46C7-AF4E-DBA063259CD8\",\"0CE8DB38-9500-4B3D-BA30-191E72ABDE7C\",\"9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC\",\"27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744\"],\"__LivelyClassName__\":\"lively.morphic.WindowControl\"},\"280\":{\"submorphs\":[],\"scripts\":[],\"shape\":{\"__isSmartRef__\":true,\"id\":281},\"id\":\"40913CEC-D4ED-4CA1-97B2-858D96CDC1F3\",\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":286},\"_WhiteSpaceHandling\":\"pre-wrap\",\"textChunks\":[{\"__isSmartRef__\":true,\"id\":287}],\"eventHandler\":{\"__isSmartRef__\":true,\"id\":289},\"grabbingEnabled\":false,\"droppingEnabled\":false,\"halosEnabled\":true,\"_ClipMode\":\"hidden\",\"fixedWidth\":true,\"fixedHeight\":true,\"allowInput\":false,\"_FontFamily\":\"Helvetica\",\"_FontSize\":8,\"_Position\":{\"__isSmartRef__\":true,\"id\":290},\"priorExtent\":{\"__isSmartRef__\":true,\"id\":291},\"_MaxTextWidth\":17,\"_MinTextWidth\":17,\"_MaxTextHeight\":null,\"_MinTextHeight\":null,\"evalEnabled\":false,\"owner\":{\"__isSmartRef__\":true,\"id\":279},\"isLabel\":true,\"_HandStyle\":\"default\",\"_Align\":\"center\",\"eventsAreIgnored\":true,\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"attributeConnections\":[],\"doNotSerialize\":[],\"doNotCopyProperties\":[],\"derivationIds\":[381,\"B48F0AA9-A9AE-4316-865F-D969FFFD4C87\",\"3CE2E949-41E5-4680-ADB0-8AF865F87CA7\",\"C865C749-7005-416E-B5A2-0FB224AB308E\",\"CAED6589-594E-438B-ADB7-264F9B9D92B0\",\"A391E593-03B1-4FDA-B6B3-978336437357\"],\"__LivelyClassName__\":\"lively.morphic.Text\"},\"281\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":282},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":283},\"_Extent\":{\"__isSmartRef__\":true,\"id\":284},\"_ClipMode\":\"hidden\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":285},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":189},\"_Fill\":null,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"282\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"283\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"284\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"285\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"286\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\",\"updateText\":\"updateTextHTML\",\"setTextExtent\":\"setTextExtentHTML\",\"setMaxTextWidth\":\"setMaxTextWidthHTML\",\"setMaxTextHeight\":\"setMaxTextHeightHTML\",\"setMinTextWidth\":\"setMinTextWidthHTML\",\"setMinTextHeight\":\"setMinTextHeightHTML\",\"getTextExtent\":\"getTextExtentHTML\",\"getTextString\":\"getTextStringHTML\",\"ignoreTextEvents\":\"ignoreTextEventsHTML\",\"unignoreTextEvents\":\"unignoreTextEventsHTML\",\"enableTextEvents\":\"enableTextEventsHTML\",\"setFontFamily\":\"setFontFamilyHTML\",\"setFontSize\":\"setFontSizeHTML\",\"setTextColor\":\"setTextColorHTML\",\"setPadding\":\"setPaddingHTML\",\"setAlign\":\"setAlignHTML\",\"setVerticalAlign\":\"setVerticalAlignHTML\",\"setDisplay\":\"setDisplayHTML\",\"setWhiteSpaceHandling\":\"setWhiteSpaceHandlingHTML\",\"focusMorph\":\"focusMorphHTML\"},\"287\":{\"style\":{\"__isSmartRef__\":true,\"id\":288},\"chunkOwner\":{\"__isSmartRef__\":true,\"id\":280},\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"storedString\":\"–\",\"__LivelyClassName__\":\"lively.morphic.TextChunk\"},\"288\":{\"__SourceModuleName__\":\"Global.lively.morphic.TextCore\",\"__LivelyClassName__\":\"lively.morphic.TextEmphasis\"},\"289\":{\"morph\":{\"__isSmartRef__\":true,\"id\":280},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"290\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"291\":{\"x\":17,\"y\":17,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"292\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":293},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":294},\"_Extent\":{\"__isSmartRef__\":true,\"id\":295},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":296},\"_BorderWidth\":0,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":215},\"_Fill\":{\"__isSmartRef__\":true,\"id\":216},\"_StrokeOpacity\":0,\"_BorderRadius\":5,\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"293\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"294\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"295\":{\"x\":17,\"y\":17,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"296\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"297\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"298\":{\"morph\":{\"__isSmartRef__\":true,\"id\":279},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"299\":{\"x\":271.49672894514134,\"y\":3,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"300\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"301\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":302},{\"__isSmartRef__\":true,\"id\":304},{\"__isSmartRef__\":true,\"id\":306},{\"__isSmartRef__\":true,\"id\":308}],\"vector\":{\"__isSmartRef__\":true,\"id\":225},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.LinearGradient\"},\"302\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":303}},\"303\":{\"r\":0.98,\"g\":0.98,\"b\":0.98,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"304\":{\"offset\":0.4,\"color\":{\"__isSmartRef__\":true,\"id\":305}},\"305\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"306\":{\"offset\":0.6,\"color\":{\"__isSmartRef__\":true,\"id\":307}},\"307\":{\"r\":0.91,\"g\":0.91,\"b\":0.91,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"308\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":309}},\"309\":{\"r\":0.97,\"g\":0.97,\"b\":0.97,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"310\":{\"moveHorizontal\":true},\"311\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":279},\"sourceAttrName\":\"getHelpText\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"getCollapseHelp\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":312},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"312\":{\"source\":{\"__isSmartRef__\":true,\"id\":279},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"313\":{\"sourceObj\":{\"__isSmartRef__\":true,\"id\":279},\"sourceAttrName\":\"fire\",\"targetObj\":{\"__isSmartRef__\":true,\"id\":0},\"targetMethodName\":\"toggleCollapse\",\"converter\":null,\"converterString\":null,\"updater\":null,\"updaterString\":null,\"varMapping\":{\"__isSmartRef__\":true,\"id\":314},\"__SourceModuleName__\":\"Global.lively.bindings\",\"__LivelyClassName__\":\"AttributeConnection\"},\"314\":{\"source\":{\"__isSmartRef__\":true,\"id\":279},\"target\":{\"__isSmartRef__\":true,\"id\":0}},\"315\":{\"_Position\":{\"__isSmartRef__\":true,\"id\":316},\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":317},\"_Extent\":{\"__isSmartRef__\":true,\"id\":318},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":319},\"_BorderWidth\":1,\"_BorderColor\":{\"__isSmartRef__\":true,\"id\":320},\"_Fill\":{\"__isSmartRef__\":true,\"id\":321},\"_StrokeOpacity\":1,\"_BorderRadius\":\"8px 8px 0px 0px\",\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"316\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"317\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"318\":{\"x\":310.49672894514134,\"y\":22,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"319\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"320\":{\"r\":0.4,\"g\":0.4,\"b\":0.4,\"a\":1,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Color\"},\"321\":{\"stops\":[{\"__isSmartRef__\":true,\"id\":322},{\"__isSmartRef__\":true,\"id\":323}],\"vector\":{\"__isSmartRef__\":true,\"id\":325},\"__LivelyClassName__\":\"lively.morphic.LinearGradient\",\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\"},\"322\":{\"offset\":0,\"color\":{\"__isSmartRef__\":true,\"id\":20}},\"323\":{\"offset\":1,\"color\":{\"__isSmartRef__\":true,\"id\":324}},\"324\":{\"r\":0.6400000000000001,\"g\":0.6400000000000001,\"b\":0.6400000000000001,\"a\":1,\"__LivelyClassName__\":\"Color\",\"__SourceModuleName__\":\"Global\"},\"325\":{\"x\":0,\"y\":0,\"width\":0,\"height\":1,\"__LivelyClassName__\":\"Rectangle\",\"__SourceModuleName__\":\"Global\"},\"326\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"327\":{\"morph\":{\"__isSmartRef__\":true,\"id\":182},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"328\":{\"resizeWidth\":true,\"adjustForNewBounds\":true},\"329\":{\"x\":0,\"y\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"330\":{\"x\":310.49672894514134,\"y\":22,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"331\":{\"renderContextTable\":{\"__isSmartRef__\":true,\"id\":332},\"_ClipMode\":\"visible\",\"_Padding\":{\"__isSmartRef__\":true,\"id\":333},\"_BorderWidth\":0,\"_Fill\":null,\"_StrokeOpacity\":0,\"_BorderRadius\":0,\"_Extent\":{\"__isSmartRef__\":true,\"id\":334},\"__SourceModuleName__\":\"Global.lively.morphic.Shapes\",\"_Opacity\":1,\"_BorderStyle\":\"solid\",\"__LivelyClassName__\":\"lively.morphic.Shapes.Rectangle\"},\"332\":{\"init\":\"initHTML\",\"appendShape\":\"renderHTML\",\"setPosition\":\"setPositionHTML\",\"setExtent\":\"setExtentHTML\",\"setPadding\":\"setPaddingHTML\",\"setFill\":\"setFillHTML\",\"setBorderColor\":\"setBorderColorHTML\",\"setBorderWidth\":\"setBorderWidthHTML\",\"setStrokeOpacity\":\"setStrokeOpacityHTML\",\"setBorderRadius\":\"setBorderRadiusHTML\",\"setBorderStyle\":\"setBorderStyleHTML\",\"setOpacity\":\"setOpacityHTML\",\"setClipMode\":\"setClipModeHTML\"},\"333\":{\"x\":0,\"y\":0,\"width\":0,\"height\":0,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Rectangle\"},\"334\":{\"x\":310.49672894514134,\"y\":419.92138184230294,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"335\":{\"replaceRenderContext\":\"replaceRenderContextHTML\",\"init\":\"initHTML\",\"append\":\"appendHTML\",\"remove\":\"removeHTML\",\"triggerEvent\":\"triggerEventHTML\",\"setTransform\":\"setTransformHTML\",\"setPosition\":\"setPositionHTML\",\"setRotation\":\"setRotationHTML\",\"setExtent\":\"setExtentHTML\",\"setScale\":\"setScaleHTML\",\"setVisible\":\"setVisibleHTML\",\"adjustOrigin\":\"adjustOriginHTML\",\"setPivotPoint\":\"setPivotPointHTML\",\"setClipMode\":\"setClipModeHTML\",\"showsVerticalScrollBar\":\"showsVerticalScrollBarHTML\",\"showsHorizontalScrollBar\":\"showsHorizontalScrollBarHTML\",\"getScrollBarExtent\":\"getScrollBarExtentHTML\",\"setHandStyle\":\"setHandStyleHTML\",\"setPointerEvents\":\"setPointerEventsHTML\",\"setToolTip\":\"setToolTipHTML\",\"focus\":\"focusHTML\",\"blur\":\"blurHTML\",\"setFocusable\":\"setFocusableHTML\"},\"336\":{\"morph\":{\"__isSmartRef__\":true,\"id\":0},\"__SourceModuleName__\":\"Global.lively.morphic.Events\",\"__LivelyClassName__\":\"lively.morphic.EventHandler\"},\"337\":{\"adjustForNewBounds\":true},\"338\":{\"x\":0,\"y\":0,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"339\":{\"x\":310.49672894514134,\"y\":419.92138184230294,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"340\":{\"x\":0,\"y\":21,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"341\":{\"partsSpaceName\":\"PartsBin/Tools\",\"__SourceModuleName__\":\"Global.lively.PartsBin\",\"comment\":\"Displays object properties and provides a workspace. The workspace's context is set to the last clicked element.\",\"migrationLevel\":4,\"partName\":\"Explorer\",\"changes\":[{\"__isSmartRef__\":true,\"id\":342},{\"__isSmartRef__\":true,\"id\":344},{\"__isSmartRef__\":true,\"id\":346},{\"__isSmartRef__\":true,\"id\":348},{\"__isSmartRef__\":true,\"id\":350},{\"__isSmartRef__\":true,\"id\":352},{\"__isSmartRef__\":true,\"id\":354},{\"__isSmartRef__\":true,\"id\":356},{\"__isSmartRef__\":true,\"id\":358},{\"__isSmartRef__\":true,\"id\":360},{\"__isSmartRef__\":true,\"id\":362},{\"__isSmartRef__\":true,\"id\":364},{\"__isSmartRef__\":true,\"id\":366},{\"__isSmartRef__\":true,\"id\":368},{\"__isSmartRef__\":true,\"id\":370},{\"__isSmartRef__\":true,\"id\":372},{\"__isSmartRef__\":true,\"id\":374},{\"__isSmartRef__\":true,\"id\":376},{\"__isSmartRef__\":true,\"id\":378},{\"__isSmartRef__\":true,\"id\":380},{\"__isSmartRef__\":true,\"id\":382},{\"__isSmartRef__\":true,\"id\":384}],\"__LivelyClassName__\":\"lively.PartsBin.PartsBinMetaInfo\"},\"342\":{\"date\":{\"__isSmartRef__\":true,\"id\":343},\"author\":\"lauritz\",\"message\":\"\",\"id\":\"41FC1B0F-23FC-4454-A424-F141A1C09663\"},\"343\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:46:05 GMT+0100 (CET)\"},\"344\":{\"date\":{\"__isSmartRef__\":true,\"id\":345},\"author\":\"lauritz\",\"message\":\"added >>expandAllNodes() which can expand complete trees, but not graphs.\",\"id\":\"60178F3F-BA87-45A8-BD26-CF776AC017A7\"},\"345\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:33:39 GMT+0100 (CET)\"},\"346\":{\"date\":{\"__isSmartRef__\":true,\"id\":347},\"author\":\"lauritz\",\"message\":\"decreased width a bit\",\"id\":\"837B2170-C0B8-4FA1-99D3-D6A1EB465519\"},\"347\":{\"isSerializedDate\":true,\"string\":\"Sat Dec 03 2011 00:36:19 GMT+0100 (CET)\"},\"348\":{\"date\":{\"__isSmartRef__\":true,\"id\":349},\"author\":\"lauritz\",\"message\":\"made expanding loop asynchronous\",\"id\":\"5DFF88BC-08E6-43BD-B5B1-A9E8C93C7B19\"},\"349\":{\"isSerializedDate\":true,\"string\":\"Wed Nov 30 2011 23:23:19 GMT+0100 (CET)\"},\"350\":{\"date\":{\"__isSmartRef__\":true,\"id\":351},\"author\":\"lauritz\",\"message\":\"corrected toggling\",\"id\":\"BFC57057-2596-42D0-89A1-811C34FCF5E1\"},\"351\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 22 2011 22:44:25 GMT+0100 (CET)\"},\"352\":{\"date\":{\"__isSmartRef__\":true,\"id\":353},\"author\":\"lauritz\",\"message\":\"set a minimal extent\",\"id\":\"D1DCDCB8-84EE-48D9-8AAE-3926E9D97D30\"},\"353\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:39:16 GMT+0100 (CET)\"},\"354\":{\"date\":{\"__isSmartRef__\":true,\"id\":355},\"author\":\"lauritz\",\"message\":\"convenience preset by default: tree is expanded, workspace says \\\"this\\\"\",\"id\":\"D364A417-6014-4266-8DF3-CEA313F15793\"},\"355\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:18:29 GMT+0100 (CET)\"},\"356\":{\"date\":{\"__isSmartRef__\":true,\"id\":357},\"author\":\"lauritz\",\"message\":\"Disabled grabbing and dragging on other morphs as well.\"},\"357\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 20:23:10 GMT+0200 (CEST)\"},\"358\":{\"date\":{\"__isSmartRef__\":true,\"id\":359},\"author\":\"lauritz\",\"message\":\"Disabled dragging and grabbing on tree nodes. Those should only be clickable.\"},\"359\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 19:25:14 GMT+0200 (CEST)\"},\"360\":{\"date\":{\"__isSmartRef__\":true,\"id\":361},\"author\":\"lauritz\",\"message\":\"Fixed a bug by adding a condition to getClassNameOf. In case an object has no constructor.\"},\"361\":{\"isSerializedDate\":true,\"string\":\"Tue Oct 25 2011 22:37:11 GMT+0200 (CEST)\"},\"362\":{\"date\":{\"__isSmartRef__\":true,\"id\":363},\"author\":\"jenslincke\",\"message\":\"reset scales\",\"id\":\"5E64592A-C360-44DD-BDAE-AD956FBA7675\"},\"363\":{\"isSerializedDate\":true,\"string\":\"Fri Oct 28 2011 16:11:21 GMT+0200 (CEST)\"},\"364\":{\"date\":{\"__isSmartRef__\":true,\"id\":365},\"author\":\"jenslincke\",\"message\":\"bring resize corner to front\",\"id\":\"765AA8A1-AA38-433A-B800-FFF743B3B9EF\"},\"365\":{\"isSerializedDate\":true,\"string\":\"Thu Nov 03 2011 16:10:26 GMT+0100 (CET)\"},\"366\":{\"date\":{\"__isSmartRef__\":true,\"id\":367},\"author\":\"lauritz\",\"message\":\"layout changes\",\"id\":\"F09F5196-5203-405A-8EC3-1648A100FFF5\"},\"367\":{\"isSerializedDate\":true,\"string\":\"Fri Nov 18 2011 23:54:38 GMT+0100 (CET)\"},\"368\":{\"date\":{\"__isSmartRef__\":true,\"id\":369},\"author\":\"lauritz\",\"message\":\"corrected the order of array elements\",\"id\":\"B41E19A0-DDED-40DC-BD23-6AB94F76D76D\"},\"369\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 22 2011 23:44:29 GMT+0100 (CET)\"},\"370\":{\"date\":{\"__isSmartRef__\":true,\"id\":371},\"author\":\"fbo\",\"message\":\"fix Date bug\",\"id\":\"64EDCB63-EB39-477E-A73D-E066101A8B21\"},\"371\":{\"isSerializedDate\":true,\"string\":\"Sat Dec 03 2011 00:07:10 GMT+0100 (CET)\"},\"372\":{\"date\":{\"__isSmartRef__\":true,\"id\":373},\"author\":\"lauritz\",\"message\":\"significantly reduced a performance problem regarding \\\"long\\\" string properties, doesnt freeze anymore.\",\"id\":\"EA85DB22-3FD3-4D13-B769-763C4483C445\"},\"373\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 06 2011 00:55:19 GMT+0100 (CET)\"},\"374\":{\"date\":{\"__isSmartRef__\":true,\"id\":375},\"author\":\"lauritz\",\"message\":\"clicking a node no longer resets the workspace content\",\"id\":\"C8AE0678-08F5-4FFB-9662-77D7120DA285\"},\"375\":{\"isSerializedDate\":true,\"string\":\"Tue Dec 13 2011 23:22:10 GMT+0100 (CET)\"},\"376\":{\"date\":{\"__isSmartRef__\":true,\"id\":377},\"author\":\"lauritz\",\"message\":\"renamed >>#expandAllNodes to >>#toggleAll\",\"id\":\"D9931ABA-396B-4C81-9C7E-7C2712405803\"},\"377\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:41:44 GMT+0100 (CET)\"},\"378\":{\"date\":{\"__isSmartRef__\":true,\"id\":379},\"author\":\"lauritz\",\"message\":\"asynchronous >>#toggleAll, because toggling is actually asynchronous and rendering as well...\",\"id\":\"3B15F99C-CFD6-41FA-9778-D2BFBBD53B8D\"},\"379\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:58:54 GMT+0100 (CET)\"},\"380\":{\"date\":{\"__isSmartRef__\":true,\"id\":381},\"author\":\"lauritz\",\"message\":\"cleaned up how all typeof stuff\",\"id\":\"98CD54B3-3527-4C4C-8577-A0B7476D8718\"},\"381\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:31:53 GMT+0100 (CET)\"},\"382\":{\"date\":{\"__isSmartRef__\":true,\"id\":383},\"author\":\"lauritz\",\"message\":\"\",\"id\":\"183BD443-7A32-4E3B-8F6B-96473B0C4CB7\"},\"383\":{\"isSerializedDate\":true,\"string\":\"Fri Jan 27 2012 02:35:42 GMT+0100 (CET)\"},\"384\":{\"date\":{\"__isSmartRef__\":true,\"id\":385},\"author\":\"jenslincke\",\"message\":\"style tweak\",\"id\":\"C366B53C-40DC-445D-B882-F5F147CD349F\"},\"385\":{\"isSerializedDate\":true,\"string\":\"Mon Jan 30 2012 14:04:58 GMT+0100 (CET)\"},\"386\":{\"x\":706,\"y\":245,\"__LivelyClassName__\":\"Point\",\"__SourceModuleName__\":\"Global\"},\"387\":{\"x\":178,\"y\":269,\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"Point\"},\"388\":{\"explore\":{\"__isSmartRef__\":true,\"id\":389},\"reset\":{\"__isSmartRef__\":true,\"id\":393},\"inspect\":{\"__isSmartRef__\":true,\"id\":397},\"toggleAll\":{\"__isSmartRef__\":true,\"id\":401}},\"389\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":390},\"source\":\"function explore(object) {\\n // please see this window's pane, \\\"ExplorerPane\\\"\\n this.explorer.explore(object);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":391},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"390\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"391\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":392}},\"392\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)\"},\"393\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":394},\"source\":\"function reset() {\\n // please see this window's pane, \\\"ExplorerPane\\\"\\n this.explorer.reset();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":395},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"394\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"395\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":396}},\"396\":{\"isSerializedDate\":true,\"string\":\"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)\"},\"397\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":398},\"source\":\"function inspect(object) {\\n // alias for explore\\n this.explore(object);\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":399},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"398\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"399\":{\"user\":\"lauritz\",\"timestamp\":{\"__isSmartRef__\":true,\"id\":400}},\"400\":{\"isSerializedDate\":true,\"string\":\"Tue Nov 15 2011 23:04:54 GMT+0100 (CET)\"},\"401\":{\"varMapping\":{\"__isSmartRef__\":true,\"id\":402},\"source\":\"function toggleAll() {\\n this.explorer.toggleAll();\\n}\",\"funcProperties\":{\"__isSmartRef__\":true,\"id\":403},\"__SourceModuleName__\":\"Global\",\"__LivelyClassName__\":\"lively.Closure\"},\"402\":{\"this\":{\"__isSmartRef__\":true,\"id\":0}},\"403\":{\"timestamp\":{\"__isSmartRef__\":true,\"id\":404},\"user\":\"lauritz\",\"tags\":[]},\"404\":{\"isSerializedDate\":true,\"string\":\"Thu Jan 05 2012 22:40:45 GMT+0100 (CET)\"},\"isSimplifiedRegistry\":true}}","__LivelyClassName__":"lively.PartsBin.PartItem","__SourceModuleName__":"Global.lively.PartsBin"},"5922":{"rev":148785,"author":"bert","date":{"__isSmartRef__":true,"id":5923},"url":{"__isSmartRef__":true,"id":5924},"changes":[{"__isSmartRef__":true,"id":5925}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"5923":{"isSerializedDate":true,"string":"Wed Mar 28 2012 20:33:56 GMT+0200 (CEST)"},"5924":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"5925":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"5926":{"rev":140039,"author":"fbo","date":{"__isSmartRef__":true,"id":5927},"url":{"__isSmartRef__":true,"id":5928},"changes":[{"__isSmartRef__":true,"id":5929},{"__isSmartRef__":true,"id":5930},{"__isSmartRef__":true,"id":5931},{"__isSmartRef__":true,"id":5932},{"__isSmartRef__":true,"id":5933},{"__isSmartRef__":true,"id":5934},{"__isSmartRef__":true,"id":5935},{"__isSmartRef__":true,"id":5936},{"__isSmartRef__":true,"id":5937},{"__isSmartRef__":true,"id":5938},{"__isSmartRef__":true,"id":5939},{"__isSmartRef__":true,"id":5940},{"__isSmartRef__":true,"id":5941},{"__isSmartRef__":true,"id":5942},{"__isSmartRef__":true,"id":5943},{"__isSmartRef__":true,"id":5944},{"__isSmartRef__":true,"id":5945},{"__isSmartRef__":true,"id":5946},{"__isSmartRef__":true,"id":5947},{"__isSmartRef__":true,"id":5948},{"__isSmartRef__":true,"id":5949},{"__isSmartRef__":true,"id":5950},{"__isSmartRef__":true,"id":5951},{"__isSmartRef__":true,"id":5952},{"__isSmartRef__":true,"id":5953},{"__isSmartRef__":true,"id":5954},{"__isSmartRef__":true,"id":5955},{"__isSmartRef__":true,"id":5956},{"__isSmartRef__":true,"id":5957},{"__isSmartRef__":true,"id":5958},{"__isSmartRef__":true,"id":5959},{"__isSmartRef__":true,"id":5960},{"__isSmartRef__":true,"id":5961},{"__isSmartRef__":true,"id":5962},{"__isSmartRef__":true,"id":5963},{"__isSmartRef__":true,"id":5964},{"__isSmartRef__":true,"id":5965},{"__isSmartRef__":true,"id":5966},{"__isSmartRef__":true,"id":5967},{"__isSmartRef__":true,"id":5968},{"__isSmartRef__":true,"id":5969},{"__isSmartRef__":true,"id":5970},{"__isSmartRef__":true,"id":5971},{"__isSmartRef__":true,"id":5972},{"__isSmartRef__":true,"id":5973},{"__isSmartRef__":true,"id":5974},{"__isSmartRef__":true,"id":5975},{"__isSmartRef__":true,"id":5976},{"__isSmartRef__":true,"id":5977},{"__isSmartRef__":true,"id":5978},{"__isSmartRef__":true,"id":5979},{"__isSmartRef__":true,"id":5980},{"__isSmartRef__":true,"id":5981},{"__isSmartRef__":true,"id":5982},{"__isSmartRef__":true,"id":5983},{"__isSmartRef__":true,"id":5984},{"__isSmartRef__":true,"id":5985},{"__isSmartRef__":true,"id":5986},{"__isSmartRef__":true,"id":5987},{"__isSmartRef__":true,"id":5988},{"__isSmartRef__":true,"id":5989},{"__isSmartRef__":true,"id":5990},{"__isSmartRef__":true,"id":5991},{"__isSmartRef__":true,"id":5992},{"__isSmartRef__":true,"id":5993},{"__isSmartRef__":true,"id":5994},{"__isSmartRef__":true,"id":5995},{"__isSmartRef__":true,"id":5996},{"__isSmartRef__":true,"id":5997},{"__isSmartRef__":true,"id":5998},{"__isSmartRef__":true,"id":5999},{"__isSmartRef__":true,"id":6000},{"__isSmartRef__":true,"id":6001},{"__isSmartRef__":true,"id":6002},{"__isSmartRef__":true,"id":6003},{"__isSmartRef__":true,"id":6004},{"__isSmartRef__":true,"id":6005},{"__isSmartRef__":true,"id":6006},{"__isSmartRef__":true,"id":6007},{"__isSmartRef__":true,"id":6008},{"__isSmartRef__":true,"id":6009},{"__isSmartRef__":true,"id":6010},{"__isSmartRef__":true,"id":6011},{"__isSmartRef__":true,"id":6012},{"__isSmartRef__":true,"id":6013},{"__isSmartRef__":true,"id":6014},{"__isSmartRef__":true,"id":6015},{"__isSmartRef__":true,"id":6016},{"__isSmartRef__":true,"id":6017},{"__isSmartRef__":true,"id":6018},{"__isSmartRef__":true,"id":6019},{"__isSmartRef__":true,"id":6020},{"__isSmartRef__":true,"id":6021},{"__isSmartRef__":true,"id":6022},{"__isSmartRef__":true,"id":6023},{"__isSmartRef__":true,"id":6024},{"__isSmartRef__":true,"id":6025},{"__isSmartRef__":true,"id":6026},{"__isSmartRef__":true,"id":6027},{"__isSmartRef__":true,"id":6028},{"__isSmartRef__":true,"id":6029},{"__isSmartRef__":true,"id":6030},{"__isSmartRef__":true,"id":6031}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"5927":{"isSerializedDate":true,"string":"Wed Feb 22 2012 22:26:12 GMT+0100 (CET)"},"5928":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/lively/lang/UUID.js","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"5929":{"type":"S:modified","url":"/core/lively/ast/Interpreter.js"},"5930":{"type":"S:added","url":null},"5931":{"type":"S:added","url":null},"5932":{"type":"S:modified","url":"/core/lively/OldModel.js"},"5933":{"type":"S:modified","url":"/core/lively/morphic/ScriptingSupport.js"},"5934":{"type":"S:added","url":null},"5935":{"type":"S:added","url":null},"5936":{"type":"S:deleted","url":null},"5937":{"type":"S:added","url":null},"5938":{"type":"S:modified","url":"/core/lively/ast/LivelyJSParser.js"},"5939":{"type":"S:modified","url":"/core/lively/morphic/EventExperiments.js"},"5940":{"type":"S:added","url":null},"5941":{"type":"S:modified","url":"/core/lively/Base.js"},"5942":{"type":"S:added","url":null},"5943":{"type":"S:added","url":null},"5944":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"5945":{"type":"S:added","url":null},"5946":{"type":"S:added","url":null},"5947":{"type":"S:modified","url":"/core/lively/localconfig.js"},"5948":{"type":"S:modified","url":"/core/lively/PartsBin.js"},"5949":{"type":"S:modified","url":"/core/lively/ide/SystemBrowserNodes.js"},"5950":{"type":"S:modified","url":"/core/lively/morphic/tests/PathTests.js"},"5951":{"type":"S:added","url":null},"5952":{"type":"S:modified","url":"/core/lively/bindings/Core.js"},"5953":{"type":"S:added","url":null},"5954":{"type":"S:added","url":null},"5955":{"type":"S:modified","url":"/core/lively/Network.js"},"5956":{"type":"S:modified","url":"/core/lively/morphic/Core.js"},"5957":{"type":"S:added","url":null},"5958":{"type":"S:modified","url":"/core/lively/bindings.js"},"5959":{"type":"S:modified","url":"/core/lively/WidgetsTraits.js"},"5960":{"type":"S:modified","url":"/core/lively/morphic.js"},"5961":{"type":"S:added","url":null},"5962":{"type":"S:added","url":null},"5963":{"type":"S:added","url":null},"5964":{"type":"S:modified","url":"/core/lively/defaultconfig.js"},"5965":{"type":"S:added","url":null},"5966":{"type":"S:added","url":null},"5967":{"type":"S:modified","url":"/core/lively/morphic/Canvas.js"},"5968":{"type":"S:modified","url":"/core/lively/ast/generated/Translator.js"},"5969":{"type":"S:added","url":null},"5970":{"type":"S:modified","url":"/core/lively/ast/Parser.js"},"5971":{"type":"S:modified","url":"/core/lively/Main.js"},"5972":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic2.js"},"5973":{"type":"S:added","url":null},"5974":{"type":"S:modified","url":"/core/lively/morphic/tests/TabTests.js"},"5975":{"type":"S:modified","url":"/core/lively/persistence/Serializer.js"},"5976":{"type":"S:modified","url":"/core_version.json"},"5977":{"type":"S:added","url":null},"5978":{"type":"S:modified","url":"/core/lively/morphic/PathShapes.js"},"5979":{"type":"S:added","url":null},"5980":{"type":"S:added","url":null},"5981":{"type":"S:modified","url":"/core/lively/morphic/tests/Morphic.js"},"5982":{"type":"S:modified","url":"/core/lively/morphic/tests/DataGridTests.js"},"5983":{"type":"S:modified","url":"/core/lively/morphic/HTML.js"},"5984":{"type":"S:added","url":null},"5985":{"type":"S:added","url":null},"5986":{"type":"S:added","url":null},"5987":{"type":"S:modified","url":"/core/lively/ide/BrowserCommands.js"},"5988":{"type":"S:modified","url":"/core/lively/morphic/Widgets.js"},"5989":{"type":"S:modified","url":"/core/lively/morphic/tests/EventTests.js"},"5990":{"type":"S:modified","url":"/core/lively/ast/StackReification.js"},"5991":{"type":"S:modified","url":"/core/cop/CopBenchmark.js"},"5992":{"type":"S:deleted","url":null},"5993":{"type":"S:added","url":null},"5994":{"type":"S:modified","url":"/core/lively/Helper.js"},"5995":{"type":"S:modified","url":"/core/lively/morphic/MorphAddons.js"},"5996":{"type":"S:added","url":null},"5997":{"type":"S:modified","url":"/core/lively/morphic/tests/Connectors.js"},"5998":{"type":"S:modified","url":"/core/lively/morphic/Shapes.js"},"5999":{"type":"S:modified","url":"/core/lively/ide/SourceDatabase.js"},"6000":{"type":"S:added","url":null},"6001":{"type":"S:modified","url":"/core/lively/Tracing.js"},"6002":{"type":"S:added","url":null},"6003":{"type":"S:modified","url":"/core/lively/ast/Morphic.js"},"6004":{"type":"S:added","url":null},"6005":{"type":"S:added","url":null},"6006":{"type":"S:added","url":null},"6007":{"type":"S:modified","url":"/core/lively/TestFramework.js"},"6008":{"type":"S:modified","url":"/core/lively/ast/generated/Nodes.js"},"6009":{"type":"S:added","url":null},"6010":{"type":"S:modified","url":"/core/lively/morphic/TextCore.js"},"6011":{"type":"S:added","url":null},"6012":{"type":"S:modified","url":"/core/lively/ide.js"},"6013":{"type":"S:modified","url":"/core/cop/Tracing.js"},"6014":{"type":"S:modified","url":"/core/lively/ide/FileParsing.js"},"6015":{"type":"S:modified","url":"/core/lively/morphic/Events.js"},"6016":{"type":"S:modified","url":"/core/lively/morphic/Halos.js"},"6017":{"type":"S:added","url":null},"6018":{"type":"S:added","url":null},"6019":{"type":"S:modified","url":"/core/lively/morphic/Complete.js"},"6020":{"type":"S:added","url":null},"6021":{"type":"S:added","url":null},"6022":{"type":"S:added","url":null},"6023":{"type":"S:added","url":null},"6024":{"type":"S:added","url":null},"6025":{"type":"S:modified","url":"/core/lively/persistence/StandAlonePackaging.js"},"6026":{"type":"S:added","url":null},"6027":{"type":"S:modified","url":"/core/lively/ast/TestFramework.js"},"6028":{"type":"S:modified","url":"/core/lively/ide/SystemCodeBrowser.js"},"6029":{"type":"S:added","url":null},"6030":{"type":"S:added","url":null},"6031":{"type":"S:added","url":null},"6032":{"rev":131237,"author":"jenslincke","date":{"__isSmartRef__":true,"id":6033},"url":{"__isSmartRef__":true,"id":6034},"changes":[{"__isSmartRef__":true,"id":6035}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6033":{"isSerializedDate":true,"string":"Mon Jan 30 2012 12:59:54 GMT+0100 (CET)"},"6034":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6035":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6036":{"rev":130459,"author":"lauritz","date":{"__isSmartRef__":true,"id":6037},"url":{"__isSmartRef__":true,"id":6038},"changes":[{"__isSmartRef__":true,"id":6039}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6037":{"isSerializedDate":true,"string":"Fri Jan 27 2012 01:31:03 GMT+0100 (CET)"},"6038":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6039":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6040":{"rev":130455,"author":"lauritz","date":{"__isSmartRef__":true,"id":6041},"url":{"__isSmartRef__":true,"id":6042},"changes":[{"__isSmartRef__":true,"id":6043}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6041":{"isSerializedDate":true,"string":"Fri Jan 27 2012 01:27:16 GMT+0100 (CET)"},"6042":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6043":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6044":{"rev":126370,"author":"lauritz","date":{"__isSmartRef__":true,"id":6045},"url":{"__isSmartRef__":true,"id":6046},"changes":[{"__isSmartRef__":true,"id":6047}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6045":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:55:37 GMT+0100 (CET)"},"6046":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6047":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6048":{"rev":126355,"author":"lauritz","date":{"__isSmartRef__":true,"id":6049},"url":{"__isSmartRef__":true,"id":6050},"changes":[{"__isSmartRef__":true,"id":6051}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6049":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:42:49 GMT+0100 (CET)"},"6050":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6051":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6052":{"rev":126351,"author":"lauritz","date":{"__isSmartRef__":true,"id":6053},"url":{"__isSmartRef__":true,"id":6054},"changes":[{"__isSmartRef__":true,"id":6055}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6053":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:38:29 GMT+0100 (CET)"},"6054":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6055":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6056":{"rev":126348,"author":"lauritz","date":{"__isSmartRef__":true,"id":6057},"url":{"__isSmartRef__":true,"id":6058},"changes":[{"__isSmartRef__":true,"id":6059}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6057":{"isSerializedDate":true,"string":"Thu Jan 05 2012 21:30:24 GMT+0100 (CET)"},"6058":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6059":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6060":{"rev":123710,"author":"lauritz","date":{"__isSmartRef__":true,"id":6061},"url":{"__isSmartRef__":true,"id":6062},"changes":[{"__isSmartRef__":true,"id":6063}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6061":{"isSerializedDate":true,"string":"Tue Dec 13 2011 22:20:22 GMT+0100 (CET)"},"6062":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6063":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6064":{"rev":120875,"author":"lauritz","date":{"__isSmartRef__":true,"id":6065},"url":{"__isSmartRef__":true,"id":6066},"changes":[{"__isSmartRef__":true,"id":6067},{"__isSmartRef__":true,"id":6068},{"__isSmartRef__":true,"id":6069}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6065":{"isSerializedDate":true,"string":"Mon Dec 05 2011 23:54:43 GMT+0100 (CET)"},"6066":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.html","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6067":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6068":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.metainfo"},"6069":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.html"},"6070":{"rev":120530,"author":"lauritz","date":{"__isSmartRef__":true,"id":6071},"url":{"__isSmartRef__":true,"id":6072},"changes":[{"__isSmartRef__":true,"id":6073}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6071":{"isSerializedDate":true,"string":"Fri Dec 02 2011 23:35:15 GMT+0100 (CET)"},"6072":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6073":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6074":{"rev":120520,"author":"fbo","date":{"__isSmartRef__":true,"id":6075},"url":{"__isSmartRef__":true,"id":6076},"changes":[{"__isSmartRef__":true,"id":6077}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6075":{"isSerializedDate":true,"string":"Fri Dec 02 2011 23:06:07 GMT+0100 (CET)"},"6076":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6077":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6078":{"rev":120054,"author":"lauritz","date":{"__isSmartRef__":true,"id":6079},"url":{"__isSmartRef__":true,"id":6080},"changes":[{"__isSmartRef__":true,"id":6081}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6079":{"isSerializedDate":true,"string":"Wed Nov 30 2011 22:22:23 GMT+0100 (CET)"},"6080":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6081":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6082":{"rev":120044,"author":"lauritz","date":{"__isSmartRef__":true,"id":6083},"url":{"__isSmartRef__":true,"id":6084},"changes":[{"__isSmartRef__":true,"id":6085}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6083":{"isSerializedDate":true,"string":"Wed Nov 30 2011 21:21:04 GMT+0100 (CET)"},"6084":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6085":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6086":{"rev":118860,"author":"lauritz","date":{"__isSmartRef__":true,"id":6087},"url":{"__isSmartRef__":true,"id":6088},"changes":[{"__isSmartRef__":true,"id":6089}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6087":{"isSerializedDate":true,"string":"Tue Nov 22 2011 22:44:04 GMT+0100 (CET)"},"6088":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6089":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6090":{"rev":118849,"author":"lauritz","date":{"__isSmartRef__":true,"id":6091},"url":{"__isSmartRef__":true,"id":6092},"changes":[{"__isSmartRef__":true,"id":6093}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6091":{"isSerializedDate":true,"string":"Tue Nov 22 2011 21:44:02 GMT+0100 (CET)"},"6092":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6093":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6094":{"rev":118687,"author":"lauritz","date":{"__isSmartRef__":true,"id":6095},"url":{"__isSmartRef__":true,"id":6096},"changes":[{"__isSmartRef__":true,"id":6097}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6095":{"isSerializedDate":true,"string":"Fri Nov 18 2011 22:54:04 GMT+0100 (CET)"},"6096":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6097":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6098":{"rev":117845,"author":"lauritz","date":{"__isSmartRef__":true,"id":6099},"url":{"__isSmartRef__":true,"id":6100},"changes":[{"__isSmartRef__":true,"id":6101}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6099":{"isSerializedDate":true,"string":"Tue Nov 15 2011 22:39:01 GMT+0100 (CET)"},"6100":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6101":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6102":{"rev":117841,"author":"lauritz","date":{"__isSmartRef__":true,"id":6103},"url":{"__isSmartRef__":true,"id":6104},"changes":[{"__isSmartRef__":true,"id":6105}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6103":{"isSerializedDate":true,"string":"Tue Nov 15 2011 22:18:15 GMT+0100 (CET)"},"6104":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6105":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6106":{"rev":113483,"author":"jenslincke","date":{"__isSmartRef__":true,"id":6107},"url":{"__isSmartRef__":true,"id":6108},"changes":[{"__isSmartRef__":true,"id":6109}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6107":{"isSerializedDate":true,"string":"Thu Nov 03 2011 15:09:36 GMT+0100 (CET)"},"6108":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6109":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6110":{"rev":112334,"author":"jenslincke","date":{"__isSmartRef__":true,"id":6111},"url":{"__isSmartRef__":true,"id":6112},"changes":[{"__isSmartRef__":true,"id":6113}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6111":{"isSerializedDate":true,"string":"Fri Oct 28 2011 14:10:54 GMT+0200 (CEST)"},"6112":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/core/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6113":{"type":"S:modified","url":"/core/PartsBin/Tools/Explorer.json"},"6114":{"rev":112200,"author":"lauritz","date":{"__isSmartRef__":true,"id":6115},"url":{"__isSmartRef__":true,"id":6116},"changes":[{"__isSmartRef__":true,"id":6117},{"__isSmartRef__":true,"id":6118},{"__isSmartRef__":true,"id":6119},{"__isSmartRef__":true,"id":6120},{"__isSmartRef__":true,"id":6121},{"__isSmartRef__":true,"id":6122},{"__isSmartRef__":true,"id":6123},{"__isSmartRef__":true,"id":6124},{"__isSmartRef__":true,"id":6125},{"__isSmartRef__":true,"id":6126},{"__isSmartRef__":true,"id":6127},{"__isSmartRef__":true,"id":6128},{"__isSmartRef__":true,"id":6129},{"__isSmartRef__":true,"id":6130},{"__isSmartRef__":true,"id":6131},{"__isSmartRef__":true,"id":6132},{"__isSmartRef__":true,"id":6133},{"__isSmartRef__":true,"id":6134},{"__isSmartRef__":true,"id":6135},{"__isSmartRef__":true,"id":6136},{"__isSmartRef__":true,"id":6137},{"__isSmartRef__":true,"id":6138},{"__isSmartRef__":true,"id":6139},{"__isSmartRef__":true,"id":6140},{"__isSmartRef__":true,"id":6141},{"__isSmartRef__":true,"id":6142},{"__isSmartRef__":true,"id":6143},{"__isSmartRef__":true,"id":6144},{"__isSmartRef__":true,"id":6145},{"__isSmartRef__":true,"id":6146},{"__isSmartRef__":true,"id":6147},{"__isSmartRef__":true,"id":6148},{"__isSmartRef__":true,"id":6149},{"__isSmartRef__":true,"id":6150},{"__isSmartRef__":true,"id":6151},{"__isSmartRef__":true,"id":6152},{"__isSmartRef__":true,"id":6153},{"__isSmartRef__":true,"id":6154},{"__isSmartRef__":true,"id":6155},{"__isSmartRef__":true,"id":6156},{"__isSmartRef__":true,"id":6157},{"__isSmartRef__":true,"id":6158},{"__isSmartRef__":true,"id":6159},{"__isSmartRef__":true,"id":6160},{"__isSmartRef__":true,"id":6161},{"__isSmartRef__":true,"id":6162},{"__isSmartRef__":true,"id":6163},{"__isSmartRef__":true,"id":6164},{"__isSmartRef__":true,"id":6165},{"__isSmartRef__":true,"id":6166},{"__isSmartRef__":true,"id":6167},{"__isSmartRef__":true,"id":6168},{"__isSmartRef__":true,"id":6169},{"__isSmartRef__":true,"id":6170},{"__isSmartRef__":true,"id":6171},{"__isSmartRef__":true,"id":6172},{"__isSmartRef__":true,"id":6173},{"__isSmartRef__":true,"id":6174},{"__isSmartRef__":true,"id":6175},{"__isSmartRef__":true,"id":6176},{"__isSmartRef__":true,"id":6177},{"__isSmartRef__":true,"id":6178},{"__isSmartRef__":true,"id":6179},{"__isSmartRef__":true,"id":6180},{"__isSmartRef__":true,"id":6181},{"__isSmartRef__":true,"id":6182},{"__isSmartRef__":true,"id":6183},{"__isSmartRef__":true,"id":6184},{"__isSmartRef__":true,"id":6185},{"__isSmartRef__":true,"id":6186},{"__isSmartRef__":true,"id":6187},{"__isSmartRef__":true,"id":6188},{"__isSmartRef__":true,"id":6189},{"__isSmartRef__":true,"id":6190},{"__isSmartRef__":true,"id":6191},{"__isSmartRef__":true,"id":6192},{"__isSmartRef__":true,"id":6193},{"__isSmartRef__":true,"id":6194},{"__isSmartRef__":true,"id":6195},{"__isSmartRef__":true,"id":6196},{"__isSmartRef__":true,"id":6197},{"__isSmartRef__":true,"id":6198},{"__isSmartRef__":true,"id":6199},{"__isSmartRef__":true,"id":6200},{"__isSmartRef__":true,"id":6201},{"__isSmartRef__":true,"id":6202},{"__isSmartRef__":true,"id":6203},{"__isSmartRef__":true,"id":6204},{"__isSmartRef__":true,"id":6205},{"__isSmartRef__":true,"id":6206},{"__isSmartRef__":true,"id":6207},{"__isSmartRef__":true,"id":6208},{"__isSmartRef__":true,"id":6209},{"__isSmartRef__":true,"id":6210},{"__isSmartRef__":true,"id":6211},{"__isSmartRef__":true,"id":6212},{"__isSmartRef__":true,"id":6213},{"__isSmartRef__":true,"id":6214},{"__isSmartRef__":true,"id":6215},{"__isSmartRef__":true,"id":6216},{"__isSmartRef__":true,"id":6217},{"__isSmartRef__":true,"id":6218},{"__isSmartRef__":true,"id":6219},{"__isSmartRef__":true,"id":6220},{"__isSmartRef__":true,"id":6221},{"__isSmartRef__":true,"id":6222},{"__isSmartRef__":true,"id":6223},{"__isSmartRef__":true,"id":6224},{"__isSmartRef__":true,"id":6225},{"__isSmartRef__":true,"id":6226},{"__isSmartRef__":true,"id":6227},{"__isSmartRef__":true,"id":6228},{"__isSmartRef__":true,"id":6229},{"__isSmartRef__":true,"id":6230},{"__isSmartRef__":true,"id":6231},{"__isSmartRef__":true,"id":6232},{"__isSmartRef__":true,"id":6233},{"__isSmartRef__":true,"id":6234},{"__isSmartRef__":true,"id":6235},{"__isSmartRef__":true,"id":6236},{"__isSmartRef__":true,"id":6237},{"__isSmartRef__":true,"id":6238},{"__isSmartRef__":true,"id":6239},{"__isSmartRef__":true,"id":6240},{"__isSmartRef__":true,"id":6241},{"__isSmartRef__":true,"id":6242},{"__isSmartRef__":true,"id":6243},{"__isSmartRef__":true,"id":6244},{"__isSmartRef__":true,"id":6245},{"__isSmartRef__":true,"id":6246},{"__isSmartRef__":true,"id":6247},{"__isSmartRef__":true,"id":6248},{"__isSmartRef__":true,"id":6249},{"__isSmartRef__":true,"id":6250},{"__isSmartRef__":true,"id":6251},{"__isSmartRef__":true,"id":6252},{"__isSmartRef__":true,"id":6253},{"__isSmartRef__":true,"id":6254},{"__isSmartRef__":true,"id":6255},{"__isSmartRef__":true,"id":6256},{"__isSmartRef__":true,"id":6257},{"__isSmartRef__":true,"id":6258},{"__isSmartRef__":true,"id":6259},{"__isSmartRef__":true,"id":6260},{"__isSmartRef__":true,"id":6261},{"__isSmartRef__":true,"id":6262},{"__isSmartRef__":true,"id":6263},{"__isSmartRef__":true,"id":6264},{"__isSmartRef__":true,"id":6265},{"__isSmartRef__":true,"id":6266},{"__isSmartRef__":true,"id":6267},{"__isSmartRef__":true,"id":6268},{"__isSmartRef__":true,"id":6269},{"__isSmartRef__":true,"id":6270},{"__isSmartRef__":true,"id":6271},{"__isSmartRef__":true,"id":6272},{"__isSmartRef__":true,"id":6273},{"__isSmartRef__":true,"id":6274},{"__isSmartRef__":true,"id":6275},{"__isSmartRef__":true,"id":6276},{"__isSmartRef__":true,"id":6277},{"__isSmartRef__":true,"id":6278},{"__isSmartRef__":true,"id":6279},{"__isSmartRef__":true,"id":6280},{"__isSmartRef__":true,"id":6281},{"__isSmartRef__":true,"id":6282},{"__isSmartRef__":true,"id":6283},{"__isSmartRef__":true,"id":6284},{"__isSmartRef__":true,"id":6285},{"__isSmartRef__":true,"id":6286},{"__isSmartRef__":true,"id":6287},{"__isSmartRef__":true,"id":6288},{"__isSmartRef__":true,"id":6289},{"__isSmartRef__":true,"id":6290},{"__isSmartRef__":true,"id":6291},{"__isSmartRef__":true,"id":6292},{"__isSmartRef__":true,"id":6293},{"__isSmartRef__":true,"id":6294},{"__isSmartRef__":true,"id":6295},{"__isSmartRef__":true,"id":6296},{"__isSmartRef__":true,"id":6297},{"__isSmartRef__":true,"id":6298},{"__isSmartRef__":true,"id":6299},{"__isSmartRef__":true,"id":6300},{"__isSmartRef__":true,"id":6301},{"__isSmartRef__":true,"id":6302},{"__isSmartRef__":true,"id":6303},{"__isSmartRef__":true,"id":6304},{"__isSmartRef__":true,"id":6305},{"__isSmartRef__":true,"id":6306},{"__isSmartRef__":true,"id":6307},{"__isSmartRef__":true,"id":6308},{"__isSmartRef__":true,"id":6309},{"__isSmartRef__":true,"id":6310},{"__isSmartRef__":true,"id":6311},{"__isSmartRef__":true,"id":6312},{"__isSmartRef__":true,"id":6313},{"__isSmartRef__":true,"id":6314},{"__isSmartRef__":true,"id":6315},{"__isSmartRef__":true,"id":6316},{"__isSmartRef__":true,"id":6317},{"__isSmartRef__":true,"id":6318},{"__isSmartRef__":true,"id":6319},{"__isSmartRef__":true,"id":6320},{"__isSmartRef__":true,"id":6321},{"__isSmartRef__":true,"id":6322},{"__isSmartRef__":true,"id":6323},{"__isSmartRef__":true,"id":6324},{"__isSmartRef__":true,"id":6325},{"__isSmartRef__":true,"id":6326},{"__isSmartRef__":true,"id":6327},{"__isSmartRef__":true,"id":6328},{"__isSmartRef__":true,"id":6329},{"__isSmartRef__":true,"id":6330},{"__isSmartRef__":true,"id":6331},{"__isSmartRef__":true,"id":6332},{"__isSmartRef__":true,"id":6333},{"__isSmartRef__":true,"id":6334},{"__isSmartRef__":true,"id":6335},{"__isSmartRef__":true,"id":6336},{"__isSmartRef__":true,"id":6337},{"__isSmartRef__":true,"id":6338},{"__isSmartRef__":true,"id":6339},{"__isSmartRef__":true,"id":6340},{"__isSmartRef__":true,"id":6341},{"__isSmartRef__":true,"id":6342},{"__isSmartRef__":true,"id":6343},{"__isSmartRef__":true,"id":6344},{"__isSmartRef__":true,"id":6345},{"__isSmartRef__":true,"id":6346},{"__isSmartRef__":true,"id":6347},{"__isSmartRef__":true,"id":6348},{"__isSmartRef__":true,"id":6349},{"__isSmartRef__":true,"id":6350},{"__isSmartRef__":true,"id":6351},{"__isSmartRef__":true,"id":6352},{"__isSmartRef__":true,"id":6353},{"__isSmartRef__":true,"id":6354},{"__isSmartRef__":true,"id":6355},{"__isSmartRef__":true,"id":6356},{"__isSmartRef__":true,"id":6357},{"__isSmartRef__":true,"id":6358},{"__isSmartRef__":true,"id":6359},{"__isSmartRef__":true,"id":6360},{"__isSmartRef__":true,"id":6361},{"__isSmartRef__":true,"id":6362},{"__isSmartRef__":true,"id":6363},{"__isSmartRef__":true,"id":6364},{"__isSmartRef__":true,"id":6365},{"__isSmartRef__":true,"id":6366},{"__isSmartRef__":true,"id":6367},{"__isSmartRef__":true,"id":6368},{"__isSmartRef__":true,"id":6369},{"__isSmartRef__":true,"id":6370},{"__isSmartRef__":true,"id":6371},{"__isSmartRef__":true,"id":6372},{"__isSmartRef__":true,"id":6373},{"__isSmartRef__":true,"id":6374},{"__isSmartRef__":true,"id":6375},{"__isSmartRef__":true,"id":6376},{"__isSmartRef__":true,"id":6377},{"__isSmartRef__":true,"id":6378},{"__isSmartRef__":true,"id":6379},{"__isSmartRef__":true,"id":6380},{"__isSmartRef__":true,"id":6381},{"__isSmartRef__":true,"id":6382},{"__isSmartRef__":true,"id":6383},{"__isSmartRef__":true,"id":6384},{"__isSmartRef__":true,"id":6385},{"__isSmartRef__":true,"id":6386},{"__isSmartRef__":true,"id":6387},{"__isSmartRef__":true,"id":6388},{"__isSmartRef__":true,"id":6389},{"__isSmartRef__":true,"id":6390},{"__isSmartRef__":true,"id":6391},{"__isSmartRef__":true,"id":6392},{"__isSmartRef__":true,"id":6393},{"__isSmartRef__":true,"id":6394},{"__isSmartRef__":true,"id":6395},{"__isSmartRef__":true,"id":6396},{"__isSmartRef__":true,"id":6397},{"__isSmartRef__":true,"id":6398},{"__isSmartRef__":true,"id":6399},{"__isSmartRef__":true,"id":6400},{"__isSmartRef__":true,"id":6401},{"__isSmartRef__":true,"id":6402},{"__isSmartRef__":true,"id":6403},{"__isSmartRef__":true,"id":6404},{"__isSmartRef__":true,"id":6405},{"__isSmartRef__":true,"id":6406},{"__isSmartRef__":true,"id":6407},{"__isSmartRef__":true,"id":6408},{"__isSmartRef__":true,"id":6409},{"__isSmartRef__":true,"id":6410},{"__isSmartRef__":true,"id":6411},{"__isSmartRef__":true,"id":6412},{"__isSmartRef__":true,"id":6413},{"__isSmartRef__":true,"id":6414},{"__isSmartRef__":true,"id":6415},{"__isSmartRef__":true,"id":6416},{"__isSmartRef__":true,"id":6417},{"__isSmartRef__":true,"id":6418},{"__isSmartRef__":true,"id":6419},{"__isSmartRef__":true,"id":6420},{"__isSmartRef__":true,"id":6421},{"__isSmartRef__":true,"id":6422},{"__isSmartRef__":true,"id":6423},{"__isSmartRef__":true,"id":6424},{"__isSmartRef__":true,"id":6425},{"__isSmartRef__":true,"id":6426},{"__isSmartRef__":true,"id":6427},{"__isSmartRef__":true,"id":6428},{"__isSmartRef__":true,"id":6429},{"__isSmartRef__":true,"id":6430},{"__isSmartRef__":true,"id":6431},{"__isSmartRef__":true,"id":6432},{"__isSmartRef__":true,"id":6433},{"__isSmartRef__":true,"id":6434},{"__isSmartRef__":true,"id":6435},{"__isSmartRef__":true,"id":6436},{"__isSmartRef__":true,"id":6437},{"__isSmartRef__":true,"id":6438},{"__isSmartRef__":true,"id":6439},{"__isSmartRef__":true,"id":6440},{"__isSmartRef__":true,"id":6441},{"__isSmartRef__":true,"id":6442},{"__isSmartRef__":true,"id":6443},{"__isSmartRef__":true,"id":6444},{"__isSmartRef__":true,"id":6445},{"__isSmartRef__":true,"id":6446},{"__isSmartRef__":true,"id":6447},{"__isSmartRef__":true,"id":6448},{"__isSmartRef__":true,"id":6449},{"__isSmartRef__":true,"id":6450},{"__isSmartRef__":true,"id":6451},{"__isSmartRef__":true,"id":6452},{"__isSmartRef__":true,"id":6453},{"__isSmartRef__":true,"id":6454},{"__isSmartRef__":true,"id":6455},{"__isSmartRef__":true,"id":6456},{"__isSmartRef__":true,"id":6457},{"__isSmartRef__":true,"id":6458},{"__isSmartRef__":true,"id":6459},{"__isSmartRef__":true,"id":6460},{"__isSmartRef__":true,"id":6461},{"__isSmartRef__":true,"id":6462},{"__isSmartRef__":true,"id":6463},{"__isSmartRef__":true,"id":6464},{"__isSmartRef__":true,"id":6465},{"__isSmartRef__":true,"id":6466},{"__isSmartRef__":true,"id":6467},{"__isSmartRef__":true,"id":6468},{"__isSmartRef__":true,"id":6469},{"__isSmartRef__":true,"id":6470},{"__isSmartRef__":true,"id":6471},{"__isSmartRef__":true,"id":6472},{"__isSmartRef__":true,"id":6473},{"__isSmartRef__":true,"id":6474},{"__isSmartRef__":true,"id":6475},{"__isSmartRef__":true,"id":6476},{"__isSmartRef__":true,"id":6477},{"__isSmartRef__":true,"id":6478},{"__isSmartRef__":true,"id":6479},{"__isSmartRef__":true,"id":6480},{"__isSmartRef__":true,"id":6481},{"__isSmartRef__":true,"id":6482},{"__isSmartRef__":true,"id":6483},{"__isSmartRef__":true,"id":6484},{"__isSmartRef__":true,"id":6485},{"__isSmartRef__":true,"id":6486},{"__isSmartRef__":true,"id":6487},{"__isSmartRef__":true,"id":6488},{"__isSmartRef__":true,"id":6489},{"__isSmartRef__":true,"id":6490},{"__isSmartRef__":true,"id":6491},{"__isSmartRef__":true,"id":6492},{"__isSmartRef__":true,"id":6493},{"__isSmartRef__":true,"id":6494},{"__isSmartRef__":true,"id":6495},{"__isSmartRef__":true,"id":6496},{"__isSmartRef__":true,"id":6497},{"__isSmartRef__":true,"id":6498},{"__isSmartRef__":true,"id":6499},{"__isSmartRef__":true,"id":6500},{"__isSmartRef__":true,"id":6501},{"__isSmartRef__":true,"id":6502},{"__isSmartRef__":true,"id":6503},{"__isSmartRef__":true,"id":6504},{"__isSmartRef__":true,"id":6505},{"__isSmartRef__":true,"id":6506},{"__isSmartRef__":true,"id":6507},{"__isSmartRef__":true,"id":6508},{"__isSmartRef__":true,"id":6509},{"__isSmartRef__":true,"id":6510},{"__isSmartRef__":true,"id":6511},{"__isSmartRef__":true,"id":6512},{"__isSmartRef__":true,"id":6513},{"__isSmartRef__":true,"id":6514},{"__isSmartRef__":true,"id":6515},{"__isSmartRef__":true,"id":6516},{"__isSmartRef__":true,"id":6517},{"__isSmartRef__":true,"id":6518},{"__isSmartRef__":true,"id":6519},{"__isSmartRef__":true,"id":6520},{"__isSmartRef__":true,"id":6521},{"__isSmartRef__":true,"id":6522},{"__isSmartRef__":true,"id":6523},{"__isSmartRef__":true,"id":6524},{"__isSmartRef__":true,"id":6525},{"__isSmartRef__":true,"id":6526},{"__isSmartRef__":true,"id":6527},{"__isSmartRef__":true,"id":6528},{"__isSmartRef__":true,"id":6529},{"__isSmartRef__":true,"id":6530},{"__isSmartRef__":true,"id":6531},{"__isSmartRef__":true,"id":6532},{"__isSmartRef__":true,"id":6533},{"__isSmartRef__":true,"id":6534},{"__isSmartRef__":true,"id":6535},{"__isSmartRef__":true,"id":6536},{"__isSmartRef__":true,"id":6537},{"__isSmartRef__":true,"id":6538},{"__isSmartRef__":true,"id":6539},{"__isSmartRef__":true,"id":6540},{"__isSmartRef__":true,"id":6541},{"__isSmartRef__":true,"id":6542},{"__isSmartRef__":true,"id":6543},{"__isSmartRef__":true,"id":6544},{"__isSmartRef__":true,"id":6545},{"__isSmartRef__":true,"id":6546},{"__isSmartRef__":true,"id":6547},{"__isSmartRef__":true,"id":6548},{"__isSmartRef__":true,"id":6549},{"__isSmartRef__":true,"id":6550},{"__isSmartRef__":true,"id":6551},{"__isSmartRef__":true,"id":6552},{"__isSmartRef__":true,"id":6553},{"__isSmartRef__":true,"id":6554},{"__isSmartRef__":true,"id":6555},{"__isSmartRef__":true,"id":6556},{"__isSmartRef__":true,"id":6557},{"__isSmartRef__":true,"id":6558},{"__isSmartRef__":true,"id":6559},{"__isSmartRef__":true,"id":6560},{"__isSmartRef__":true,"id":6561},{"__isSmartRef__":true,"id":6562},{"__isSmartRef__":true,"id":6563},{"__isSmartRef__":true,"id":6564},{"__isSmartRef__":true,"id":6565},{"__isSmartRef__":true,"id":6566},{"__isSmartRef__":true,"id":6567},{"__isSmartRef__":true,"id":6568},{"__isSmartRef__":true,"id":6569},{"__isSmartRef__":true,"id":6570},{"__isSmartRef__":true,"id":6571},{"__isSmartRef__":true,"id":6572},{"__isSmartRef__":true,"id":6573},{"__isSmartRef__":true,"id":6574},{"__isSmartRef__":true,"id":6575},{"__isSmartRef__":true,"id":6576},{"__isSmartRef__":true,"id":6577},{"__isSmartRef__":true,"id":6578},{"__isSmartRef__":true,"id":6579},{"__isSmartRef__":true,"id":6580},{"__isSmartRef__":true,"id":6581},{"__isSmartRef__":true,"id":6582},{"__isSmartRef__":true,"id":6583},{"__isSmartRef__":true,"id":6584},{"__isSmartRef__":true,"id":6585},{"__isSmartRef__":true,"id":6586},{"__isSmartRef__":true,"id":6587},{"__isSmartRef__":true,"id":6588},{"__isSmartRef__":true,"id":6589},{"__isSmartRef__":true,"id":6590},{"__isSmartRef__":true,"id":6591},{"__isSmartRef__":true,"id":6592},{"__isSmartRef__":true,"id":6593},{"__isSmartRef__":true,"id":6594},{"__isSmartRef__":true,"id":6595},{"__isSmartRef__":true,"id":6596},{"__isSmartRef__":true,"id":6597},{"__isSmartRef__":true,"id":6598},{"__isSmartRef__":true,"id":6599},{"__isSmartRef__":true,"id":6600},{"__isSmartRef__":true,"id":6601},{"__isSmartRef__":true,"id":6602},{"__isSmartRef__":true,"id":6603},{"__isSmartRef__":true,"id":6604},{"__isSmartRef__":true,"id":6605},{"__isSmartRef__":true,"id":6606},{"__isSmartRef__":true,"id":6607},{"__isSmartRef__":true,"id":6608},{"__isSmartRef__":true,"id":6609},{"__isSmartRef__":true,"id":6610},{"__isSmartRef__":true,"id":6611},{"__isSmartRef__":true,"id":6612},{"__isSmartRef__":true,"id":6613},{"__isSmartRef__":true,"id":6614},{"__isSmartRef__":true,"id":6615},{"__isSmartRef__":true,"id":6616},{"__isSmartRef__":true,"id":6617},{"__isSmartRef__":true,"id":6618},{"__isSmartRef__":true,"id":6619},{"__isSmartRef__":true,"id":6620},{"__isSmartRef__":true,"id":6621},{"__isSmartRef__":true,"id":6622},{"__isSmartRef__":true,"id":6623},{"__isSmartRef__":true,"id":6624},{"__isSmartRef__":true,"id":6625},{"__isSmartRef__":true,"id":6626},{"__isSmartRef__":true,"id":6627},{"__isSmartRef__":true,"id":6628},{"__isSmartRef__":true,"id":6629},{"__isSmartRef__":true,"id":6630},{"__isSmartRef__":true,"id":6631},{"__isSmartRef__":true,"id":6632},{"__isSmartRef__":true,"id":6633},{"__isSmartRef__":true,"id":6634},{"__isSmartRef__":true,"id":6635},{"__isSmartRef__":true,"id":6636},{"__isSmartRef__":true,"id":6637},{"__isSmartRef__":true,"id":6638},{"__isSmartRef__":true,"id":6639},{"__isSmartRef__":true,"id":6640},{"__isSmartRef__":true,"id":6641},{"__isSmartRef__":true,"id":6642},{"__isSmartRef__":true,"id":6643},{"__isSmartRef__":true,"id":6644},{"__isSmartRef__":true,"id":6645},{"__isSmartRef__":true,"id":6646},{"__isSmartRef__":true,"id":6647},{"__isSmartRef__":true,"id":6648},{"__isSmartRef__":true,"id":6649},{"__isSmartRef__":true,"id":6650},{"__isSmartRef__":true,"id":6651},{"__isSmartRef__":true,"id":6652},{"__isSmartRef__":true,"id":6653},{"__isSmartRef__":true,"id":6654},{"__isSmartRef__":true,"id":6655},{"__isSmartRef__":true,"id":6656},{"__isSmartRef__":true,"id":6657},{"__isSmartRef__":true,"id":6658},{"__isSmartRef__":true,"id":6659},{"__isSmartRef__":true,"id":6660},{"__isSmartRef__":true,"id":6661},{"__isSmartRef__":true,"id":6662},{"__isSmartRef__":true,"id":6663},{"__isSmartRef__":true,"id":6664},{"__isSmartRef__":true,"id":6665},{"__isSmartRef__":true,"id":6666},{"__isSmartRef__":true,"id":6667},{"__isSmartRef__":true,"id":6668},{"__isSmartRef__":true,"id":6669},{"__isSmartRef__":true,"id":6670},{"__isSmartRef__":true,"id":6671},{"__isSmartRef__":true,"id":6672},{"__isSmartRef__":true,"id":6673},{"__isSmartRef__":true,"id":6674},{"__isSmartRef__":true,"id":6675},{"__isSmartRef__":true,"id":6676},{"__isSmartRef__":true,"id":6677},{"__isSmartRef__":true,"id":6678},{"__isSmartRef__":true,"id":6679},{"__isSmartRef__":true,"id":6680},{"__isSmartRef__":true,"id":6681},{"__isSmartRef__":true,"id":6682},{"__isSmartRef__":true,"id":6683},{"__isSmartRef__":true,"id":6684},{"__isSmartRef__":true,"id":6685},{"__isSmartRef__":true,"id":6686},{"__isSmartRef__":true,"id":6687},{"__isSmartRef__":true,"id":6688},{"__isSmartRef__":true,"id":6689},{"__isSmartRef__":true,"id":6690},{"__isSmartRef__":true,"id":6691},{"__isSmartRef__":true,"id":6692},{"__isSmartRef__":true,"id":6693},{"__isSmartRef__":true,"id":6694},{"__isSmartRef__":true,"id":6695},{"__isSmartRef__":true,"id":6696},{"__isSmartRef__":true,"id":6697},{"__isSmartRef__":true,"id":6698},{"__isSmartRef__":true,"id":6699},{"__isSmartRef__":true,"id":6700},{"__isSmartRef__":true,"id":6701},{"__isSmartRef__":true,"id":6702},{"__isSmartRef__":true,"id":6703}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6115":{"isSerializedDate":true,"string":"Fri Oct 28 2011 01:02:08 GMT+0200 (CEST)"},"6116":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/users/lauritz/miniprojects/annotationPart.xhtml","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6117":{"type":"S:modified","url":"/users/jennek/start.xhtml"},"6118":{"type":"S:modified","url":"/users/Dan/Piano.xhtml"},"6119":{"type":"S:modified","url":"/users/sofia/documentation.xhtml"},"6120":{"type":"S:modified","url":"/users/cschuster/presentation.xhtml"},"6121":{"type":"S:modified","url":"/demos/LiveWeb/NewCPUVisualization.xhtml"},"6122":{"type":"S:modified","url":"/users/lauritz/start.xhtml"},"6123":{"type":"S:modified","url":"/core/lively/bootstrap.js"},"6124":{"type":"S:modified","url":"/draft/NewWorld/ServerPart.xhtml"},"6125":{"type":"S:modified","url":"/users/sofia/georgi/ButtonPrototypes.xhtml"},"6126":{"type":"S:modified","url":"/draft/NewWorld/NotetakingApp.xhtml"},"6127":{"type":"S:modified","url":"/projects/CodeDB2/info_documents.xhtml"},"6128":{"type":"S:modified","url":"/users/cschuster/hello.xhtml"},"6129":{"type":"S:modified","url":"/users/fbo/layoutNoEpiMorphs.xhtml"},"6130":{"type":"S:modified","url":"/issues/110527_RichTextGetsLost.xhtml"},"6131":{"type":"S:modified","url":"/users/fbo/boxTestRange.xhtml"},"6132":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualization.xhtml"},"6133":{"type":"S:modified","url":"/demos/contextjs/Syntax.xhtml"},"6134":{"type":"S:modified","url":"/draft/NewWorld/Connectors.xhtml"},"6135":{"type":"S:modified","url":"/users/sofia/documentationXXX.xhtml"},"6136":{"type":"S:modified","url":"/demos/VisualConnect.xhtml"},"6137":{"type":"S:modified","url":"/users/MrSteve/Test1.xhtml"},"6138":{"type":"S:modified","url":"/issues/110614_ClickingOnLinesHackIsBroken.xhtml"},"6139":{"type":"S:modified","url":"/ChangeLog.xhtml"},"6140":{"type":"S:modified","url":"/gettingStarted.xhtml"},"6141":{"type":"S:modified","url":"/users/martin/oldWorkspace.xhtml"},"6142":{"type":"S:modified","url":"/demos/Clean.xhtml"},"6143":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeSaved.xhtml"},"6144":{"type":"S:modified","url":"/issues/110613_ConnectorsAreBroken.xhtml"},"6145":{"type":"S:modified","url":"/draft/NewWorld/ModuleDependencies.xhtml"},"6146":{"type":"S:modified","url":"/issues/fixed/110412_ListDroppingBroken.xhtml"},"6147":{"type":"S:modified","url":"/demos/LiveWeb/Empty.xhtml"},"6148":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/dev2.xhtml"},"6149":{"type":"S:modified","url":"/users/fbo/dropJournalBug.xhtml"},"6150":{"type":"S:modified","url":"/users/tfleig/start.xhtml"},"6151":{"type":"S:modified","url":"/specs/Scrolling.xhtml"},"6152":{"type":"S:modified","url":"/users/fbo/dataGridTests.xhtml"},"6153":{"type":"S:modified","url":"/users/tmohr/newWorld2.xhtml"},"6154":{"type":"S:modified","url":"/users/sofia/georgi/new_world.xhtml"},"6155":{"type":"S:modified","url":"/users/tmohr/slide5.xhtml"},"6156":{"type":"S:modified","url":"/users/fbo/constraintLayoutExampleSerialized.xhtml"},"6157":{"type":"S:modified","url":"/draft/NewWorld/TextBugfixes.xhtml"},"6158":{"type":"S:modified","url":"/users/ahold/new/usertracking.xhtml"},"6159":{"type":"S:modified","url":"/issues/110512_WrappingTextInTextMorph.xhtml"},"6160":{"type":"S:modified","url":"/users/constantin/doku.xhtml"},"6161":{"type":"S:modified","url":"/users/Dan/PartsBin.xhtml"},"6162":{"type":"S:modified","url":"/users/fbo/chat.xhtml"},"6163":{"type":"S:modified","url":"/users/Dan/NewPresentation.xhtml"},"6164":{"type":"S:modified","url":"/users/markoroeder/TablePartDev.xhtml"},"6165":{"type":"S:modified","url":"/users/fbo/renderingHooks.xhtml"},"6166":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype_saved.xhtml"},"6167":{"type":"S:modified","url":"/users/bert/start.xhtml"},"6168":{"type":"S:modified","url":"/users/Dan/TestWorld.xhtml"},"6169":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert.xhtml"},"6170":{"type":"S:modified","url":"/issues/110603_SvgRenderIsNotYetGoodEnoughForOurIcons.xhtml"},"6171":{"type":"S:modified","url":"/issues/111006_DisableGrabbingDoesNotDisableGrabbing.xhtml"},"6172":{"type":"S:modified","url":"/users/robertkrahn/writing.xhtml"},"6173":{"type":"S:modified","url":"/issues/111020_ClassBrowserPartShouldRememberChanges.xhtml"},"6174":{"type":"S:modified","url":"/users/ahold/serverDevNew.xhtml"},"6175":{"type":"S:modified","url":"/demos/LiveWeb/LiveWebSummary.xhtml"},"6176":{"type":"S:modified","url":"/users/lauritz/miniprojects/jQueryEffects.xhtml"},"6177":{"type":"S:modified","url":"/users/Dan/BorderTest.xhtml"},"6178":{"type":"S:modified","url":"/draft/NewWorld/PartsBin.xhtml"},"6179":{"type":"S:modified","url":"/users/sofia/georgi/splitter.xhtml"},"6180":{"type":"S:modified","url":"/users/martin/stats.xhtml"},"6181":{"type":"S:modified","url":"/users/ahold/newWorld.xhtml"},"6182":{"type":"S:modified","url":"/draft/NewWorld/SVGLines.xhtml"},"6183":{"type":"S:added","url":null},"6184":{"type":"S:modified","url":"/issues/fixed/110507_CommentsForParts.xhtml"},"6185":{"type":"S:modified","url":"/demos/contextjs/OpenImplementation.xhtml"},"6186":{"type":"S:modified","url":"/users/Dan/QBF2Ba.xhtml"},"6187":{"type":"S:modified","url":"/users/fbo/welcome.xhtml"},"6188":{"type":"S:modified","url":"/issues/111026_CouchDB>>saveDoesNotAskForCredentialsInSafari.xhtml"},"6189":{"type":"S:modified","url":"/users/martin/measurements/FAQ.xhtml"},"6190":{"type":"S:modified","url":"/users/gerald24/temp.xhtml"},"6191":{"type":"S:modified","url":"/users/markoroeder/MetadataVisualization.xhtml"},"6192":{"type":"S:modified","url":"/demos/WorldSerializationGraph.xhtml"},"6193":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/ImageDroppin.xhtml"},"6194":{"type":"S:modified","url":"/users/Dan/LiveWeb-NewLayout.xhtml"},"6195":{"type":"S:modified","url":"/core/lively/DOMAbstraction.js"},"6196":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Slider.xhtml"},"6197":{"type":"S:modified","url":"/demos/ScriptingClock.xhtml"},"6198":{"type":"S:modified","url":"/issues/111017_BrowsingSubmorphsWithObjectExplorerBroken.xhtml"},"6199":{"type":"S:modified","url":"/users/Dan/Tutorial1.xhtml"},"6200":{"type":"S:modified","url":"/users/fbo/empty3.xhtml"},"6201":{"type":"S:modified","url":"/demos/visualizations/FPSProtovis.xhtml"},"6202":{"type":"S:modified","url":"/draft/NewWorld/ObjectTracerPart.xhtml"},"6203":{"type":"S:modified","url":"/issues/110629_SlideoverlayIsBrokenAfterSavingItHidden.xhtml"},"6204":{"type":"S:modified","url":"/users/markoroeder/GOTY2011.xhtml"},"6205":{"type":"S:modified","url":"/users/fbo/DraftLayout.xhtml"},"6206":{"type":"S:modified","url":"/users/fbo/onMouseMoveRefactoring.xhtml"},"6207":{"type":"S:modified","url":"/users/Dan/PM/ScripterDev.xhtml"},"6208":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksSebastian.xhtml"},"6209":{"type":"S:modified","url":"/users/fbo/DataTables.xhtml"},"6210":{"type":"S:modified","url":"/users/fbo/myLineWorld.xhtml"},"6211":{"type":"S:modified","url":"/issues/110526_ConnectorsInTheNewWorld.xhtml"},"6212":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt.xhtml"},"6213":{"type":"S:modified","url":"/users/Dan/MyQBF.xhtml"},"6214":{"type":"S:modified","url":"/users/Dan/LiveWeb2.xhtml"},"6215":{"type":"S:modified","url":"/users/fbo/layoutPlaceholdersForDragging.xhtml"},"6216":{"type":"S:modified","url":"/webwerkstatt.xhtml"},"6217":{"type":"S:modified","url":"/users/sofia/georgi/Versions.xhtml"},"6218":{"type":"S:modified","url":"/issues/fixed/110506_CompletelyEmphasizedTextDoesNotSerialize.xhtml"},"6219":{"type":"S:modified","url":"/issues/110518_ShadowOfAMorphDoesNotReflectRotation.xhtml"},"6220":{"type":"S:modified","url":"/users/olmeca/start.xhtml"},"6221":{"type":"S:modified","url":"/users/sofia/martin/3.xhtml"},"6222":{"type":"S:modified","url":"/issues/110514_DontShowEditCursorForHalosMenusEtc.xhtml"},"6223":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Lists.xhtml"},"6224":{"type":"S:modified","url":"/users/fbo/layoutDragSnap.xhtml"},"6225":{"type":"S:modified","url":"/users/sofia/georgi/new.xhtml"},"6226":{"type":"S:modified","url":"/users/mkilling/ikuh.xhtml"},"6227":{"type":"S:modified","url":"/draft/NewWorld/ClassBrowser.xhtml"},"6228":{"type":"S:modified","url":"/users/fbo/xamppInstaller.xhtml"},"6229":{"type":"S:modified","url":"/users/Kat/QBF2B.xhtml"},"6230":{"type":"S:modified","url":"/demos/visualizations/protovis.xhtml"},"6231":{"type":"S:modified","url":"/users/NikolaySuslov/start.xhtml"},"6232":{"type":"S:modified","url":"/documentation/Lively2Installation.xhtml"},"6233":{"type":"S:modified","url":"/issues/110518_ProblemToOpenDialogs.xhtml"},"6234":{"type":"S:modified","url":"/users/sofia/learning_prototype_js.xhtml"},"6235":{"type":"S:modified","url":"/issues/110809_AsScriptOfMethodDoesNotChangeFunctionName.xhtml"},"6236":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksBenjamin.xhtml"},"6237":{"type":"S:modified","url":"/users/sofia/video1.xhtml"},"6238":{"type":"S:modified","url":"/empty.xhtml"},"6239":{"type":"S:modified","url":"/demos/LiveWeb/LiveWeb.xhtml"},"6240":{"type":"S:modified","url":"/users/cschuster/start.xhtml"},"6241":{"type":"S:modified","url":"/issues/fixed/110509_WorldMenuDoesNotWork.xhtml"},"6242":{"type":"S:modified","url":"/users/Dan/QuickBrownFox.xhtml"},"6243":{"type":"S:modified","url":"/projects/Lively2/Minimal.xhtml"},"6244":{"type":"S:modified","url":"/issues/111005_LineIssues.xhtml"},"6245":{"type":"S:modified","url":"/issues/fixed/110506_PartsbinHasNoAddOrRemoveCategoryButtons.xhtml"},"6246":{"type":"S:modified","url":"/users/sofia/experiments/css_theming.xhtml"},"6247":{"type":"S:modified","url":"/documentation/videoTutorials/110630_CPUVis.xhtml"},"6248":{"type":"S:modified","url":"/users/template/start.xhtml"},"6249":{"type":"S:modified","url":"/documentation/Traits.xhtml"},"6250":{"type":"S:modified","url":"/issues/110717_ShapeOffsetMakesEventsGoMad.xhtml"},"6251":{"type":"S:modified","url":"/users/fbo/jQueryUi.xhtml"},"6252":{"type":"S:modified","url":"/users/robertkrahn/nonexisting.xhtml"},"6253":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DroppingForImport.xhtml"},"6254":{"type":"S:modified","url":"/cleanup.xhtml"},"6255":{"type":"S:modified","url":"/issues/110522_ListAndTextScrollWorldAfterReachingTheirScrollBounds.xhtml"},"6256":{"type":"S:modified","url":"/projects/BP2012/simple.xhtml"},"6257":{"type":"S:modified","url":"/issues/110831_ScrolingWithNewClippingCodeDoesNotWork.xhtml"},"6258":{"type":"S:modified","url":"/issues/110923_ProtovisVisualizationBroken.xhtml"},"6259":{"type":"S:modified","url":"/issues/111019_PublishingPartsWithCommitMessages.xhtml"},"6260":{"type":"S:modified","url":"/demos/visualizations/jsl4tv-world-000.xhtml"},"6261":{"type":"S:modified","url":"/users/markoroeder/SVN2CodeDB.xhtml"},"6262":{"type":"S:modified","url":"/users/sofia/trac_tickets_pavel.xhtml"},"6263":{"type":"S:modified","url":"/projects/BP2012/2011-11-02-talk.xhtml"},"6264":{"type":"S:modified","url":"/users/fbo/dojoWorld.xhtml"},"6265":{"type":"S:modified","url":"/users/Dan/NewPresentation2.xhtml"},"6266":{"type":"S:modified","url":"/users/tmohr/slide6.xhtml"},"6267":{"type":"S:modified","url":"/projects/DebuggingJS/draft.xhtml"},"6268":{"type":"S:modified","url":"/draft/NewWorld/DirectGrabDragAndCopy.xhtml"},"6269":{"type":"S:modified","url":"/users/sofia/protovis.xhtml"},"6270":{"type":"S:modified","url":"/blank.xhtml"},"6271":{"type":"S:modified","url":"/users/robertkrahn/testCPUVis.xhtml"},"6272":{"type":"S:modified","url":"/projects/Lively2/Converting.xhtml"},"6273":{"type":"S:modified","url":"/users/andyburnett/start.xhtml"},"6274":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/RichText.xhtml"},"6275":{"type":"S:modified","url":"/draft/NewWorld/Presentations.xhtml"},"6276":{"type":"S:modified","url":"/users/robertkrahn/garminExport.xhtml"},"6277":{"type":"S:modified","url":"/tests.xhtml"},"6278":{"type":"S:modified","url":"/issues/110625_PartUploadBroken.xhtml"},"6279":{"type":"S:modified","url":"/issues/fixed/110517_ConnectionsWantToAccessClosureValues.xhtml"},"6280":{"type":"S:modified","url":"/users/markoroeder/DataVisualization.xhtml"},"6281":{"type":"S:modified","url":"/draft/NewWorld/PartsBinSearch.xhtml"},"6282":{"type":"S:modified","url":"/issues/110529_InsertingSomethingInTextRemovesFocus.xhtml"},"6283":{"type":"S:modified","url":"/issues/110512_ListSelectionInScbDoesNotWorkCorrectly.xhtml"},"6284":{"type":"S:modified","url":"/issues/111017_StaticBindingOfSuperInClosures.xhtml"},"6285":{"type":"S:modified","url":"/demos/contextjs/flattening.xhtml"},"6286":{"type":"S:modified","url":"/issues/110511_LinesCannotBeClicked.xhtml"},"6287":{"type":"S:modified","url":"/users/lauritz/miniprojects/gettingStarted.xhtml"},"6288":{"type":"S:modified","url":"/users/markoroeder/Part2Class.xhtml"},"6289":{"type":"S:modified","url":"/users/Dan/EmptyWorld2.xhtml"},"6290":{"type":"S:modified","url":"/projects/LivelyKernel/nextSteps.xhtml"},"6291":{"type":"S:modified","url":"/users/wlcleveland/start.xhtml"},"6292":{"type":"S:modified","url":"/users/swart/start.xhtml"},"6293":{"type":"S:modified","url":"/users/Dan/QBF2Bb.xhtml"},"6294":{"type":"S:modified","url":"/users/tmohr/slide1.xhtml"},"6295":{"type":"S:modified","url":"/users/robertkrahn/DetermineModuleDependencies.xhtml"},"6296":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksHubert2.xhtml"},"6297":{"type":"S:modified","url":"/projects/CodeDB2/info_restructuring.xhtml"},"6298":{"type":"S:modified","url":"/users/Dan/PM/DemoForm.xhtml"},"6299":{"type":"S:modified","url":"/issues/110728_GraffleLayerGrabsWorld.xhtml"},"6300":{"type":"S:modified","url":"/users/Dan/Activities1.xhtml"},"6301":{"type":"S:modified","url":"/users/tmohr/emtpy.xhtml"},"6302":{"type":"S:modified","url":"/documentation/ElProfesor.xhtml"},"6303":{"type":"S:modified","url":"/issues/111022_TheExplorerScrollingIsBroken.xhtml"},"6304":{"type":"S:modified","url":"/users/Dan/WindowPlay.xhtml"},"6305":{"type":"S:modified","url":"/users/martin/Measurements.xhtml"},"6306":{"type":"S:modified","url":"/users/fbo/layoutCycle.xhtml"},"6307":{"type":"S:modified","url":"/documentation/7funthings.xhtml"},"6308":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/jensWorld.xhtml"},"6309":{"type":"S:modified","url":"/users/iho/start.xhtml"},"6310":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicIntroduction.xhtml"},"6311":{"type":"S:modified","url":"/BrokenWorldRepairSite.xhtml"},"6312":{"type":"S:modified","url":"/users/fbo/serverDevPlayground.xhtml"},"6313":{"type":"S:modified","url":"/users/ahold/TrackerDev.xhtml"},"6314":{"type":"S:modified","url":"/users/Dan/LiveWeb3.xhtml"},"6315":{"type":"S:modified","url":"/documentation/Template.xhtml"},"6316":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/secondWorld.xhtml"},"6317":{"type":"S:modified","url":"/documentation/ContextJS.xhtml"},"6318":{"type":"S:modified","url":"/projects/CodeDB2/CodeDB2Dev.xhtml"},"6319":{"type":"S:modified","url":"/users/markoroeder/GrammarTesting.xhtml"},"6320":{"type":"S:modified","url":"/documentation/ScriptingTutorial.xhtml"},"6321":{"type":"S:modified","url":"/users/fbo/deserializeMorphs.xhtml"},"6322":{"type":"S:modified","url":"/issues/110722_ClipModeShouldClipMorphsInTheirBounds.xhtml"},"6323":{"type":"S:modified","url":"/documentation/videoTutorials/110714_NodeJSServerCreation.xhtml"},"6324":{"type":"S:modified","url":"/users/fbo/scrollFixes.xhtml"},"6325":{"type":"S:modified","url":"/users/fbo/empty.xhtml"},"6326":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksConrad.xhtml"},"6327":{"type":"S:modified","url":"/users/keith/deadly.xhtml"},"6328":{"type":"S:modified","url":"/users/robertkrahn/nonexisting2.xhtml"},"6329":{"type":"S:modified","url":"/users/Dan/QBFa.xhtml"},"6330":{"type":"S:modified","url":"/users/cschuster/debugging2.xhtml"},"6331":{"type":"S:modified","url":"/users/fbo/SlickGrid.xhtml"},"6332":{"type":"S:modified","url":"/users/constantin/Snake.xhtml"},"6333":{"type":"S:modified","url":"/documentation/worlds.xhtml"},"6334":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld2.xhtml"},"6335":{"type":"S:modified","url":"/issues/110609_TabIndentionForBulletPoints.xhtml"},"6336":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasksAstrid.xhtml"},"6337":{"type":"S:modified","url":"/users/sofia/video2.xhtml"},"6338":{"type":"S:modified","url":"/users/keith/notes.xhtml"},"6339":{"type":"S:modified","url":"/issues/110528_ClickBehaviorOfScbIsStrange.xhtml"},"6340":{"type":"S:modified","url":"/demos/Parts.xhtml"},"6341":{"type":"S:modified","url":"/demos/WhereArePeopleFrom.xhtml"},"6342":{"type":"S:modified","url":"/issues/110510_MorphsAreDroppedWhenDndedFromPartsbin.xhtml"},"6343":{"type":"S:modified","url":"/users/fbo/jqueryTabulate.xhtml"},"6344":{"type":"S:modified","url":"/issues/111026_CustomFormattedBinsInPartsBin.xhtml"},"6345":{"type":"S:modified","url":"/users/fbo/learningLively2.xhtml"},"6346":{"type":"S:modified","url":"/issues/111017_svgIssues.xhtml"},"6347":{"type":"S:modified","url":"/users/markoroeder/NewStreamwork.xhtml"},"6348":{"type":"S:modified","url":"/users/markoroeder/MapImport.xhtml"},"6349":{"type":"S:modified","url":"/documentation/Serialization-Interface.xhtml"},"6350":{"type":"S:modified","url":"/issues/fixed/110511_DroppablebehaviorParts.xhtml"},"6351":{"type":"S:modified","url":"/users/markoroeder/newDraft.xhtml"},"6352":{"type":"S:modified","url":"/projects/Lively2/ReleasePlanning.xhtml"},"6353":{"type":"S:modified","url":"/draft/NewWorld/LinesAndCurves.xhtml"},"6354":{"type":"S:modified","url":"/users/Dan/HaloExpt.xhtml"},"6355":{"type":"S:modified","url":"/issues/110921_DropshadowIsOff.xhtml"},"6356":{"type":"S:modified","url":"/users/keith/versionControl.xhtml"},"6357":{"type":"S:modified","url":"/issues/111021_HowToStoreObjectsOnTheServer.xhtml"},"6358":{"type":"S:modified","url":"/documentation/videoTutorials/SystemBrowserDiffingVersions.xhtml"},"6359":{"type":"S:modified","url":"/users/fbo/blank.xhtml"},"6360":{"type":"S:modified","url":"/demos/Clock.xhtml"},"6361":{"type":"S:modified","url":"/users/fbo/scrolling.xhtml"},"6362":{"type":"S:modified","url":"/users/markoroeder/DraftInfoItem.xhtml"},"6363":{"type":"S:modified","url":"/documentation/HowConnectWorks.xhtml"},"6364":{"type":"S:modified","url":"/users/fbo/layoutTests.xhtml"},"6365":{"type":"S:modified","url":"/issues/fixed/110407_NoScriptEditorInNewWorld.xhtml"},"6366":{"type":"S:modified","url":"/projects/BP2012/Requests.xhtml"},"6367":{"type":"S:modified","url":"/users/template/pleaseDoNotChangeOrRemoveWorldsInThisDirectory.xhtml"},"6368":{"type":"S:modified","url":"/users/fbo/journalBug.xhtml"},"6369":{"type":"S:modified","url":"/issues/110701_VisualBindingToStarBroken.xhtml"},"6370":{"type":"S:modified","url":"/users/tmohr/slide7.xhtml"},"6371":{"type":"S:modified","url":"/issues/110723_PathBroken.xhtml"},"6372":{"type":"S:modified","url":"/demos/MyNewWikiPage.xhtml"},"6373":{"type":"S:modified","url":"/issues/fixed/110510_SafariWontOpenToolsFromPartsbin.xhtml"},"6374":{"type":"S:modified","url":"/issues/110720_FirefoxCannotDisplaySvgBasedMorphs.xhtml"},"6375":{"type":"S:modified","url":"/draft/NewWorld/RichText.xhtml"},"6376":{"type":"S:modified","url":"/users/alexwarth/start.xhtml"},"6377":{"type":"S:modified","url":"/draft/NewWorld/SimpleBrowser.xhtml"},"6378":{"type":"S:modified","url":"/draft/NewWorld/OldMorphicObjectConversion.xhtml"},"6379":{"type":"S:modified","url":"/documentation/profesores.xhtml"},"6380":{"type":"S:modified","url":"/documentation/videoTutorials/template.xhtml"},"6381":{"type":"S:modified","url":"/issues/110629_WindmillDoesNotShowInThePartsBin.xhtml"},"6382":{"type":"S:modified","url":"/issues/110519_PasteBug.xhtml"},"6383":{"type":"S:modified","url":"/draft/NewWorld/Engine.xhtml"},"6384":{"type":"S:modified","url":"/draft/NewWorld/ProgressForRequests.xhtml"},"6385":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/Sliders.xhtml"},"6386":{"type":"S:modified","url":"/users/tmohr/bespin.xhtml"},"6387":{"type":"S:modified","url":"/users/fbo/scrollPlayground.xhtml"},"6388":{"type":"S:modified","url":"/users/tfleig/test1.xhtml"},"6389":{"type":"S:modified","url":"/users/fbo/gitSetup.xhtml"},"6390":{"type":"S:modified","url":"/users/constantin/start.xhtml"},"6391":{"type":"S:modified","url":"/users/Dan/Test.xhtml"},"6392":{"type":"S:modified","url":"/issues/110630_MenusLeaveVisibleBounds.xhtml"},"6393":{"type":"S:modified","url":"/projects/CodeDB2/playground_tilman.xhtml"},"6394":{"type":"S:modified","url":"/users/ohshima/start.xhtml"},"6395":{"type":"S:modified","url":"/issues/110704_MapsAreBlacksAfterDeserialization.xhtml"},"6396":{"type":"S:modified","url":"/users/Kat/MyQBF.xhtml"},"6397":{"type":"S:modified","url":"/users/markoroeder/SerializationDebug.xhtml"},"6398":{"type":"S:modified","url":"/issues/111012_BorderWidthIssue.xhtml"},"6399":{"type":"S:modified","url":"/users/mzimmerm/etoys-development-notes.xhtml"},"6400":{"type":"S:modified","url":"/users/Dan/EngineTest.xhtml"},"6401":{"type":"S:modified","url":"/users/tmohr/slide2.xhtml"},"6402":{"type":"S:modified","url":"/users/sofia/protovisPrototype.xhtml"},"6403":{"type":"S:modified","url":"/users/sofia/sofia/georgi/new_world.xhtml"},"6404":{"type":"S:modified","url":"/documentation/FAQ.xhtml"},"6405":{"type":"S:modified","url":"/demos/contextjs/SimpleObjectTracing.xhtml"},"6406":{"type":"S:modified","url":"/users/Dan/PM/Dan.xhtml"},"6407":{"type":"S:modified","url":"/issues/fixed/110518_PartsbinMoveIsNoRealMove.xhtml"},"6408":{"type":"S:modified","url":"/sandbox/sandbox-dgc.xhtml"},"6409":{"type":"S:modified","url":"/issues/110610_AddNewMethodBroken.xhtml"},"6410":{"type":"S:modified","url":"/users/Dan/CC.xhtml"},"6411":{"type":"S:modified","url":"/draft/NewWorld/StringsAsRichText.xhtml"},"6412":{"type":"S:modified","url":"/issues/110704_ClickingOnProtoVisDrawing.xhtml"},"6413":{"type":"S:modified","url":"/users/fbo/layoutGrid.xhtml"},"6414":{"type":"S:modified","url":"/users/Dan/Garbage.xhtml"},"6415":{"type":"S:modified","url":"/welcome.xhtml"},"6416":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/textEditor.xhtml"},"6417":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototypeQBF.xhtml"},"6418":{"type":"S:modified","url":"/documentation/videoTutorials/110429_TextAttributes.xhtml"},"6419":{"type":"S:modified","url":"/users/fbo/pongServer.xhtml"},"6420":{"type":"S:modified","url":"/users/miku/start.xhtml"},"6421":{"type":"S:modified","url":"/users/Dan/PM/Lively2.xhtml"},"6422":{"type":"S:modified","url":"/users/cschuster/dev-alpha.xhtml"},"6423":{"type":"S:modified","url":"/users/Dan/PM/PowerPointNot.xhtml"},"6424":{"type":"S:modified","url":"/users/fbo/layoutConfigurator.xhtml"},"6425":{"type":"S:modified","url":"/draft/NewWorld/Diffing.xhtml"},"6426":{"type":"S:modified","url":"/issues/110604_GriddingDoesNotWorkRight.xhtml"},"6427":{"type":"S:modified","url":"/issues/110927_TranslationAndPositionAreNotEqualWhenMorphHasAOwnerWithModifiedOrigin.xhtml"},"6428":{"type":"S:modified","url":"/issues/110809_ChangeOrRemovedScriptsAfterSerializationWrong.xhtml"},"6429":{"type":"S:modified","url":"/issues/110729_ShowHaloItemDuringHaloAction.xhtml"},"6430":{"type":"S:modified","url":"/users/tmohr/demo.xhtml"},"6431":{"type":"S:modified","url":"/documentation/overview.xhtml"},"6432":{"type":"S:modified","url":"/demos/LiveWeb/iPad.xhtml"},"6433":{"type":"S:modified","url":"/issues/110628_MorphOffsetsAfterGrabbingAreBroken.xhtml"},"6434":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SCBMigration.xhtml"},"6435":{"type":"S:modified","url":"/users/Dan/LiveWeb4.xhtml"},"6436":{"type":"S:modified","url":"/users/olmeca/olmeca3.xhtml"},"6437":{"type":"S:deleted","url":null},"6438":{"type":"S:modified","url":"/issues/111026_AccessingVersionsUsesWrongURLAndVersionCombination.xhtml"},"6439":{"type":"S:modified","url":"/users/sofia/sofia/georgi/video_experiments1.xhtml"},"6440":{"type":"S:modified","url":"/users/wlcleveland/shadowworld.xhtml"},"6441":{"type":"S:modified","url":"/users/mzimmerm/mz-world-from-start-xhtml.xhtml"},"6442":{"type":"S:modified","url":"/users/Dan/FormLayoutExpt.xhtml.xhtml"},"6443":{"type":"S:modified","url":"/users/robertkrahn/writeSite.xhtml"},"6444":{"type":"S:modified","url":"/draft/NewWorld/CurveDrafting.xhtml"},"6445":{"type":"S:modified","url":"/draft/NewWorld/ParseApacheServerLog.xhtml"},"6446":{"type":"S:modified","url":"/issues/fixed/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"6447":{"type":"S:modified","url":"/projects/BP2012/h2.xhtml"},"6448":{"type":"S:modified","url":"/draft/NewWorld/110521_BetterLists.xhtml"},"6449":{"type":"S:modified","url":"/users/Dan/PM/layoutExpts.xhtml"},"6450":{"type":"S:modified","url":"/users/test50/start.xhtml"},"6451":{"type":"S:modified","url":"/MovePages.xhtml"},"6452":{"type":"S:modified","url":"/documentation/Rendering.xhtml"},"6453":{"type":"S:modified","url":"/users/fbo/layoutPlayground.xhtml"},"6454":{"type":"S:modified","url":"/users/martin/measurements/webwerkstatt.xhtml"},"6455":{"type":"S:modified","url":"/issues/111005_MouseMoveChangesFocus.xhtml"},"6456":{"type":"S:modified","url":"/documentation/videoTutorials/110419_ManipulateMorphs.xhtml"},"6457":{"type":"S:modified","url":"/projects/Lively2/Release.xhtml"},"6458":{"type":"S:modified","url":"/issues/110523_RelayMouseEventsToMorphBeneath.xhtml"},"6459":{"type":"S:modified","url":"/users/tmohr/myNewWorld.xhtml"},"6460":{"type":"S:modified","url":"/users/robertkrahn/thingsToExplain.xhtml"},"6461":{"type":"S:modified","url":"/users/fbo/start.xhtml"},"6462":{"type":"S:modified","url":"/issues/110511_WeHaveNoCheckbox.xhtml"},"6463":{"type":"S:modified","url":"/users/Dan/PM/FormsDraft1.xhtml"},"6464":{"type":"S:modified","url":"/users/Dan/EmptyWorld.xhtml"},"6465":{"type":"S:modified","url":"/users/sofia/georgi/empty.xhtml"},"6466":{"type":"S:modified","url":"/issues/110609_AccidentalGrabbing.xhtml"},"6467":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/NewMorphicDevelopment.xhtml"},"6468":{"type":"S:modified","url":"/users/lauritz/personal/snippets.xhtml"},"6469":{"type":"S:modified","url":"/users/lauritz/personal/thoughts.xhtml"},"6470":{"type":"S:modified","url":"/users/Dan/NewEmptyWorld.xhtml"},"6471":{"type":"S:modified","url":"/users/markoroeder/DOMRemovalPlugin.xhtml"},"6472":{"type":"S:modified","url":"/documentation/LivelyInstallation.xhtml"},"6473":{"type":"S:modified","url":"/issues/110530_MakeSyntaxHighlightingFaster.xhtml"},"6474":{"type":"S:modified","url":"/users/lauritz/miniprojects/pongClient.xhtml"},"6475":{"type":"S:modified","url":"/issues/110831_ButtonLabelsAreNotCenteredAnymore.xhtml"},"6476":{"type":"S:modified","url":"/sandbox/ColorfulWindmills.xhtml"},"6477":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/todo.xhtml"},"6478":{"type":"S:modified","url":"/users/robertkrahn/simple.xhtml"},"6479":{"type":"S:modified","url":"/issues/111004_SavingAnEmptyTextObjectSetsTheStringToUndefined.xhtml"},"6480":{"type":"S:modified","url":"/issues/TextDebugWorld.xhtml"},"6481":{"type":"S:modified","url":"/documentation/ShortcutList.xhtml"},"6482":{"type":"S:modified","url":"/users/tmohr/slide8.xhtml"},"6483":{"type":"S:modified","url":"/issues/110522_ClickingTheScrollbarInListsDoesNotWork.xhtml"},"6484":{"type":"S:modified","url":"/draft/NewWorld/ObjectSerializationGraph.xhtml"},"6485":{"type":"S:modified","url":"/users/Dan/TextTest.xhtml"},"6486":{"type":"S:modified","url":"/users/dtornow/start.xhtml"},"6487":{"type":"S:modified","url":"/projects/BP2012/start.xhtml"},"6488":{"type":"S:modified","url":"/users/Dan/Empty.xhtml"},"6489":{"type":"S:modified","url":"/users/keith/start.xhtml"},"6490":{"type":"S:modified","url":"/users/gerald24/start.xhtml"},"6491":{"type":"S:modified","url":"/documentation/videoTutorial.xhtml"},"6492":{"type":"S:modified","url":"/draft/NewWorld/DraftSelection.xhtml"},"6493":{"type":"S:modified","url":"/demos/LiveWeb/Pheonix.xhtml"},"6494":{"type":"S:modified","url":"/users/ahold/siteTracking.xhtml"},"6495":{"type":"S:modified","url":"/issues/110608_GetterAndSettersInIe9.xhtml"},"6496":{"type":"S:modified","url":"/users/iho/1.xhtml"},"6497":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/bootstrap.xhtml"},"6498":{"type":"S:modified","url":"/projects/BP2012/StoriesAndTasks.xhtml"},"6499":{"type":"S:modified","url":"/users/Dan/PM/FormsScripter.xhtml"},"6500":{"type":"S:modified","url":"/users/fbo/cassowary.xhtml"},"6501":{"type":"S:modified","url":"/users/MrSteve/start.xhtml"},"6502":{"type":"S:modified","url":"/issues/CreateIssuePage.xhtml"},"6503":{"type":"S:modified","url":"/users/fbo/xamppInstallerWindows.xhtml"},"6504":{"type":"S:modified","url":"/users/Dan/PM/Phoenix.xhtml"},"6505":{"type":"S:modified","url":"/users/tmohr/WebGL.xhtml"},"6506":{"type":"S:modified","url":"/documentation/PartsBin.xhtml"},"6507":{"type":"S:modified","url":"/users/mzimmerm/start.xhtml"},"6508":{"type":"S:modified","url":"/users/markoroeder/SequenceDiagram.xhtml"},"6509":{"type":"S:modified","url":"/demos/Wiki.xhtml"},"6510":{"type":"S:modified","url":"/documentation/Events.xhtml"},"6511":{"type":"S:modified","url":"/users/tmohr/slide3.xhtml"},"6512":{"type":"S:modified","url":"/users/hjust/blank.xhtml"},"6513":{"type":"S:modified","url":"/Lively2.xhtml"},"6514":{"type":"S:modified","url":"/users/tfleig/template.xhtml"},"6515":{"type":"S:modified","url":"/issues/111021_PianoDoesNotMakeASound.xhtml"},"6516":{"type":"S:modified","url":"/issues/fixed/110426_NewStatusMessagesWithMore.xhtml"},"6517":{"type":"S:modified","url":"/users/martin/tests.xhtml"},"6518":{"type":"S:modified","url":"/users/sofia/empty.xhtml"},"6519":{"type":"S:modified","url":"/issues/110601_PartsDoNotLoadThereRequireModulesOnWorldLoad.xhtml"},"6520":{"type":"S:modified","url":"/draft/NewWorld/Sliders.xhtml"},"6521":{"type":"S:modified","url":"/users/davidorban/start.xhtml"},"6522":{"type":"S:modified","url":"/users/orjan/start.xhtml"},"6523":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-Final.xhtml"},"6524":{"type":"S:modified","url":"/users/sofia/video.xhtml"},"6525":{"type":"S:modified","url":"/demos/contextjs/PersonExample.xhtml"},"6526":{"type":"S:modified","url":"/users/zeebeedee/start.xhtml"},"6527":{"type":"S:modified","url":"/users/robertkrahn/textRain.xhtml"},"6528":{"type":"S:modified","url":"/users/fbo/databaseForms.xhtml"},"6529":{"type":"S:modified","url":"/draft/NewWorld/DraftUploadPDFs.xhtml"},"6530":{"type":"S:modified","url":"/users/olmeca/olmeca4.xhtml"},"6531":{"type":"S:modified","url":"/users/lauritz/miniprojects/livelyExplorer.xhtml"},"6532":{"type":"S:modified","url":"/documentation/videoTutorials/110421_CreatingVideoTutorials.xhtml"},"6533":{"type":"S:modified","url":"/draft/NewWorld/MartinsObjectDiffInNewWorlds.xhtml"},"6534":{"type":"S:modified","url":"/users/Dan/LineTest.xhtml"},"6535":{"type":"S:modified","url":"/draft/NewWorld/Translator.xhtml"},"6536":{"type":"S:modified","url":"/documentation/Styles.xhtml"},"6537":{"type":"S:modified","url":"/draft/NewWorld/MorphOrigin.xhtml"},"6538":{"type":"S:modified","url":"/screenshots.xhtml"},"6539":{"type":"S:modified","url":"/users/Dan/LiveWeb.xhtml"},"6540":{"type":"S:modified","url":"/demos/AntotherPageWithAClock.xhtml"},"6541":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens2.xhtml"},"6542":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/improvingTheWebPag.xhtml"},"6543":{"type":"S:modified","url":"/users/fbo/constraintLayoutExample.xhtml"},"6544":{"type":"S:modified","url":"/documentation/TutorialList.xhtml"},"6545":{"type":"S:modified","url":"/draft/NewWorld/MakeEventsTriggerOnCapture.xhtml"},"6546":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/prototype.xhtml"},"6547":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-bk.xhtml"},"6548":{"type":"S:modified","url":"/users/Dan/QBF.xhtml"},"6549":{"type":"S:modified","url":"/users/tmohr/slides.xhtml"},"6550":{"type":"S:modified","url":"/users/Dan/ButtonTest.xhtml"},"6551":{"type":"S:modified","url":"/users/fbo/textInVbox.xhtml"},"6552":{"type":"S:modified","url":"/users/sofia/externalShapeExample.xhtml"},"6553":{"type":"S:modified","url":"/users/hjust/playground.xhtml"},"6554":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/halloJens.xhtml"},"6555":{"type":"S:modified","url":"/users/tmohr/morphSpecificRendering.xhtml"},"6556":{"type":"S:modified","url":"/users/fbo/dataGrid.xhtml"},"6557":{"type":"S:modified","url":"/issues/111020_HighlightTheTargetOfDropping.xhtml"},"6558":{"type":"S:modified","url":"/users/mzimmerm/help.xhtml"},"6559":{"type":"S:modified","url":"/users/fbo/jqGrid.xhtml"},"6560":{"type":"S:modified","url":"/projects/CodeDB2/contents.xhtml"},"6561":{"type":"S:modified","url":"/demos/PartsBin.xhtml"},"6562":{"type":"S:modified","url":"/users/sofia/martin/empty.xhtml"},"6563":{"type":"S:modified","url":"/users/markoroeder/research/Internship.xhtml"},"6564":{"type":"S:modified","url":"/users/tmohr/NewWorld.xhtml"},"6565":{"type":"S:modified","url":"/users/bert/sandbox.xhtml"},"6566":{"type":"S:modified","url":"/draft/NewWorld/GoogleMaps.xhtml"},"6567":{"type":"S:modified","url":"/demos/contextjs/NewContents.xhtml"},"6568":{"type":"S:modified","url":"/users/fbo/meteora.xhtml"},"6569":{"type":"S:modified","url":"/users/Dan/PM/Forms.xhtml"},"6570":{"type":"S:modified","url":"/issues/draft/NewWorld/CurveDrafting_EmbeddableWorld.xhtml"},"6571":{"type":"S:modified","url":"/projects/LivelyHelping/draftLK2.xhtml"},"6572":{"type":"S:modified","url":"/users/lauritz/miniprojects/objectEditor.xhtml"},"6573":{"type":"S:modified","url":"/users/fbo/blank2.xhtml"},"6574":{"type":"S:modified","url":"/issues/110509_ConnectionsInputsGetStackedUp.xhtml"},"6575":{"type":"S:modified","url":"/draft/NewWorld/SimpleLayout.xhtml"},"6576":{"type":"S:modified","url":"/users/mkilling/iKuh2.xhtml"},"6577":{"type":"S:modified","url":"/users/fbo/profesorControls.xhtml"},"6578":{"type":"S:modified","url":"/documentation/Serialization-Overview.xhtml"},"6579":{"type":"S:modified","url":"/users/sofia/georgi/PropertySheet.xhtml"},"6580":{"type":"S:modified","url":"/users/sofia/martin/1.xhtml"},"6581":{"type":"S:modified","url":"/issues/110828_HaloInfoLabelsWontShowUp.xhtml"},"6582":{"type":"S:modified","url":"/users/sofia/georgi/styles.xhtml"},"6583":{"type":"S:modified","url":"/users/fbo/doc/profesores.xhtml"},"6584":{"type":"S:modified","url":"/users/markoroeder/MorphicProtoVis2.xhtml"},"6585":{"type":"S:modified","url":"/issues/110516_EnterAtTextEndDoesNotAddLineBreak.xhtml"},"6586":{"type":"S:modified","url":"/projects/Lively2/LivelyMap.xhtml"},"6587":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/colorFiel.xhtml"},"6588":{"type":"S:modified","url":"/users/tmohr/slide9.xhtml"},"6589":{"type":"S:modified","url":"/issues/110518_TextAttributesBreakOnPaste.xhtml"},"6590":{"type":"S:modified","url":"/demos/LiveWeb/VisualBindings.xhtml"},"6591":{"type":"S:modified","url":"/documentation/Layout.xhtml"},"6592":{"type":"S:modified","url":"/documentation/repository.xhtml"},"6593":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/DontOverwriteChangedFile.xhtml"},"6594":{"type":"S:modified","url":"/users/Dan/Tests/TextTest.xhtml"},"6595":{"type":"S:modified","url":"/issues/fixed/110412_NewSimpleBrowser.xhtml"},"6596":{"type":"S:modified","url":"/users/fbo/proposedUiFixes.xhtml"},"6597":{"type":"S:modified","url":"/issues/NewTemplate.xhtml"},"6598":{"type":"S:modified","url":"/documentation/SVNOnServer.xhtml"},"6599":{"type":"S:modified","url":"/issues/110524_PartsSerializeTheirWorldsSometimes.xhtml"},"6600":{"type":"S:modified","url":"/users/Dan/PM/May.xhtml"},"6601":{"type":"S:modified","url":"/documentation/ignoreOrDisableEvents.xhtml"},"6602":{"type":"S:modified","url":"/issues/110522_FixSubmorphOrderWhenAddingMorphs.xhtml"},"6603":{"type":"S:modified","url":"/users/Dan/CCbkup.xhtml"},"6604":{"type":"S:modified","url":"/users/Dan/LiveWeb2-bk.xhtml"},"6605":{"type":"S:modified","url":"/issues/110704_DontGrabTextWithJensFancyGrabber.xhtml"},"6606":{"type":"S:modified","url":"/users/lauritz/blank.xhtml"},"6607":{"type":"S:modified","url":"/draft/NewWorld/Dragging.xhtml"},"6608":{"type":"S:modified","url":"/users/lauritz/personal/todo.xhtml"},"6609":{"type":"S:modified","url":"/users/fbo/flexigrid.xhtml"},"6610":{"type":"S:modified","url":"/draft/NewWorld/LatestFileChangeViewer.xhtml"},"6611":{"type":"S:modified","url":"/issues/fixed/110729_QucikBrownFoxBackspaceBug.xhtml"},"6612":{"type":"S:modified","url":"/users/lauritz/miniprojects/elProfesorWerkstatt.xhtml"},"6613":{"type":"S:modified","url":"/documentation/VisualBindings.xhtml"},"6614":{"type":"S:modified","url":"/users/robertkrahn/notexisting.xhtml"},"6615":{"type":"S:modified","url":"/draft/NewWorld/TreeMap.xhtml"},"6616":{"type":"S:modified","url":"/draft/NewWorld/Empty.xhtml"},"6617":{"type":"S:modified","url":"/users/Dan/QBF2B.xhtml"},"6618":{"type":"S:modified","url":"/issues/111019_MergingVersionsOfAnObject.xhtml"},"6619":{"type":"S:modified","url":"/issues/110619_SerializingMorphsThatAreNotInTheSceneGraphGivesStrangeErrors.xhtml"},"6620":{"type":"S:modified","url":"/users/lauritz/test.xhtml"},"6621":{"type":"S:modified","url":"/users/tilman.giese/start.xhtml"},"6622":{"type":"S:modified","url":"/users/tmohr/slide4.xhtml"},"6623":{"type":"S:modified","url":"/sandbox/PartsBin.xhtml"},"6624":{"type":"S:modified","url":"/users/markoroeder/DraftObjectExplorer.xhtml"},"6625":{"type":"S:modified","url":"/demos/WhereArePeopleFrom2.xhtml"},"6626":{"type":"S:modified","url":"/projects/CodeDB2/SVN2CodeDB.xhtml"},"6627":{"type":"S:modified","url":"/users/fbo/sqliteQueryServer.xhtml"},"6628":{"type":"S:modified","url":"/issues/fixed/110513_ScrollingWhenSearching.xhtml"},"6629":{"type":"S:modified","url":"/users/lauritz/miniprojects/bugFixing/referencedTextBug.xhtml"},"6630":{"type":"S:modified","url":"/issues/fixed/111020_ScrollingInScripteditorIsBroken.xhtml"},"6631":{"type":"S:modified","url":"/issues/110513_FindMethodsShouldSearchInClassMethodsAndObjects.xhtml"},"6632":{"type":"S:modified","url":"/draft/NewWorld/NewTestWidgetAgain.xhtml"},"6633":{"type":"S:modified","url":"/users/Dan/DansSlideOverview.xhtml"},"6634":{"type":"S:modified","url":"/users/fbo/exportCore.xhtml"},"6635":{"type":"S:modified","url":"/users/olmeca/olmeca.xhtml"},"6636":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/firstWorld.xhtml"},"6637":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/SearchSourceCodeWidge.xhtml"},"6638":{"type":"S:modified","url":"/users/Dan/CircleTest.xhtml"},"6639":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest2.xhtml"},"6640":{"type":"S:modified","url":"/users/fbo/sandbox.xhtml"},"6641":{"type":"S:modified","url":"/issues/110728_BackspaceTriggersBrowserBack.xhtml"},"6642":{"type":"S:modified","url":"/users/markoroeder/empty.xhtml"},"6643":{"type":"S:modified","url":"/draft/NewWorld/DropStyles.xhtml"},"6644":{"type":"S:modified","url":"/issues/fixed/110513_MakeSyntaxHighlightingWorkInNewWorld.xhtml"},"6645":{"type":"S:modified","url":"/users/MrSteve/lorenzo.start.xhtml"},"6646":{"type":"S:modified","url":"/users/Dan/PM/LiveWeb.xhtml"},"6647":{"type":"S:modified","url":"/users/Dan/PM/FormLayoutExpt-start.xhtml"},"6648":{"type":"S:modified","url":"/draft/NewWorld/ScriptEditor.xhtml"},"6649":{"type":"S:modified","url":"/users/mzimmerm/test-build-simple-webapp.xhtml"},"6650":{"type":"S:modified","url":"/issues/110628_SettingTetAttributesDoesNotAlwaysWork.xhtml"},"6651":{"type":"S:modified","url":"/users/lauritz/miniprojects/spiel.xhtml"},"6652":{"type":"S:modified","url":"/users/robertkrahn/DraftPresentation.xhtml"},"6653":{"type":"S:modified","url":"/users/robertkrahn/SceneRefactoring/layouting.xhtml"},"6654":{"type":"S:modified","url":"/users/Dan/Tests/SerializationTest.xhtml"},"6655":{"type":"S:modified","url":"/users/lauritz/miniprojects/spikes/connectedExplorer.xhtml"},"6656":{"type":"S:modified","url":"/users/fbo/nodejsServerDevelopment.xhtml"},"6657":{"type":"S:modified","url":"/draft/NewWorld/QBFForPartsBin.xhtml"},"6658":{"type":"S:modified","url":"/issues/fixed/110628_CommandAndCurlyBracketGoesBackInBrowserHistory.xhtml"},"6659":{"type":"S:modified","url":"/users/lauritz/miniprojects/connections.xhtml"},"6660":{"type":"S:modified","url":"/users/ahold/start.xhtml"},"6661":{"type":"S:modified","url":"/users/markus/FileBrowser.xhtml"},"6662":{"type":"S:modified","url":"/demos/LiveWeb/CPUVisualizationFinal.xhtml"},"6663":{"type":"S:modified","url":"/users/fbo/jsUiWidgetLibResearch.xhtml"},"6664":{"type":"S:modified","url":"/users/fbo/constraintLayout.xhtml"},"6665":{"type":"S:modified","url":"/users/Dan/Tests/LineTest.xhtml"},"6666":{"type":"S:modified","url":"/sandbox/sandbox.xhtml"},"6667":{"type":"S:modified","url":"/users/fbo/versionControl.xhtml"},"6668":{"type":"S:modified","url":"/draft/NewWorld/CreateDirWhenSaving.xhtml"},"6669":{"type":"S:modified","url":"/demos/Lively2.xhtml"},"6670":{"type":"S:modified","url":"/users/fbo/userIsolationAndGit.xhtml"},"6671":{"type":"S:modified","url":"/draft/NewWorld/KeyboardFocusForMorphs.xhtml"},"6672":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample2.xhtml"},"6673":{"type":"S:modified","url":"/users/oudenampsen/start.xhtml"},"6674":{"type":"S:modified","url":"/issues/110517_VlayoutShouldGrowAndShrink.xhtml"},"6675":{"type":"S:modified","url":"/users/fbo/dwarfcassowaryExample.xhtml"},"6676":{"type":"S:modified","url":"/users/tmohr/ace.xhtml"},"6677":{"type":"S:modified","url":"/users/fbo/empty2.xhtml"},"6678":{"type":"S:modified","url":"/users/martin/Workspace.xhtml"},"6679":{"type":"S:modified","url":"/users/Dan/Bug-List.xhtml"},"6680":{"type":"S:modified","url":"/users/Dan/QuickBrownFoxx.xhtml"},"6681":{"type":"S:modified","url":"/demos/LiveWeb/ServerScripting.xhtml"},"6682":{"type":"S:modified","url":"/demos/contextjs/WordCompletion.xhtml"},"6683":{"type":"S:modified","url":"/issues/110715_PartModuleRequirementsAreNotLoadedOnWorldLoad.xhtml"},"6684":{"type":"S:modified","url":"/users/fbo/fabiansTickets.xhtml"},"6685":{"type":"S:modified","url":"/issues/111020_ViewOfTextFieldsAfterSaving.xhtml"},"6686":{"type":"S:modified","url":"/users/martin/Template.xhtml"},"6687":{"type":"S:modified","url":"/projects/CodeDB2/Testing.xhtml"},"6688":{"type":"S:modified","url":"/users/keith/MySetup.xhtml"},"6689":{"type":"S:modified","url":"/users/fbo/noGrabLayer.xhtml"},"6690":{"type":"S:modified","url":"/demos/CPUVisualization.xhtml"},"6691":{"type":"S:modified","url":"/users/sofia/georgi/trac-report.xhtml"},"6692":{"type":"S:modified","url":"/users/fbo/HtmlWrapperMorph.xhtml"},"6693":{"type":"S:modified","url":"/users/sofia/documentation_afterLunch.xhtml"},"6694":{"type":"S:modified","url":"/demos/contextjs/Empty.xhtml"},"6695":{"type":"S:modified","url":"/users/fbo/setExtent.xhtml"},"6696":{"type":"S:modified","url":"/users/sofia/martin/2.xhtml"},"6697":{"type":"S:modified","url":"/users/markoroeder/DropboxUpload.xhtml"},"6698":{"type":"S:modified","url":"/users/fbo/newMouseDownLayer.xhtml"},"6699":{"type":"S:modified","url":"/issues/fixed/110914_StraightLineIssue.xhtml"},"6700":{"type":"S:modified","url":"/users/cschuster/debugging.xhtml"},"6701":{"type":"S:modified","url":"/users/sofia/prototVisPrototype.xhtml"},"6702":{"type":"S:modified","url":"/draft/NewWorld/DraggingAndGrabbing.xhtml"},"6703":{"type":"S:modified","url":"/users/lauritz/miniprojects/annotationPart.xhtml"},"6704":{"rev":111628,"author":"fbo","date":{"__isSmartRef__":true,"id":6705},"url":{"__isSmartRef__":true,"id":6706},"changes":[{"__isSmartRef__":true,"id":6707},{"__isSmartRef__":true,"id":6708}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6705":{"isSerializedDate":true,"string":"Wed Oct 26 2011 22:42:15 GMT+0200 (CEST)"},"6706":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/kernel/PartsBin","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6707":{"type":"S:deleted","url":null},"6708":{"type":"S:added","url":null},"6709":{"rev":111543,"author":"lauritz","date":{"__isSmartRef__":true,"id":6710},"url":{"__isSmartRef__":true,"id":6711},"changes":[{"__isSmartRef__":true,"id":6712}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6710":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:36:42 GMT+0200 (CEST)"},"6711":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6712":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6713":{"rev":111515,"author":"lauritz","date":{"__isSmartRef__":true,"id":6714},"url":{"__isSmartRef__":true,"id":6715},"changes":[{"__isSmartRef__":true,"id":6716}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6714":{"isSerializedDate":true,"string":"Tue Oct 25 2011 18:22:42 GMT+0200 (CEST)"},"6715":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6716":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6717":{"rev":111485,"author":"lauritz","date":{"__isSmartRef__":true,"id":6718},"url":{"__isSmartRef__":true,"id":6719},"changes":[{"__isSmartRef__":true,"id":6720}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6718":{"isSerializedDate":true,"string":"Tue Oct 25 2011 17:24:56 GMT+0200 (CEST)"},"6719":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6720":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6721":{"rev":109031,"author":"lauritz","date":{"__isSmartRef__":true,"id":6722},"url":{"__isSmartRef__":true,"id":6723},"changes":[{"__isSmartRef__":true,"id":6724}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6722":{"isSerializedDate":true,"string":"Fri Oct 14 2011 22:36:58 GMT+0200 (CEST)"},"6723":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6724":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6725":{"rev":106358,"author":"lauritz","date":{"__isSmartRef__":true,"id":6726},"url":{"__isSmartRef__":true,"id":6727},"changes":[{"__isSmartRef__":true,"id":6728}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6726":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:28:16 GMT+0200 (CEST)"},"6727":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6728":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6729":{"rev":106336,"author":"lauritz","date":{"__isSmartRef__":true,"id":6730},"url":{"__isSmartRef__":true,"id":6731},"changes":[{"__isSmartRef__":true,"id":6732}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6730":{"isSerializedDate":true,"string":"Mon Sep 26 2011 22:26:28 GMT+0200 (CEST)"},"6731":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6732":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6733":{"rev":106265,"author":"lauritz","date":{"__isSmartRef__":true,"id":6734},"url":{"__isSmartRef__":true,"id":6735},"changes":[{"__isSmartRef__":true,"id":6736}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6734":{"isSerializedDate":true,"string":"Mon Sep 26 2011 18:24:42 GMT+0200 (CEST)"},"6735":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6736":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6737":{"rev":106005,"author":"jenslincke","date":{"__isSmartRef__":true,"id":6738},"url":{"__isSmartRef__":true,"id":6739},"changes":[{"__isSmartRef__":true,"id":6740}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6738":{"isSerializedDate":true,"string":"Fri Sep 23 2011 11:59:29 GMT+0200 (CEST)"},"6739":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6740":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6741":{"rev":106002,"author":"jenslincke","date":{"__isSmartRef__":true,"id":6742},"url":{"__isSmartRef__":true,"id":6743},"changes":[{"__isSmartRef__":true,"id":6744}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6742":{"isSerializedDate":true,"string":"Fri Sep 23 2011 11:58:10 GMT+0200 (CEST)"},"6743":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6744":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6745":{"rev":105999,"author":"jenslincke","date":{"__isSmartRef__":true,"id":6746},"url":{"__isSmartRef__":true,"id":6747},"changes":[{"__isSmartRef__":true,"id":6748}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6746":{"isSerializedDate":true,"string":"Fri Sep 23 2011 11:57:20 GMT+0200 (CEST)"},"6747":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6748":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6749":{"rev":105518,"author":"lauritz","date":{"__isSmartRef__":true,"id":6750},"url":{"__isSmartRef__":true,"id":6751},"changes":[{"__isSmartRef__":true,"id":6752}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6750":{"isSerializedDate":true,"string":"Wed Sep 21 2011 20:41:23 GMT+0200 (CEST)"},"6751":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6752":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6753":{"rev":105517,"author":"lauritz","date":{"__isSmartRef__":true,"id":6754},"url":{"__isSmartRef__":true,"id":6755},"changes":[{"__isSmartRef__":true,"id":6756}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6754":{"isSerializedDate":true,"string":"Wed Sep 21 2011 20:40:24 GMT+0200 (CEST)"},"6755":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6756":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6757":{"rev":105514,"author":"lauritz","date":{"__isSmartRef__":true,"id":6758},"url":{"__isSmartRef__":true,"id":6759},"changes":[{"__isSmartRef__":true,"id":6760}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6758":{"isSerializedDate":true,"string":"Wed Sep 21 2011 20:40:12 GMT+0200 (CEST)"},"6759":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6760":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6761":{"rev":105500,"author":"lauritz","date":{"__isSmartRef__":true,"id":6762},"url":{"__isSmartRef__":true,"id":6763},"changes":[{"__isSmartRef__":true,"id":6764}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6762":{"isSerializedDate":true,"string":"Wed Sep 21 2011 18:07:18 GMT+0200 (CEST)"},"6763":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6764":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6765":{"rev":105496,"author":"lauritz","date":{"__isSmartRef__":true,"id":6766},"url":{"__isSmartRef__":true,"id":6767},"changes":[{"__isSmartRef__":true,"id":6768}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6766":{"isSerializedDate":true,"string":"Wed Sep 21 2011 17:43:21 GMT+0200 (CEST)"},"6767":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6768":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6769":{"rev":105492,"author":"lauritz","date":{"__isSmartRef__":true,"id":6770},"url":{"__isSmartRef__":true,"id":6771},"changes":[{"__isSmartRef__":true,"id":6772}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6770":{"isSerializedDate":true,"string":"Wed Sep 21 2011 17:33:40 GMT+0200 (CEST)"},"6771":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6772":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6773":{"rev":105487,"author":"lauritz","date":{"__isSmartRef__":true,"id":6774},"url":{"__isSmartRef__":true,"id":6775},"changes":[{"__isSmartRef__":true,"id":6776}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6774":{"isSerializedDate":true,"string":"Wed Sep 21 2011 17:14:08 GMT+0200 (CEST)"},"6775":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6776":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6777":{"rev":105426,"author":"lauritz","date":{"__isSmartRef__":true,"id":6778},"url":{"__isSmartRef__":true,"id":6779},"changes":[{"__isSmartRef__":true,"id":6780}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6778":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:58:48 GMT+0200 (CEST)"},"6779":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6780":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6781":{"rev":105419,"author":"lauritz","date":{"__isSmartRef__":true,"id":6782},"url":{"__isSmartRef__":true,"id":6783},"changes":[{"__isSmartRef__":true,"id":6784}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6782":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:55:54 GMT+0200 (CEST)"},"6783":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6784":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6785":{"rev":105414,"author":"lauritz","date":{"__isSmartRef__":true,"id":6786},"url":{"__isSmartRef__":true,"id":6787},"changes":[{"__isSmartRef__":true,"id":6788}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6786":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:52:11 GMT+0200 (CEST)"},"6787":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6788":{"type":"S:modified","url":"/PartsBin/Tools/Explorer.json"},"6789":{"rev":105398,"author":"lauritz","date":{"__isSmartRef__":true,"id":6790},"url":{"__isSmartRef__":true,"id":6791},"changes":[{"__isSmartRef__":true,"id":6792}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6790":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:40:37 GMT+0200 (CEST)"},"6791":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Tools/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6792":{"type":"S:added","url":null},"6793":{"rev":105396,"author":"lauritz","date":{"__isSmartRef__":true,"id":6794},"url":{"__isSmartRef__":true,"id":6795},"changes":[{"__isSmartRef__":true,"id":6796}],"__LivelyClassName__":"SVNVersionInfo","__SourceModuleName__":"Global.lively.Network"},"6794":{"isSerializedDate":true,"string":"Tue Sep 20 2011 23:38:53 GMT+0200 (CEST)"},"6795":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/PartsBin/Basic/Explorer.json","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"6796":{"type":"S:added","url":null},"6797":{"partsSpaceName":"PartsBin/Tools","__SourceModuleName__":"Global.lively.PartsBin","comment":"Displays object properties and provides a workspace. The workspace's context is set to the last clicked element.","migrationLevel":4,"partName":"Explorer","changes":[{"__isSmartRef__":true,"id":6798},{"__isSmartRef__":true,"id":6800},{"__isSmartRef__":true,"id":6802},{"__isSmartRef__":true,"id":6804},{"__isSmartRef__":true,"id":6806},{"__isSmartRef__":true,"id":6808},{"__isSmartRef__":true,"id":6810},{"__isSmartRef__":true,"id":6812},{"__isSmartRef__":true,"id":6814},{"__isSmartRef__":true,"id":6816},{"__isSmartRef__":true,"id":6818},{"__isSmartRef__":true,"id":6820},{"__isSmartRef__":true,"id":6822},{"__isSmartRef__":true,"id":6824},{"__isSmartRef__":true,"id":6826},{"__isSmartRef__":true,"id":6828},{"__isSmartRef__":true,"id":6830},{"__isSmartRef__":true,"id":6832},{"__isSmartRef__":true,"id":6834},{"__isSmartRef__":true,"id":6836},{"__isSmartRef__":true,"id":6838},{"__isSmartRef__":true,"id":6840}],"revisionOnLoad":148785,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"6798":{"date":{"__isSmartRef__":true,"id":6799},"author":"lauritz","message":"","id":"41FC1B0F-23FC-4454-A424-F141A1C09663"},"6799":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:46:05 GMT+0100 (CET)"},"6800":{"date":{"__isSmartRef__":true,"id":6801},"author":"lauritz","message":"added >>expandAllNodes() which can expand complete trees, but not graphs.","id":"60178F3F-BA87-45A8-BD26-CF776AC017A7"},"6801":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:33:39 GMT+0100 (CET)"},"6802":{"date":{"__isSmartRef__":true,"id":6803},"author":"lauritz","message":"decreased width a bit","id":"837B2170-C0B8-4FA1-99D3-D6A1EB465519"},"6803":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:36:19 GMT+0100 (CET)"},"6804":{"date":{"__isSmartRef__":true,"id":6805},"author":"lauritz","message":"made expanding loop asynchronous","id":"5DFF88BC-08E6-43BD-B5B1-A9E8C93C7B19"},"6805":{"isSerializedDate":true,"string":"Wed Nov 30 2011 23:23:19 GMT+0100 (CET)"},"6806":{"date":{"__isSmartRef__":true,"id":6807},"author":"lauritz","message":"corrected toggling","id":"BFC57057-2596-42D0-89A1-811C34FCF5E1"},"6807":{"isSerializedDate":true,"string":"Tue Nov 22 2011 22:44:25 GMT+0100 (CET)"},"6808":{"date":{"__isSmartRef__":true,"id":6809},"author":"lauritz","message":"set a minimal extent","id":"D1DCDCB8-84EE-48D9-8AAE-3926E9D97D30"},"6809":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:39:16 GMT+0100 (CET)"},"6810":{"date":{"__isSmartRef__":true,"id":6811},"author":"lauritz","message":"convenience preset by default: tree is expanded, workspace says \"this\"","id":"D364A417-6014-4266-8DF3-CEA313F15793"},"6811":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:18:29 GMT+0100 (CET)"},"6812":{"date":{"__isSmartRef__":true,"id":6813},"author":"lauritz","message":"Disabled grabbing and dragging on other morphs as well."},"6813":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:23:10 GMT+0200 (CEST)"},"6814":{"date":{"__isSmartRef__":true,"id":6815},"author":"lauritz","message":"Disabled dragging and grabbing on tree nodes. Those should only be clickable."},"6815":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:25:14 GMT+0200 (CEST)"},"6816":{"date":{"__isSmartRef__":true,"id":6817},"author":"lauritz","message":"Fixed a bug by adding a condition to getClassNameOf. In case an object has no constructor."},"6817":{"isSerializedDate":true,"string":"Tue Oct 25 2011 22:37:11 GMT+0200 (CEST)"},"6818":{"date":{"__isSmartRef__":true,"id":6819},"author":"jenslincke","message":"reset scales","id":"5E64592A-C360-44DD-BDAE-AD956FBA7675"},"6819":{"isSerializedDate":true,"string":"Fri Oct 28 2011 16:11:21 GMT+0200 (CEST)"},"6820":{"date":{"__isSmartRef__":true,"id":6821},"author":"jenslincke","message":"bring resize corner to front","id":"765AA8A1-AA38-433A-B800-FFF743B3B9EF"},"6821":{"isSerializedDate":true,"string":"Thu Nov 03 2011 16:10:26 GMT+0100 (CET)"},"6822":{"date":{"__isSmartRef__":true,"id":6823},"author":"lauritz","message":"layout changes","id":"F09F5196-5203-405A-8EC3-1648A100FFF5"},"6823":{"isSerializedDate":true,"string":"Fri Nov 18 2011 23:54:38 GMT+0100 (CET)"},"6824":{"date":{"__isSmartRef__":true,"id":6825},"author":"lauritz","message":"corrected the order of array elements","id":"B41E19A0-DDED-40DC-BD23-6AB94F76D76D"},"6825":{"isSerializedDate":true,"string":"Tue Nov 22 2011 23:44:29 GMT+0100 (CET)"},"6826":{"date":{"__isSmartRef__":true,"id":6827},"author":"fbo","message":"fix Date bug","id":"64EDCB63-EB39-477E-A73D-E066101A8B21"},"6827":{"isSerializedDate":true,"string":"Sat Dec 03 2011 00:07:10 GMT+0100 (CET)"},"6828":{"date":{"__isSmartRef__":true,"id":6829},"author":"lauritz","message":"significantly reduced a performance problem regarding \"long\" string properties, doesnt freeze anymore.","id":"EA85DB22-3FD3-4D13-B769-763C4483C445"},"6829":{"isSerializedDate":true,"string":"Tue Dec 06 2011 00:55:19 GMT+0100 (CET)"},"6830":{"date":{"__isSmartRef__":true,"id":6831},"author":"lauritz","message":"clicking a node no longer resets the workspace content","id":"C8AE0678-08F5-4FFB-9662-77D7120DA285"},"6831":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:22:10 GMT+0100 (CET)"},"6832":{"date":{"__isSmartRef__":true,"id":6833},"author":"lauritz","message":"renamed >>#expandAllNodes to >>#toggleAll","id":"D9931ABA-396B-4C81-9C7E-7C2712405803"},"6833":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:41:44 GMT+0100 (CET)"},"6834":{"date":{"__isSmartRef__":true,"id":6835},"author":"lauritz","message":"asynchronous >>#toggleAll, because toggling is actually asynchronous and rendering as well...","id":"3B15F99C-CFD6-41FA-9778-D2BFBBD53B8D"},"6835":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:54 GMT+0100 (CET)"},"6836":{"date":{"__isSmartRef__":true,"id":6837},"author":"lauritz","message":"cleaned up how all typeof stuff","id":"98CD54B3-3527-4C4C-8577-A0B7476D8718"},"6837":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:31:53 GMT+0100 (CET)"},"6838":{"date":{"__isSmartRef__":true,"id":6839},"author":"lauritz","message":"","id":"183BD443-7A32-4E3B-8F6B-96473B0C4CB7"},"6839":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:42 GMT+0100 (CET)"},"6840":{"date":{"__isSmartRef__":true,"id":6841},"author":"jenslincke","message":"style tweak","id":"C366B53C-40DC-445D-B882-F5F147CD349F"},"6841":{"isSerializedDate":true,"string":"Mon Jan 30 2012 14:04:58 GMT+0100 (CET)"},"6842":{"namespaceIdentifier":"Global.lively.morphic.Complete","createTime":{"__isSmartRef__":true,"id":6843},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5683},{"__isSmartRef__":true,"id":5649},{"__isSmartRef__":true,"id":5661},{"__isSmartRef__":true,"id":5677},{"__isSmartRef__":true,"id":5691},{"__isSmartRef__":true,"id":5675},{"__isSmartRef__":true,"id":5679},{"__isSmartRef__":true,"id":5681},{"__isSmartRef__":true,"id":5623}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Complete.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":5607},{"__isSmartRef__":true,"id":6844}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6843":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6844":{"namespaceIdentifier":"Global.anonymous_module_0","createTime":{"__isSmartRef__":true,"id":6845},"wasDefined":true,"_isAnonymous":true,"sourceModuleName":"Global","defStack":"Error\n at require (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11753:21)\n at HTMLScriptElement. (http://lively-kernel.org/repository/webwerkstatt/core/lively/bootstrap.js:192:17)","privateRequirements":[{"__isSmartRef__":true,"id":6846},{"__isSmartRef__":true,"id":6848},{"__isSmartRef__":true,"id":6850},{"__isSmartRef__":true,"id":6850},{"__isSmartRef__":true,"id":5655},{"__isSmartRef__":true,"id":5673},{"__isSmartRef__":true,"id":5615},{"__isSmartRef__":true,"id":6846},{"__isSmartRef__":true,"id":6848},{"__isSmartRef__":true,"id":5657},{"__isSmartRef__":true,"id":5609},{"__isSmartRef__":true,"id":5671},{"__isSmartRef__":true,"id":5603},{"__isSmartRef__":true,"id":6852},{"__isSmartRef__":true,"id":6854},{"__isSmartRef__":true,"id":6856},{"__isSmartRef__":true,"id":5651},{"__isSmartRef__":true,"id":5619},{"__isSmartRef__":true,"id":5667},{"__isSmartRef__":true,"id":5693},{"__isSmartRef__":true,"id":5611},{"__isSmartRef__":true,"id":6858},{"__isSmartRef__":true,"id":5665},{"__isSmartRef__":true,"id":5669},{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5617},{"__isSmartRef__":true,"id":5621},{"__isSmartRef__":true,"id":5663},{"__isSmartRef__":true,"id":5623},{"__isSmartRef__":true,"id":5633},{"__isSmartRef__":true,"id":5637},{"__isSmartRef__":true,"id":5639},{"__isSmartRef__":true,"id":5642},{"__isSmartRef__":true,"id":5644},{"__isSmartRef__":true,"id":5646},{"__isSmartRef__":true,"id":5649},{"__isSmartRef__":true,"id":5659},{"__isSmartRef__":true,"id":5661},{"__isSmartRef__":true,"id":5675},{"__isSmartRef__":true,"id":5677},{"__isSmartRef__":true,"id":5679},{"__isSmartRef__":true,"id":5681},{"__isSmartRef__":true,"id":5683},{"__isSmartRef__":true,"id":6860},{"__isSmartRef__":true,"id":5689},{"__isSmartRef__":true,"id":5691},{"__isSmartRef__":true,"id":6842},{"__isSmartRef__":true,"id":5607},{"__isSmartRef__":true,"id":5605},{"__isSmartRef__":true,"id":6862},{"__isSmartRef__":true,"id":5601}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/anonymous_module_0","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6845":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6846":{"namespaceIdentifier":"Global.lively.lang.Closure","createTime":{"__isSmartRef__":true,"id":6847},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/lang/Closure.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6847":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"6848":{"namespaceIdentifier":"Global.lively.lang.UUID","createTime":{"__isSmartRef__":true,"id":6849},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/lang/UUID.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6849":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"6850":{"namespaceIdentifier":"Global.lively.LocalStorage","createTime":{"__isSmartRef__":true,"id":6851},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/LocalStorage.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6851":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"6852":{"namespaceIdentifier":"Global.apps.CouchDB","createTime":{"__isSmartRef__":true,"id":6853},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/apps/CouchDB.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6853":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"6854":{"namespaceIdentifier":"Global.apps.DateFormat","createTime":{"__isSmartRef__":true,"id":6855},"wasDefined":true,"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/apps/DateFormat.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6855":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"6856":{"namespaceIdentifier":"Global.lively.ChangeSet","createTime":{"__isSmartRef__":true,"id":6857},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5673}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/ChangeSet.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6857":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:26 GMT+0200 (CEST)"},"6858":{"namespaceIdentifier":"Global.lively.Main","createTime":{"__isSmartRef__":true,"id":6859},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5671},{"__isSmartRef__":true,"id":6856}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/Main.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6859":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6860":{"namespaceIdentifier":"Global.lively.ide.BrowserFramework","createTime":{"__isSmartRef__":true,"id":6861},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5633},{"__isSmartRef__":true,"id":5649},{"__isSmartRef__":true,"id":5677}],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/ide/BrowserFramework.js","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6861":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6862":{"namespaceIdentifier":"Global.lively.ide.SyntaxHighlighting","createTime":{"__isSmartRef__":true,"id":6863},"wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5607},{"__isSmartRef__":true,"id":6860}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/ide/SyntaxHighlighting.js","dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6844}],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6863":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6864":{"3":{"__isSmartRef__":true,"id":6865},"4":{"__isSmartRef__":true,"id":6868},"name":"PathOriginHackLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":5683},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"6865":{"_layered_object":{"__isSmartRef__":true,"id":6866}},"6866":{"isPath":true,"style":{"__isSmartRef__":true,"id":6867},"_layer_object_id":3,"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"6867":{"borderWidth":1,"borderColor":{"__isSmartRef__":true,"id":592}},"6868":{"_layered_object":{"__isSmartRef__":true,"id":6869}},"6869":{"_layer_object_id":4,"__LivelyClassName__":"lively.morphic.ControlPoint","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"6870":{"5":{"__isSmartRef__":true,"id":6871},"name":"GrabbingDefaultLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":5601},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"6871":{"_layered_object":{"__isSmartRef__":true,"id":5572}},"6872":{"5":{"__isSmartRef__":true,"id":6873},"8":{"__isSmartRef__":true,"id":6874},"name":"VisualBindingsLayer","namespaceName":"Global.lively.morphic","sourceModule":{"__isSmartRef__":true,"id":6878},"__LivelyClassName__":"Layer","__SourceModuleName__":"Global.cop.Layers"},"6873":{"_layered_object":{"__isSmartRef__":true,"id":5572}},"6874":{"_layered_object":{"__isSmartRef__":true,"id":6875}},"6875":{"style":{"__isSmartRef__":true,"id":6876},"isWorld":true,"htmlDispatchTable":{"__isSmartRef__":true,"id":6877},"doNotSerialize":["revisionOnLoad","clickedOnMorph","draggedMorph"],"_layer_object_id":8,"__LivelyClassName__":"lively.morphic.World","__SourceModuleName__":"Global.lively.morphic.Core"},"6876":{"fill":{"__isSmartRef__":true,"id":1486},"enableGrabbing":false,"enableHalos":true,"enableMorphMenu":true,"enableDragging":true},"6877":{"setScroll":"setScrollHTML"},"6878":{"namespaceIdentifier":"Global.anonymous_module_1","createTime":{"__isSmartRef__":true,"id":6879},"wasDefined":true,"_isAnonymous":true,"sourceModuleName":"Global.lively.morphic.Connectors","defStack":"Error\n at require (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11753:21)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:43103:1\n at curried (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:9936:33)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11726:30\n at Namespace.runOnloadCallbacks (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12417:26)\n at Namespace.load (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12456:18)\n at Namespace.removeRequiredModule (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12384:18)\n at Namespace. (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12355:40)\n at Array.forEach (native)\n at Namespace.informDependendModules (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12355:14)","privateRequirements":[{"__isSmartRef__":true,"id":5605}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/anonymous_module_1","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6879":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6880":{"namespaceIdentifier":"Global.lively.morphic.DiffMerge","createTime":{"__isSmartRef__":true,"id":6881},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6882}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/DiffMerge.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6842}],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6881":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6882":{"namespaceIdentifier":"Global.anonymous_module_5","createTime":{"__isSmartRef__":true,"id":6883},"wasDefined":true,"_isAnonymous":true,"sourceModuleName":"Global.anonymous_module_4","defStack":"Error\n at require (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11753:21)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:21865:17\n at curried (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:9936:33)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11726:30\n at Namespace.runOnloadCallbacks (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12417:26)\n at Namespace.load (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:12456:18)\n at Object.toRun (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11735:24)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:21862:55\n at curried (http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:9936:33)\n at http://lively-kernel.org/repository/webwerkstatt/core/generated/combinedModules.js?88feaf061d197d758a00d6baaee7ec05:11726:30","privateRequirements":[{"__isSmartRef__":true,"id":6884},{"__isSmartRef__":true,"id":6886},{"__isSmartRef__":true,"id":6880},{"__isSmartRef__":true,"id":5633},{"__isSmartRef__":true,"id":6888}],"pendingRequirements":[],"callbacks":[],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/anonymous_module_5","_isLoaded":true,"__LivelyClassName__":"Namespace"},"6883":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6884":{"namespaceIdentifier":"Global.projects.BP2012.InteractionWithIPad.Preloader","createTime":{"__isSmartRef__":true,"id":6885},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6882}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/projects/BP2012/InteractionWithIPad/Preloader.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5613},{"__isSmartRef__":true,"id":5691}],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6885":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6886":{"namespaceIdentifier":"Global.projects.BP2012.InteractionWithIPad.IPad","createTime":{"__isSmartRef__":true,"id":6887},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6882}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/projects/BP2012/InteractionWithIPad/IPad.js","wasDefined":true,"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6887":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6888":{"namespaceIdentifier":"Global.lively.morphic.Tests","createTime":{"__isSmartRef__":true,"id":6889},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6882}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/Tests.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6890},{"__isSmartRef__":true,"id":6894},{"__isSmartRef__":true,"id":6892},{"__isSmartRef__":true,"id":6898},{"__isSmartRef__":true,"id":6896},{"__isSmartRef__":true,"id":6900}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6889":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:27 GMT+0200 (CEST)"},"6890":{"namespaceIdentifier":"Global.lively.morphic.tests.Morphic","createTime":{"__isSmartRef__":true,"id":6891},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6888},{"__isSmartRef__":true,"id":6892},{"__isSmartRef__":true,"id":6894},{"__isSmartRef__":true,"id":6896},{"__isSmartRef__":true,"id":6898},{"__isSmartRef__":true,"id":6900}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/Morphic.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6902},{"__isSmartRef__":true,"id":5679}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6891":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6892":{"namespaceIdentifier":"Global.lively.morphic.tests.PathTests","createTime":{"__isSmartRef__":true,"id":6893},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6888}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/PathTests.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6890}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6893":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6894":{"namespaceIdentifier":"Global.lively.morphic.tests.Morphic2","createTime":{"__isSmartRef__":true,"id":6895},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6888}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/Morphic2.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6890},{"__isSmartRef__":true,"id":6880}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6895":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6896":{"namespaceIdentifier":"Global.lively.morphic.tests.DataGridTests","createTime":{"__isSmartRef__":true,"id":6897},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6888}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/DataGridTests.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6890}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6897":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6898":{"namespaceIdentifier":"Global.lively.morphic.tests.Connectors","createTime":{"__isSmartRef__":true,"id":6899},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6888}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/Connectors.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6890},{"__isSmartRef__":true,"id":5689}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6899":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6900":{"namespaceIdentifier":"Global.lively.morphic.tests.TabTests","createTime":{"__isSmartRef__":true,"id":6901},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6888}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/TabTests.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6890}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6901":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6902":{"namespaceIdentifier":"Global.lively.morphic.tests.Helper","createTime":{"__isSmartRef__":true,"id":6903},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6890}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/morphic/tests/Helper.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":6904},{"__isSmartRef__":true,"id":6842}],"pendingRequirements":[],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6903":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6904":{"namespaceIdentifier":"Global.lively.TestFramework","createTime":{"__isSmartRef__":true,"id":6905},"dependendModules":[],"debugDependendModules":[{"__isSmartRef__":true,"id":6902}],"__cachedUri":"http://lively-kernel.org/repository/webwerkstatt/core/lively/TestFramework.js","wasDefined":true,"privateRequirements":[{"__isSmartRef__":true,"id":5655}],"callbacks":[],"_isLoaded":true,"__LivelyClassName__":"Namespace"},"6905":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6906":{"namespaceIdentifier":"Global.lively.morphic.tests","createTime":{"__isSmartRef__":true,"id":6907},"Morphic":{"__isSmartRef__":true,"id":6890},"Morphic2":{"__isSmartRef__":true,"id":6894},"PathTests":{"__isSmartRef__":true,"id":6892},"Connectors":{"__isSmartRef__":true,"id":6898},"DataGridTests":{"__isSmartRef__":true,"id":6896},"TabTests":{"__isSmartRef__":true,"id":6900},"Helper":{"__isSmartRef__":true,"id":6902},"__LivelyClassName__":"Namespace"},"6907":{"isSerializedDate":true,"string":"Tue Jun 05 2012 16:51:28 GMT+0200 (CEST)"},"6908":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6909":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6910":{"updateExpanderColor":{"__isSmartRef__":true,"id":6911},"onMouseDown":{"__isSmartRef__":true,"id":6914},"isRoot":{"__isSmartRef__":true,"id":6921},"displayValue":{"__isSmartRef__":true,"id":6924},"update":{"__isSmartRef__":true,"id":6927}},"6911":{"varMapping":{"__isSmartRef__":true,"id":6912},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6913},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6912":{"this":{"__isSmartRef__":true,"id":5528}},"6913":{},"6914":{"varMapping":{"__isSmartRef__":true,"id":6915},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6920},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6915":{"this":{"__isSmartRef__":true,"id":5528},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6916}},"6916":{"$super":{"__isSmartRef__":true,"id":6917}},"6917":{"varMapping":{"__isSmartRef__":true,"id":6918},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6919},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6918":{"obj":{"__isSmartRef__":true,"id":5528},"name":"onMouseDown"},"6919":{},"6920":{},"6921":{"varMapping":{"__isSmartRef__":true,"id":6922},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6923},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6922":{"this":{"__isSmartRef__":true,"id":5528}},"6923":{},"6924":{"varMapping":{"__isSmartRef__":true,"id":6925},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6926},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6925":{"this":{"__isSmartRef__":true,"id":5528}},"6926":{},"6927":{"varMapping":{"__isSmartRef__":true,"id":6928},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6929},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6928":{"this":{"__isSmartRef__":true,"id":5528}},"6929":{},"6930":{"_Position":{"__isSmartRef__":true,"id":6931},"renderContextTable":{"__isSmartRef__":true,"id":6932},"_Extent":{"__isSmartRef__":true,"id":6933},"_Padding":{"__isSmartRef__":true,"id":6934},"_NodeClass":["morph"],"_NodeId":"morph-13a213c9-a143-4423-af4c-9744affc21a6","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6931":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6932":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"6933":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6934":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6935":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"6936":{"morph":{"__isSmartRef__":true,"id":5527},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6937":{"layouter":{"__isSmartRef__":true,"id":6938},"resizeWidth":true},"6938":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":5527},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6939":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6940":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6941":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6942}},"6942":{"varMapping":{"__isSmartRef__":true,"id":6943},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6948},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6943":{"this":{"__isSmartRef__":true,"id":5527},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6944}},"6944":{"$super":{"__isSmartRef__":true,"id":6945}},"6945":{"varMapping":{"__isSmartRef__":true,"id":6946},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6947},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6946":{"obj":{"__isSmartRef__":true,"id":5527},"name":"getLayoutableSubmorphs"},"6947":{},"6948":{},"6949":{"_Position":{"__isSmartRef__":true,"id":6950},"renderContextTable":{"__isSmartRef__":true,"id":6951},"_Extent":{"__isSmartRef__":true,"id":6952},"_Padding":{"__isSmartRef__":true,"id":6953},"_NodeClass":["morph"],"_NodeId":"morph-ff1839a7-8e94-49ce-a98b-7894afd0c683","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"6950":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6951":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"6952":{"x":100,"y":980,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6953":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6954":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"6955":{"morph":{"__isSmartRef__":true,"id":1577},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"6956":{"layouter":{"__isSmartRef__":true,"id":6957},"resizeWidth":true},"6957":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1577},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"6958":{"x":100,"y":980,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6959":{"x":0,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6960":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6961},"addTreeNodesForProperties":{"__isSmartRef__":true,"id":6968}},"6961":{"varMapping":{"__isSmartRef__":true,"id":6962},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6967},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6962":{"this":{"__isSmartRef__":true,"id":1577},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6963}},"6963":{"$super":{"__isSmartRef__":true,"id":6964}},"6964":{"varMapping":{"__isSmartRef__":true,"id":6965},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6966},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6965":{"obj":{"__isSmartRef__":true,"id":1577},"name":"getLayoutableSubmorphs"},"6966":{},"6967":{},"6968":{"varMapping":{"__isSmartRef__":true,"id":6969},"source":"function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6970},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6969":{"this":{"__isSmartRef__":true,"id":1577}},"6970":{},"6971":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6972":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":6973}},"6973":{"varMapping":{"__isSmartRef__":true,"id":6974},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":6979},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6974":{"this":{"__isSmartRef__":true,"id":1566},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6975}},"6975":{"$super":{"__isSmartRef__":true,"id":6976}},"6976":{"varMapping":{"__isSmartRef__":true,"id":6977},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6978},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6977":{"obj":{"__isSmartRef__":true,"id":1566},"name":"getLayoutableSubmorphs"},"6978":{},"6979":{},"6980":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6981":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"6982":{"updateExpanderColor":{"__isSmartRef__":true,"id":6983},"onMouseDown":{"__isSmartRef__":true,"id":6986},"isRoot":{"__isSmartRef__":true,"id":6993},"displayValue":{"__isSmartRef__":true,"id":6996},"update":{"__isSmartRef__":true,"id":6999}},"6983":{"varMapping":{"__isSmartRef__":true,"id":6984},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":6985},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6984":{"this":{"__isSmartRef__":true,"id":1524}},"6985":{},"6986":{"varMapping":{"__isSmartRef__":true,"id":6987},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":6992},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6987":{"this":{"__isSmartRef__":true,"id":1524},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":6988}},"6988":{"$super":{"__isSmartRef__":true,"id":6989}},"6989":{"varMapping":{"__isSmartRef__":true,"id":6990},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":6991},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6990":{"obj":{"__isSmartRef__":true,"id":1524},"name":"onMouseDown"},"6991":{},"6992":{},"6993":{"varMapping":{"__isSmartRef__":true,"id":6994},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":6995},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6994":{"this":{"__isSmartRef__":true,"id":1524}},"6995":{},"6996":{"varMapping":{"__isSmartRef__":true,"id":6997},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":6998},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"6997":{"this":{"__isSmartRef__":true,"id":1524}},"6998":{},"6999":{"varMapping":{"__isSmartRef__":true,"id":7000},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7001},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7000":{"this":{"__isSmartRef__":true,"id":1524}},"7001":{},"7002":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7003":{"x":100,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7004":{"updateExpanderColor":{"__isSmartRef__":true,"id":7005},"onMouseDown":{"__isSmartRef__":true,"id":7008},"isRoot":{"__isSmartRef__":true,"id":7015},"displayValue":{"__isSmartRef__":true,"id":7018},"update":{"__isSmartRef__":true,"id":7021}},"7005":{"varMapping":{"__isSmartRef__":true,"id":7006},"source":"function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n }","funcProperties":{"__isSmartRef__":true,"id":7007},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7006":{"this":{"__isSmartRef__":true,"id":1478}},"7007":{},"7008":{"varMapping":{"__isSmartRef__":true,"id":7009},"source":"function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n }","funcProperties":{"__isSmartRef__":true,"id":7014},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7009":{"this":{"__isSmartRef__":true,"id":1478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7010}},"7010":{"$super":{"__isSmartRef__":true,"id":7011}},"7011":{"varMapping":{"__isSmartRef__":true,"id":7012},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7013},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7012":{"obj":{"__isSmartRef__":true,"id":1478},"name":"onMouseDown"},"7013":{},"7014":{},"7015":{"varMapping":{"__isSmartRef__":true,"id":7016},"source":"function isRoot() {\n return (this.parent === null || this.parent === undefined);\n }","funcProperties":{"__isSmartRef__":true,"id":7017},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7016":{"this":{"__isSmartRef__":true,"id":1478}},"7017":{},"7018":{"varMapping":{"__isSmartRef__":true,"id":7019},"source":"function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n }","funcProperties":{"__isSmartRef__":true,"id":7020},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7019":{"this":{"__isSmartRef__":true,"id":1478}},"7020":{},"7021":{"varMapping":{"__isSmartRef__":true,"id":7022},"source":"function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7023},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7022":{"this":{"__isSmartRef__":true,"id":1478}},"7023":{},"7024":{"_Position":{"__isSmartRef__":true,"id":7025},"renderContextTable":{"__isSmartRef__":true,"id":7026},"_Extent":{"__isSmartRef__":true,"id":7027},"_Padding":{"__isSmartRef__":true,"id":7028},"_NodeClass":["morph"],"_NodeId":"morph-73b3da4f-bf25-4889-985b-60aba0db4a62","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7025":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7026":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7027":{"x":100,"y":1000,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7028":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7029":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7030":{"morph":{"__isSmartRef__":true,"id":1477},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7031":{"layouter":{"__isSmartRef__":true,"id":7032},"resizeWidth":true},"7032":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":0,"spacing":0,"container":{"__isSmartRef__":true,"id":1477},"__LivelyClassName__":"lively.morphic.Layout.JournalLayout","__SourceModuleName__":"Global.lively.morphic.Layout"},"7033":{"x":100,"y":980,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7034":{"getLayoutableSubmorphs":{"__isSmartRef__":true,"id":7035}},"7035":{"varMapping":{"__isSmartRef__":true,"id":7036},"source":"function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n }","funcProperties":{"__isSmartRef__":true,"id":7041},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7036":{"this":{"__isSmartRef__":true,"id":1477},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7037}},"7037":{"$super":{"__isSmartRef__":true,"id":7038}},"7038":{"varMapping":{"__isSmartRef__":true,"id":7039},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7040},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7039":{"obj":{"__isSmartRef__":true,"id":1477},"name":"getLayoutableSubmorphs"},"7040":{},"7041":{},"7042":{"_Position":{"__isSmartRef__":true,"id":7043},"renderContextTable":{"__isSmartRef__":true,"id":7044},"_Extent":{"__isSmartRef__":true,"id":7045},"_Padding":{"__isSmartRef__":true,"id":7046},"_NodeClass":["morph","box","clip"],"_NodeId":"morph-7cf6ae9d-94aa-4f26-9ed0-d5ae2a764092","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"7043":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7044":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7045":{"x":270.8398611920343,"y":263.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7046":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7047":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7048":{"morph":{"__isSmartRef__":true,"id":1476},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"7049":{"x":10,"y":10,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7050":{"resizeWidth":true,"resizeHeight":true},"7051":{"x":290.8398611920343,"y":283.4698859496224,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7052":{"setClipModeHTML":{"__isSmartRef__":true,"id":7053}},"7053":{"varMapping":{"__isSmartRef__":true,"id":7054},"source":"function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n }","funcProperties":{"__isSmartRef__":true,"id":7059},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7054":{"this":{"__isSmartRef__":true,"id":1476},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7055}},"7055":{"$super":{"__isSmartRef__":true,"id":7056}},"7056":{"varMapping":{"__isSmartRef__":true,"id":7057},"source":"function () {\n try {\n return obj.constructor.prototype[name].apply(obj, arguments)\n } catch (e) {\n if ($world) \n $world.logError(e, 'Error in $super call')\n else\n alert('Error in $super call: ' + e + '\\n' + e.stack);\n return null;\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7058},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"7057":{"obj":{"__isSmartRef__":true,"id":1476},"name":"setClipModeHTML"},"7058":{},"7059":{},"7060":{"target":{"__isSmartRef__":true,"id":1475},"selector":"update","args":[],"stopped":true,"tickTime":500,"currentTimeout":426,"suspended":true,"__LivelyClassName__":"lively.morphic.TargetScript","__SourceModuleName__":"Global.lively.morphic.Core"},"7061":{"position":{"__isSmartRef__":true,"id":7062},"_Extent":{"__isSmartRef__":true,"id":7063},"_BorderWidth":1.9240000000000002,"_BorderColor":{"__isSmartRef__":true,"id":7064},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7065},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7066},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7062":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7063":{"x":290.8398611920343,"y":283.4698859496224,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7064":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7065":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7066":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7067":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7068":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","comment":"A tree view morph. You can visualize a graph of object data with it (for example).","migrationLevel":4,"partName":"TreeView","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"7069":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7070":{"morph":{"__isSmartRef__":true,"id":1475},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7071":{"x":286.8398611920343,"y":281.4698859496224,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7072":{"layouter":{"__isSmartRef__":true,"id":7073},"resizeWidth":true,"resizeHeight":true,"moveVertical":false,"moveHorizontal":false,"adjustForNewBounds":true},"7073":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":1475},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"7074":{"x":164.35052570087606,"y":-15.96995493992489,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7075":{"border":{"__isSmartRef__":true,"id":1485},"contractedExpander":{"__isSmartRef__":true,"id":7076},"expandedExpander":{"__isSmartRef__":true,"id":1486},"focusedText":{"__isSmartRef__":true,"id":1503},"emphasizedText":{"__isSmartRef__":true,"id":1509}},"7076":{"r":0.5686274509803921,"g":0.5686274509803921,"b":0.5686274509803921,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7077":{"size":10},"7078":{"wrapperExtent":{"__isSmartRef__":true,"id":7079},"expanderExtent":{"__isSmartRef__":true,"id":7080},"expanderOffset":{"__isSmartRef__":true,"id":7081},"textOffset":{"__isSmartRef__":true,"id":7082},"levelIndent":10,"maxTextWidth":500},"7079":{"x":0,"y":0,"width":100,"height":18,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7080":{"x":8,"y":8,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7081":{"x":8,"y":5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7082":{"x":18,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7083":{"renderTree":{"__isSmartRef__":true,"id":7084},"createTreeNode":{"__isSmartRef__":true,"id":7088},"createTreeWrapper":{"__isSmartRef__":true,"id":7092},"reset":{"__isSmartRef__":true,"id":7096},"createTreeNodeMorph":{"__isSmartRef__":true,"id":7100},"createExpanderButton":{"__isSmartRef__":true,"id":7104},"createPropertyText":{"__isSmartRef__":true,"id":7108},"createScrollClip":{"__isSmartRef__":true,"id":7112},"resetDefaults":{"__isSmartRef__":true,"id":7116},"addScriptsToTreeNode":{"__isSmartRef__":true,"id":7120},"addScriptsToExpander":{"__isSmartRef__":true,"id":7123},"getDisplayStringFor":{"__isSmartRef__":true,"id":7126},"update":{"__isSmartRef__":true,"id":7130},"addScriptsToText":{"__isSmartRef__":true,"id":7134},"toggleAll":{"__isSmartRef__":true,"id":7138}},"7084":{"varMapping":{"__isSmartRef__":true,"id":7085},"source":"function renderTree(data) {\n this.rootNode = this.createTreeNode('Properties', data);\n this.addMorph(this.rootNode);\n     \n var wrapper = this.createTreeWrapper(this.rootNode);\n var scroll = this.createScrollClip(wrapper);\n\n this.addMorph(scroll);\n\n this.startStepping(500/*ms*/, 'update'); \n}","funcProperties":{"__isSmartRef__":true,"id":7086},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7085":{"this":{"__isSmartRef__":true,"id":1475}},"7086":{"timestamp":{"__isSmartRef__":true,"id":7087},"user":"lauritz","tags":[]},"7087":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:23:33 GMT+0100 (CET)"},"7088":{"varMapping":{"__isSmartRef__":true,"id":7089},"source":"function createTreeNode(label, data, level, parent) {\n level = level || 0;\n\n // create morph / layout\n var treeNode = this.createTreeNodeMorph(data, level);\n\n // add scripts\n this.addScriptsToTreeNode(treeNode);\n\n // initialization\n treeNode.data = data;\n treeNode.propertyList = [].pushAll(Properties.own(treeNode.data));\n treeNode.level = level;\n treeNode.treeView = this;\n treeNode.label = label;\n treeNode.children = [];\n treeNode.parent = (parent ? parent : null);\n\n var expander = this.createExpanderButton(treeNode);\n treeNode.addMorph(expander);\n\n var text = this.createPropertyText(treeNode);\n treeNode.addMorph(text);\n\n\n return treeNode;\n}","funcProperties":{"__isSmartRef__":true,"id":7090},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7089":{"this":{"__isSmartRef__":true,"id":1475}},"7090":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7091}},"7091":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:43:34 GMT+0200 (CEST)"},"7092":{"varMapping":{"__isSmartRef__":true,"id":7093},"source":"function createTreeWrapper(node) {\n\n var rectangleMorph = new lively.morphic.Shapes.Rectangle(this.sizes.wrapperExtent);\n var wrapper = new lively.morphic.Morph(rectangleMorph);\n\n wrapper.addScript(function getLayoutableSubmorphs() {\n return this.submorphs.reject(function(ea) {\n return (ea.isEpiMorph || ea.isBeingDragged || !ea.isVisible());\n });\n });\n\n var layouter = new lively.morphic.Layout.JournalLayout(wrapper);\n var superBasicLayout = layouter.basicLayout;\n layouter.basicLayout = function(container, submorphs) {\n submorphs.sortBy = function() { return this };\n superBasicLayout.bind(layouter)(container, submorphs);\n delete submorphs.sortBy;\n };\n layouter.borderSize = 0;\n layouter.spacing = 0;\n wrapper.setLayouter(layouter);\n wrapper.layout.resizeWidth = true;\n\n if (node)\n wrapper.addMorph(node);\n\n return wrapper;\n}","funcProperties":{"__isSmartRef__":true,"id":7094},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7093":{"this":{"__isSmartRef__":true,"id":1475}},"7094":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7095}},"7095":{"isSerializedDate":true,"string":"Tue Sep 20 2011 17:05:52 GMT+0200 (CEST)"},"7096":{"varMapping":{"__isSmartRef__":true,"id":7097},"source":"function reset() {\n this.removeAllMorphs();\n this.resetDefaults();\n this.rootNode = null; \n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":7098},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7097":{"this":{"__isSmartRef__":true,"id":1475}},"7098":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7099}},"7099":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:41:57 GMT+0200 (CEST)"},"7100":{"varMapping":{"__isSmartRef__":true,"id":7101},"source":"function createTreeNodeMorph(data, level) {\n var treeNodeExtent = new lively.morphic.Shapes.Rectangle(pt(100, 20).extentAsRectangle());\n var treeNode = new lively.morphic.Morph(treeNodeExtent);\n\n treeNode.layout = {\n layouter: undefined,\n resizeWidth: true\n }\n treeNode.disableGrabbing();\n treeNode.disableDragging();\n\n return treeNode; \n}","funcProperties":{"__isSmartRef__":true,"id":7102},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7101":{"this":{"__isSmartRef__":true,"id":1475}},"7102":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7103}},"7103":{"isSerializedDate":true,"string":"Tue Oct 25 2011 19:24:35 GMT+0200 (CEST)"},"7104":{"varMapping":{"__isSmartRef__":true,"id":7105},"source":"function createExpanderButton(treeNode) {\n\n var expanderPositionX = this.sizes.expanderOffset.x + this.sizes.levelIndent * treeNode.level;\n var expanderPosition = pt(expanderPositionX, this.sizes.expanderOffset.y);\n var expander = new lively.morphic.Box(expanderPosition.extent(this.sizes.expanderExtent));\n\n // layout\n expander.setBorderWidth(1);\n expander.setBorderColor(this.colors.border);\n expander.disableGrabbing();\n expander.disableDragging();\n treeNode.expander = expander;\n\n // add scripts\n this.addScriptsToExpander(expander);\n\n // initialization\n expander.isExpanded = false;\n treeNode.updateExpanderColor();\n\n return expander;\n}","funcProperties":{"__isSmartRef__":true,"id":7106},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7105":{"this":{"__isSmartRef__":true,"id":1475}},"7106":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7107}},"7107":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:32:58 GMT+0200 (CEST)"},"7108":{"varMapping":{"__isSmartRef__":true,"id":7109},"source":"function createPropertyText(treeNode) {\n \n var textPosition = pt(this.sizes.textOffset.x + this.sizes.levelIndent * treeNode.level, this.sizes.textOffset.y);\n\n var textMorph = new lively.morphic.Text(textPosition.extent(pt(0, 0)), \"\");  \n this.addScriptsToText(textMorph);\n textMorph.layoutText(this.fonts);\n\n treeNode.text = textMorph;\n treeNode.displayValue();\n\n return textMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":7110},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7109":{"this":{"__isSmartRef__":true,"id":1475}},"7110":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7111}},"7111":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:18:07 GMT+0200 (CEST)"},"7112":{"varMapping":{"__isSmartRef__":true,"id":7113},"source":"function createScrollClip(wrapper) {\n var scroll = new lively.morphic.Clip(this.getExtent().extentAsRectangle());\n\n // layout\n scroll.layout = {\n resizeWidth: true,\n resizeHeight: true\n };\n scroll.disableGrabbing();\n scroll.disableDragging();\n scroll.setName('TreeViewScrollPane');\n\n scroll.addScript(function setClipModeHTML(ctx, modeString) {\n $super(ctx, modeString);\n ctx.morphNode.style['overflow-x'] = 'hidden';\n });\n\n scroll.addMorph(wrapper);\n return scroll;\n}","funcProperties":{"__isSmartRef__":true,"id":7114},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7113":{"this":{"__isSmartRef__":true,"id":1475}},"7114":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7115}},"7115":{"isSerializedDate":true,"string":"Mon Sep 19 2011 19:54:00 GMT+0200 (CEST)"},"7116":{"varMapping":{"__isSmartRef__":true,"id":7117},"source":"function resetDefaults() {\n this.colors = {\n border : Color.rgb(145,145,145),\n contractedExpander : Color.rgb(145,145,145),\n expandedExpander : Color.white,\n focusedText : Color.rgb(243,243,243),\n emphasizedText : Color.rgb(145,145,145)\n };\n this.fonts = {\n size : 10\n };\n this.sizes = {\n wrapperExtent : pt(100, 18).extentAsRectangle(),\n expanderExtent : pt(8, 8),\n expanderOffset : pt(8, 5),\n textOffset : pt(18, 0),\n levelIndent : 10,\n maxTextWidth : 500\n }\n}","funcProperties":{"__isSmartRef__":true,"id":7118},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7117":{"this":{"__isSmartRef__":true,"id":1475}},"7118":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7119}},"7119":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:38:04 GMT+0200 (CEST)"},"7120":{"varMapping":{"__isSmartRef__":true,"id":7121},"source":"function addScriptsToTreeNode(treeNode) {\n\n treeNode.addScript(function updateExpanderColor() {\n var colors = this.treeView.colors;\n var fillColor;\n if (this.expander.isExpanded || !(Objects.isMutableType(this.data) && Properties.own(this.data).length > 0)) { \n fillColor = colors.expandedExpander;\n } else {\n fillColor = colors.contractedExpander;\n }\n this.expander.setFill(fillColor);\n });\n\n treeNode.addScript(function onMouseDown() {\n this.treeView.owner.moveFocusTo(this);\n });\n\n treeNode.addScript(function isRoot() {\n return (this.parent === null || this.parent === undefined);\n });\n\n treeNode.addScript(function displayValue() {\n // set label\n var labelString = this.treeView.getDisplayStringFor(this);\n if (labelString.length > 100) labelString = labelString.substring(0, 100) + '...';\n this.text.setTextString(labelString);\n \n // reset the bounds\n var fontSize = this.treeView.fonts.size;\n var textExtent = pt(labelString.length * fontSize * (3 / 4), fontSize * 2);\n this.text.setExtent(textExtent);\n\n // emphasize the properties current value\n this.text.emphasize({\n color: this.treeView.colors.emphasizedText,\n italics: 'italic'\n }, this.label.length, this.text.textString.length);\n });\n \n treeNode.addScript(function update() {\n \n // if actual value of the represented property changed (reference changed)\n if (this.parent && this.data !== this.parent.data[this.label]) {\n this.data = this.parent.data[this.label];\n this.displayValue();\n }\n\n if (Objects.typeStringOf(this.data) === 'String') return;\n\n // when properties have changed (same object, but other properties)\n var allProperties = Properties.own(this.data);\n var that = this;\n var allPropertiesKnown = allProperties.every(function (each) {\n return that.propertyList.indexOf(each) !== -1;\n })\n if (!allPropertiesKnown || allProperties.length !== this.propertyList.length) {\n this.updateExpanderColor();\n this.displayValue();\n\n // if expanded, redraw children\n if (this.expander.isExpanded) {\n this.expander.isExpanded = false;\n this.expander.toggle();\n }\n \n this.propertyList = allProperties;\n }\n\n if (Objects.isMutableType(this.data) && Properties.own(this.data).length > 0) {\n this.children.forEach(function (each) {\n each.update()\n });\n }\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":7122},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7121":{"this":{"__isSmartRef__":true,"id":1475}},"7122":{},"7123":{"varMapping":{"__isSmartRef__":true,"id":7124},"source":"function addScriptsToExpander(expander) {\n\n expander.addScript(function toggle() {\n // asynchronous toggling\n (function () { this.toggleExpansion(); }).bind(this).delay(0);\n });\n\n expander.addScript(function toggleExpansion() {\n var treeNode = this.owner;\n var treeView = treeNode.treeView;\n\n if (!this.isExpanded && Objects.isMutableType(treeNode.data) && Properties.own(treeNode.data).length > 0) {\n this.isExpanded = true;\n\n if (treeNode.childrenWrapper) {\n treeNode.childrenWrapper.setVisible(true);\n } if (treeNode.childrenWrapper && treeNode.children.length !== Properties.own(treeNode.data)) {\n treeNode.children = [];\n treeNode.childrenWrapper.removeAllMorphs();\n treeNode.childrenWrapper.addTreeNodesForProperties(treeNode);\n } else {\n if (Objects.isMutableType(treeNode.data)) {\n var wrapper = treeView.createTreeWrapper();\n\n wrapper.addScript(function addTreeNodesForProperties(treeNode) {\n var that = this;\n var props = Properties.own(treeNode.data);\n if (Objects.typeStringOf(treeNode.data) !== 'Array') props = props.sort();\n props.forEach(function(prop) {\n (function() {\n var childNode = treeNode.treeView.createTreeNode(prop, treeNode.data[prop], treeNode.level + 1, treeNode);\n treeNode.children.push(childNode);\n var nodeWrapper = treeNode.treeView.createTreeWrapper(childNode);\n that.addMorph(nodeWrapper);\n }).bind(this).delay(0); // asynchronous\n });\n });\n wrapper.addTreeNodesForProperties(treeNode);\n \n treeNode.childrenWrapper = wrapper;\n treeNode.owner.addMorph(wrapper);\n } \n }\n } else {\n this.isExpanded = false;\n treeNode.childrenWrapper && treeNode.childrenWrapper.setVisible(false);\n }\n treeNode.updateExpanderColor();\n treeNode.owner.applyLayout();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":7125},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7124":{"this":{"__isSmartRef__":true,"id":1475}},"7125":{},"7126":{"varMapping":{"__isSmartRef__":true,"id":7127},"source":"function getDisplayStringFor(treeNode) {\n var typeInfo = '';\n if (treeNode.data && treeNode.data.name) {\n typeInfo = treeNode.data.name;\n } else {\n typeInfo = (Objects.isMutableType(treeNode.data) ? \n Objects.shortPrintStringOf(treeNode.data) : treeNode.data);\n }\n return treeNode.label + \": \" + typeInfo;\n}","funcProperties":{"__isSmartRef__":true,"id":7128},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7127":{"this":{"__isSmartRef__":true,"id":1475}},"7128":{"timestamp":{"__isSmartRef__":true,"id":7129},"user":"lauritz","tags":[]},"7129":{"isSerializedDate":true,"string":"Fri Jan 27 2012 02:35:06 GMT+0100 (CET)"},"7130":{"varMapping":{"__isSmartRef__":true,"id":7131},"source":"function update() {\n this.rootNode.update();\n}","funcProperties":{"__isSmartRef__":true,"id":7132},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7131":{"this":{"__isSmartRef__":true,"id":1475}},"7132":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7133}},"7133":{"isSerializedDate":true,"string":"Sat Oct 15 2011 00:42:27 GMT+0200 (CEST)"},"7134":{"varMapping":{"__isSmartRef__":true,"id":7135},"source":"function addScriptsToText(textMorph) {\n\n textMorph.addScript(function layoutText(fontOptions){\n this.setFontSize(fontOptions.size);\n this.setFillOpacity(0);\n this.setBorderWidth(0);\n this.setMaxTextWidth(fontOptions.maxTextWidth);\n this.beLabel();\n this.fit();\n });\n\n}","funcProperties":{"__isSmartRef__":true,"id":7136},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7135":{"this":{"__isSmartRef__":true,"id":1475}},"7136":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7137}},"7137":{"isSerializedDate":true,"string":"Mon Sep 26 2011 23:16:48 GMT+0200 (CEST)"},"7138":{"varMapping":{"__isSmartRef__":true,"id":7139},"source":"function toggleAll() {\n\n if (!this.rootNode) return;\n\n try {\n JSON.stringify(this.rootNode.data);\n } catch (e) {\n // probably a circular structure\n return;\n }\n\n var toggleChildren = function (node) {\n\n if (!node.children) return;\n\n (function() {\n node.children.forEach(function (each) {\n each.expander.toggleExpansion();\n toggleChildren(each);\n });\n }).bind(this).delay(0); // asynchronous\n }\n\n toggleChildren(this.rootNode);\n \n}","funcProperties":{"__isSmartRef__":true,"id":7140},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7139":{"this":{"__isSmartRef__":true,"id":1475}},"7140":{"timestamp":{"__isSmartRef__":true,"id":7141},"user":"lauritz","tags":[]},"7141":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:58:11 GMT+0100 (CET)"},"7142":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7143},"id":"7FB7BF88-4549-4088-91D8-86F290B80197","renderContextTable":{"__isSmartRef__":true,"id":7150},"textChunks":[{"__isSmartRef__":true,"id":7151}],"eventHandler":{"__isSmartRef__":true,"id":7153},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"auto","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":7154},"priorExtent":{"__isSmartRef__":true,"id":7155},"_MaxTextWidth":285.8398611920343,"_MinTextWidth":285.8398611920343,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"layout":{"__isSmartRef__":true,"id":7156},"doitContext":{"__isSmartRef__":true,"id":163},"charsReplaced":"typeof(this)","lastFindLoc":12,"__SourceModuleName__":"Global.lively.morphic.TextCore","prevScroll":[0,0],"isBeingDragged":false,"showsHalos":false,"name":"Workspace","owner":{"__isSmartRef__":true,"id":1474},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"distanceToDragEvent":{"__isSmartRef__":true,"id":7157},"isCopyMorphRef":true,"morphRefId":1,"scriptAnnotations":{"__isSmartRef__":true,"id":7158},"lastDragTime":1317079672221,"derivationIds":[372,"3BBD270B-A828-436A-915C-D23688CF2067","D0890AA7-6E65-4B35-9600-1AD66DF96797","243534E4-AE49-45EC-9DB9-384D7DE4B994","251CC01A-7FDF-4357-9313-99DE732BDF7B","49FB5C89-127F-411D-9E7D-74274AFC6322","4BCE87D8-39F3-4B7F-A78F-10398B72A854"],"_Rotation":0,"_Scale":1,"priorSelectionRange":[16,16],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7161},"__LivelyClassName__":"lively.morphic.Text"},"7143":{"_Position":{"__isSmartRef__":true,"id":7144},"renderContextTable":{"__isSmartRef__":true,"id":7145},"_Extent":{"__isSmartRef__":true,"id":7146},"_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":7147},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":7148},"_Fill":{"__isSmartRef__":true,"id":7149},"__SourceModuleName__":"Global.lively.morphic.Shapes","_BorderRadius":4,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7144":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7145":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7146":{"x":290.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7147":{"x":3,"y":3,"width":-3,"height":-3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7148":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7149":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7150":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7151":{"style":{"__isSmartRef__":true,"id":7152},"chunkOwner":{"__isSmartRef__":true,"id":7142},"storedString":"this.setScale(5)","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7152":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"7153":{"morph":{"__isSmartRef__":true,"id":7142},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7154":{"x":10,"y":308.4698859496224,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7155":{"x":290.8398611920343,"y":81.00200300400502,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7156":{"resizeWidth":true,"resizeHeight":false,"moveVertical":true,"adjustForNewBounds":true},"7157":{"x":164.35052570087606,"y":-17.252879506132672,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7158":{"reset":{"__isSmartRef__":true,"id":7159}},"7159":{"time":{"__isSmartRef__":true,"id":7160},"user":"lauritz"},"7160":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:03:51 GMT+0100 (CET)"},"7161":{"reset":{"__isSmartRef__":true,"id":7162}},"7162":{"varMapping":{"__isSmartRef__":true,"id":7163},"source":"function reset() {\n this.doitContext = null;\n this.setTextString(\"\");\n}","funcProperties":{"__isSmartRef__":true,"id":7164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7163":{"this":{"__isSmartRef__":true,"id":7142}},"7164":{},"7165":{"position":{"__isSmartRef__":true,"id":7166},"_Extent":{"__isSmartRef__":true,"id":7167},"_BorderWidth":1.4500000000000002,"_BorderColor":{"__isSmartRef__":true,"id":7168},"_Fill":{"__isSmartRef__":true,"id":7169},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7170},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7171},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7166":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7167":{"x":310.8398611920343,"y":399.4718889536274,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7168":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7169":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7170":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7171":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7172":{"x":0,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7173":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"A simple box morph. A really blue one. Its amazing what you can build out of simple boxes.... Who needs stars when you got blue rectangles!","migrationLevel":4,"partName":"ExplorerPane","changes":[{"__isSmartRef__":true,"id":7174}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"7174":{"date":{"__isSmartRef__":true,"id":7175},"author":"lauritz","message":"Disabled grabbing and dragging on other submorphs as well..."},"7175":{"isSerializedDate":true,"string":"Tue Oct 25 2011 20:21:08 GMT+0200 (CEST)"},"7176":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7177":{"morph":{"__isSmartRef__":true,"id":1474},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7178":{"x":306.8398611920343,"y":397.4718889536274,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7179":{"x":212.32023310549857,"y":-12.472093186624761,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7180":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true,"layouter":{"__isSmartRef__":true,"id":7181}},"7181":{"defaultBorderSize":10,"defaultSpacing":15,"borderSize":10,"spacing":15,"container":{"__isSmartRef__":true,"id":1474},"__SourceModuleName__":"Global.lively.morphic.Layout","__LivelyClassName__":"lively.morphic.Layout.VerticalLayout"},"7182":{"reset":{"__isSmartRef__":true,"id":7183},"moveFocusTo":{"__isSmartRef__":true,"id":7187},"explore":{"__isSmartRef__":true,"id":7191},"toggleAll":{"__isSmartRef__":true,"id":7195}},"7183":{"varMapping":{"__isSmartRef__":true,"id":7184},"source":"function reset() {\n this.workspace.reset();\n this.treeView.reset();\n this.focusedNode = null;\n}","funcProperties":{"__isSmartRef__":true,"id":7185},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7184":{"this":{"__isSmartRef__":true,"id":1474}},"7185":{"timestamp":{"__isSmartRef__":true,"id":7186},"user":"lauritz","tags":[]},"7186":{"isSerializedDate":true,"string":"Wed Sep 21 2011 01:48:08 GMT+0200 (CEST)"},"7187":{"varMapping":{"__isSmartRef__":true,"id":7188},"source":"function moveFocusTo(focusedNode) {\n\n // set workspace context\n var previouslyFocusedNode = this.focusedNode;\n this.focusedNode = focusedNode;\n this.workspace.doitContext = this.focusedNode.data;\n\n // display focus\n if (previouslyFocusedNode && previouslyFocusedNode.setFill) \n previouslyFocusedNode.text.setFill(null);\n this.focusedNode.text.setFill(this.focusedNode.treeView.colors.focusedText);\n this.focusedNode.expander.toggle();\n}","funcProperties":{"__isSmartRef__":true,"id":7189},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7188":{"this":{"__isSmartRef__":true,"id":1474}},"7189":{"timestamp":{"__isSmartRef__":true,"id":7190},"user":"lauritz","tags":[]},"7190":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:02 GMT+0100 (CET)"},"7191":{"varMapping":{"__isSmartRef__":true,"id":7192},"source":"function explore(object) {\n this.reset();\n this.treeView.renderTree(object);\n\n this.moveFocusTo(this.treeView.rootNode);\n this.workspace.setTextString(\"this\");\n}","funcProperties":{"__isSmartRef__":true,"id":7193},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7192":{"this":{"__isSmartRef__":true,"id":1474}},"7193":{"timestamp":{"__isSmartRef__":true,"id":7194},"user":"lauritz","tags":[]},"7194":{"isSerializedDate":true,"string":"Tue Dec 13 2011 23:21:07 GMT+0100 (CET)"},"7195":{"varMapping":{"__isSmartRef__":true,"id":7196},"source":"function toggleAll() {\n this.treeView.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":7197},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7196":{"this":{"__isSmartRef__":true,"id":1474}},"7197":{"timestamp":{"__isSmartRef__":true,"id":7198},"user":"lauritz","tags":[]},"7198":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:54 GMT+0100 (CET)"},"7199":{"submorphs":[],"scripts":[],"id":"36AD0165-A17E-488C-8297-01270B563B45","shape":{"__isSmartRef__":true,"id":7200},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":7207},"showsHalos":false,"name":"ResizeCorner3","partsBinMetaInfo":{"__isSmartRef__":true,"id":7208},"__SourceModuleName__":"Global.lively.morphic.Core","__layered_draggingEnabled__":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":7209},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":7210},"eventHandler":{"__isSmartRef__":true,"id":7211},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":1473},"priorExtent":{"__isSmartRef__":true,"id":7212},"distanceToDragEvent":{"__isSmartRef__":true,"id":7213},"derivationIds":[373,"EE44AF79-9BA3-4128-9A82-23CA02A35CBA","2DF62558-574F-4341-A678-C082E7B62474","0B40BDFA-37E3-4097-9157-BE8CCF94B0A1","3600D2AA-3070-493B-839E-BF41427E5A08","B8F4C02B-011E-483E-A3AB-BE57DC9B1FBE","4C05283E-F381-40A9-9AEF-6D6D233F85FF"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7214},"__LivelyClassName__":"lively.morphic.Box"},"7200":{"position":{"__isSmartRef__":true,"id":7201},"_Extent":{"__isSmartRef__":true,"id":7202},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":7203},"_Fill":{"__isSmartRef__":true,"id":7204},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":7205},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7206},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7201":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7202":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7203":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7204":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7205":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7206":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7207":{"x":300.49672894514134,"y":409.92138184230294,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7208":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"7209":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7210":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7211":{"morph":{"__isSmartRef__":true,"id":7199},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7212":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7213":{"x":33.337083585580785,"y":-5.721794364406264,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7214":{"onDrag":{"__isSmartRef__":true,"id":7215},"onDragEnd":{"__isSmartRef__":true,"id":7222},"onDragStart":{"__isSmartRef__":true,"id":7229}},"7215":{"varMapping":{"__isSmartRef__":true,"id":7216},"source":"function onDrag(evt) {\n\t// alert(\"onDrag\")\n\t\tvar moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n\t\tif (evt.isShiftDown()) {\n\t\t\tvar maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t\t\tmoveDelta = pt(maxDelta, maxDelta);\n\t\t}\n\t\tthis.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n\t\tthis.align(this.bounds().bottomRight(), this.owner.getExtent())\n}","funcProperties":{"__isSmartRef__":true,"id":7221},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7216":{"this":{"__isSmartRef__":true,"id":7199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7217}},"7217":{"$super":{"__isSmartRef__":true,"id":7218}},"7218":{"varMapping":{"__isSmartRef__":true,"id":7219},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":7220},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7219":{"obj":{"__isSmartRef__":true,"id":7199},"name":"onDrag"},"7220":{},"7221":{},"7222":{"varMapping":{"__isSmartRef__":true,"id":7223},"source":"function onDragEnd(evt) {\n\tthis.dragStartPoint = null;\n\tthis.originalTargetExtent = null;\n}","funcProperties":{"__isSmartRef__":true,"id":7228},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7223":{"this":{"__isSmartRef__":true,"id":7199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7224}},"7224":{"$super":{"__isSmartRef__":true,"id":7225}},"7225":{"varMapping":{"__isSmartRef__":true,"id":7226},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":7227},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7226":{"obj":{"__isSmartRef__":true,"id":7199},"name":"onDragEnd"},"7227":{},"7228":{},"7229":{"varMapping":{"__isSmartRef__":true,"id":7230},"source":"function onDragStart(evt) {\n\tthis.dragStartPoint = evt.mousePoint;\n\tthis.originalTargetExtent = this.owner.getExtent();\n}","funcProperties":{"__isSmartRef__":true,"id":7235},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7230":{"this":{"__isSmartRef__":true,"id":7199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7231}},"7231":{"$super":{"__isSmartRef__":true,"id":7232}},"7232":{"varMapping":{"__isSmartRef__":true,"id":7233},"source":"function () {\n\t\t\t\ttry {\n\t\t\t\t\treturn obj.constructor.prototype[name].apply(obj, arguments)\n\t\t\t\t} catch(e) {\n\t\t\t\t\talert('Error in $super call: ' + e + '\\n' + e.stack);\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}","funcProperties":{"__isSmartRef__":true,"id":7234},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7233":{"obj":{"__isSmartRef__":true,"id":7199},"name":"onDragStart"},"7234":{},"7235":{},"7236":{"renderContextTable":{"__isSmartRef__":true,"id":7237},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7238},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":7239},"__SourceModuleName__":"Global.lively.morphic.Shapes","_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7238":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7239":{"x":310.49672894514134,"y":419.92138184230294,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7240":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7241":{"morph":{"__isSmartRef__":true,"id":1473},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7242":{"adjustForNewBounds":true},"7243":{"x":522.3877838765295,"y":186.57769545390755,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7244":{"x":310.49672894514134,"y":419.92138184230294,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7245":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7246":{"x":706,"y":245,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7247":{"x":178,"y":269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7248":{"explore":{"__isSmartRef__":true,"id":7249},"reset":{"__isSmartRef__":true,"id":7253},"inspect":{"__isSmartRef__":true,"id":7257},"toggleAll":{"__isSmartRef__":true,"id":7261}},"7249":{"varMapping":{"__isSmartRef__":true,"id":7250},"source":"function explore(object) {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":7251},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7250":{"this":{"__isSmartRef__":true,"id":1473}},"7251":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7252}},"7252":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)"},"7253":{"varMapping":{"__isSmartRef__":true,"id":7254},"source":"function reset() {\n // please see this window's pane, \"ExplorerPane\"\n this.explorer.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":7255},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7254":{"this":{"__isSmartRef__":true,"id":1473}},"7255":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7256}},"7256":{"isSerializedDate":true,"string":"Wed Sep 21 2011 19:25:04 GMT+0200 (CEST)"},"7257":{"varMapping":{"__isSmartRef__":true,"id":7258},"source":"function inspect(object) {\n // alias for explore\n this.explore(object);\n}","funcProperties":{"__isSmartRef__":true,"id":7259},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7258":{"this":{"__isSmartRef__":true,"id":1473}},"7259":{"user":"lauritz","timestamp":{"__isSmartRef__":true,"id":7260}},"7260":{"isSerializedDate":true,"string":"Tue Nov 15 2011 23:04:54 GMT+0100 (CET)"},"7261":{"varMapping":{"__isSmartRef__":true,"id":7262},"source":"function toggleAll() {\n this.explorer.toggleAll();\n}","funcProperties":{"__isSmartRef__":true,"id":7263},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7262":{"this":{"__isSmartRef__":true,"id":1473}},"7263":{"timestamp":{"__isSmartRef__":true,"id":7264},"user":"lauritz","tags":[]},"7264":{"isSerializedDate":true,"string":"Thu Jan 05 2012 22:40:45 GMT+0100 (CET)"},"7265":{"source":{"__isSmartRef__":true,"id":1441},"target":{"__isSmartRef__":true,"id":1473}},"7266":{"sourceObj":{"__isSmartRef__":true,"id":1441},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1473},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7267},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7267":{"source":{"__isSmartRef__":true,"id":1441},"target":{"__isSmartRef__":true,"id":1473}},"7268":{"submorphs":[{"__isSmartRef__":true,"id":7269}],"scripts":[],"shape":{"__isSmartRef__":true,"id":7281},"id":"55A97ED9-8081-4468-B16E-F3933F7553FF","renderContextTable":{"__isSmartRef__":true,"id":7286},"eventHandler":{"__isSmartRef__":true,"id":7287},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":7288},"priorExtent":{"__isSmartRef__":true,"id":7289},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1404},"lighterFill":{"__isSmartRef__":true,"id":7290},"label":{"__isSmartRef__":true,"id":7269},"owner":{"__isSmartRef__":true,"id":1427},"layout":{"__isSmartRef__":true,"id":7299},"attributeConnections":[{"__isSmartRef__":true,"id":7300},{"__isSmartRef__":true,"id":7302}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[380,"B603C6F6-E6E9-4618-BF46-1521ADDE21FE","7D67707D-A36A-46C7-AF4E-DBA063259CD8","0CE8DB38-9500-4B3D-BA30-191E72ABDE7C","9C2B6C81-CB1C-4AD9-941A-5307CCDA74CC","27DE4ECD-BBB4-4CA2-9C13-DBE49DE7A744","B9D13F17-7AA4-44BC-AA55-FF1F6DB50D8C"],"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.WindowControl"},"7269":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":7270},"id":"D60830F0-FC0A-4389-B430-278AD7115E1F","renderContextTable":{"__isSmartRef__":true,"id":7275},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":7276}],"eventHandler":{"__isSmartRef__":true,"id":7278},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":7279},"priorExtent":{"__isSmartRef__":true,"id":7280},"_MaxTextWidth":17,"_MinTextWidth":17,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":7268},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[381,"B48F0AA9-A9AE-4316-865F-D969FFFD4C87","3CE2E949-41E5-4680-ADB0-8AF865F87CA7","C865C749-7005-416E-B5A2-0FB224AB308E","CAED6589-594E-438B-ADB7-264F9B9D92B0","A391E593-03B1-4FDA-B6B3-978336437357","40913CEC-D4ED-4CA1-97B2-858D96CDC1F3"],"__LivelyClassName__":"lively.morphic.Text"},"7270":{"_Position":{"__isSmartRef__":true,"id":7271},"renderContextTable":{"__isSmartRef__":true,"id":7272},"_Extent":{"__isSmartRef__":true,"id":7273},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":7274},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1390},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7271":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7272":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7273":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7274":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7275":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","updateText":"updateTextHTML","setTextExtent":"setTextExtentHTML","setMaxTextWidth":"setMaxTextWidthHTML","setMaxTextHeight":"setMaxTextHeightHTML","setMinTextWidth":"setMinTextWidthHTML","setMinTextHeight":"setMinTextHeightHTML","getTextExtent":"getTextExtentHTML","getTextString":"getTextStringHTML","ignoreTextEvents":"ignoreTextEventsHTML","unignoreTextEvents":"unignoreTextEventsHTML","enableTextEvents":"enableTextEventsHTML","setFontFamily":"setFontFamilyHTML","setFontSize":"setFontSizeHTML","setTextColor":"setTextColorHTML","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"7276":{"style":{"__isSmartRef__":true,"id":7277},"chunkOwner":{"__isSmartRef__":true,"id":7269},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"7277":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"7278":{"morph":{"__isSmartRef__":true,"id":7269},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7279":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7280":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7281":{"_Position":{"__isSmartRef__":true,"id":7282},"renderContextTable":{"__isSmartRef__":true,"id":7283},"_Extent":{"__isSmartRef__":true,"id":7284},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7285},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1403},"_Fill":{"__isSmartRef__":true,"id":1404},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7282":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7283":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7284":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7285":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7286":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7287":{"morph":{"__isSmartRef__":true,"id":7268},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7288":{"x":271.49672894514134,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7289":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7290":{"stops":[{"__isSmartRef__":true,"id":7291},{"__isSmartRef__":true,"id":7293},{"__isSmartRef__":true,"id":7295},{"__isSmartRef__":true,"id":7297}],"vector":{"__isSmartRef__":true,"id":1413},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"7291":{"offset":0,"color":{"__isSmartRef__":true,"id":7292}},"7292":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7293":{"offset":0.4,"color":{"__isSmartRef__":true,"id":7294}},"7294":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7295":{"offset":0.6,"color":{"__isSmartRef__":true,"id":7296}},"7296":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7297":{"offset":1,"color":{"__isSmartRef__":true,"id":7298}},"7298":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7299":{"moveHorizontal":true},"7300":{"sourceObj":{"__isSmartRef__":true,"id":7268},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1473},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7301},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7301":{"source":{"__isSmartRef__":true,"id":7268},"target":{"__isSmartRef__":true,"id":1473}},"7302":{"sourceObj":{"__isSmartRef__":true,"id":7268},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1473},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7303},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7303":{"source":{"__isSmartRef__":true,"id":7268},"target":{"__isSmartRef__":true,"id":1473}},"7304":{"_Position":{"__isSmartRef__":true,"id":7305},"renderContextTable":{"__isSmartRef__":true,"id":7306},"_Extent":{"__isSmartRef__":true,"id":7307},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7308},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":7309},"_Fill":{"__isSmartRef__":true,"id":7310},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","_Opacity":1,"_BorderStyle":"solid","__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7305":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7306":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7307":{"x":310.49672894514134,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7308":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7309":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7310":{"stops":[{"__isSmartRef__":true,"id":7311},{"__isSmartRef__":true,"id":7313}],"vector":{"__isSmartRef__":true,"id":7315},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"7311":{"offset":0,"color":{"__isSmartRef__":true,"id":7312}},"7312":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7313":{"offset":1,"color":{"__isSmartRef__":true,"id":7314}},"7314":{"r":0.6400000000000001,"g":0.6400000000000001,"b":0.6400000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"7315":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7316":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML"},"7317":{"morph":{"__isSmartRef__":true,"id":1427},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7318":{"resizeWidth":true,"adjustForNewBounds":true},"7319":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7320":{"x":310.49672894514134,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7321":{"moveHorizontal":true},"7322":{"sourceObj":{"__isSmartRef__":true,"id":1397},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":1473},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7323},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7323":{"source":{"__isSmartRef__":true,"id":1397},"target":{"__isSmartRef__":true,"id":1473}},"7324":{"sourceObj":{"__isSmartRef__":true,"id":1397},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1473},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":7325},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"7325":{"source":{"__isSmartRef__":true,"id":1397},"target":{"__isSmartRef__":true,"id":1473}},"7326":{"x":513,"y":3989,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7327":{"_Position":{"__isSmartRef__":true,"id":7328},"renderContextTable":{"__isSmartRef__":true,"id":7329},"_Extent":{"__isSmartRef__":true,"id":7330},"_Fill":{"__isSmartRef__":true,"id":7331},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":7332},"_Opacity":1,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"7328":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7329":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setNodeClass":"setNodeClassHTML","setNodeId":"setNodeIdHTML","setStyleSheet":"setStyleSheetHTML","setAppearanceStylingMode":"setAppearanceStylingModeHTML","setBorderStylingMode":"setBorderStylingModeHTML","setComputedStyles":"setComputedStylesHTML"},"7330":{"x":3000,"y":4000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7331":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"7332":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"7333":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","setStyleSheet":"setStyleSheetHTML","setScroll":"setScrollHTML"},"7334":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"7335":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7336":{"x":1440,"y":6000,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"7337":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"7338":{"sourceObj":{"__isSmartRef__":true,"id":0},"sourceAttrName":"savedWorldAsURL","targetObj":{"__isSmartRef__":true,"id":0},"targetMethodName":"visitNewPageAfterSaveAs","converter":null,"converterString":null,"updaterString":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","varMapping":{"__isSmartRef__":true,"id":7339},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":7340},"__LivelyClassName__":"AttributeConnection"},"7339":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"7340":{"updater":{"__isSmartRef__":true,"id":7341}},"7341":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":7339},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":7342},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"7342":{},"7343":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/projects/BP2012/blank.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"isSimplifiedRegistry":true}}]]>