-1) {\n var c = this.connectionList.selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n this.updateLists();\n this.displayInitialScript();\n } \n}","funcProperties":{"__isSmartRef__":true,"id":1036},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1035":{"this":{"__isSmartRef__":true,"id":223}},"1036":{},"1037":{"varMapping":{"__isSmartRef__":true,"id":1038},"source":"function updateLists() {\n this.scriptList.setList(this.sortedScriptNamesOfObj(this.target));\n var scriptListItems = this.scriptList.getList();\n scriptListItems.unshift(\"-- ALL --\");\n this.scriptList.setList(scriptListItems);\n\n this.connectionList.setList(this.sortedConnectionNamesOfObj(this.target));\n var connectionListItems = this.connectionList.getList();\n connectionListItems.unshift(\"-- ALL --\");\n this.connectionList.setList(connectionListItems);\n}","funcProperties":{"__isSmartRef__":true,"id":1039},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1038":{"this":{"__isSmartRef__":true,"id":223}},"1039":{},"1040":{"varMapping":{"__isSmartRef__":true,"id":1041},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.selectAt(0);\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.selectAt(0);\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1042},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1041":{"this":{"__isSmartRef__":true,"id":223}},"1042":{},"1043":{"varMapping":{"__isSmartRef__":true,"id":1044},"source":"function reset() {\n this.target = null;\n this.scriptPane.doitContext = null;\n this.scriptList.setList();\n this.connectionList.setList();\n this.scriptPane.setTextString(\"\");\n this.morphSelector.reset();\n}","funcProperties":{"__isSmartRef__":true,"id":1045},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1044":{"this":{"__isSmartRef__":true,"id":223}},"1045":{},"1046":{"varMapping":{"__isSmartRef__":true,"id":1047},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n var index = this.scriptList.getList().indexOf(addScriptMatches[0]);\n if (index > -1) { \n return this.scriptList.selectAt(index);\n }\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i -1) {\n var c = selection[1];\n disconnect(c.sourceObj, c.sourceAttrName, c.targetObj, c.targetMethodName);\n editor.updateLists();\n editor.displayInitialScript();\n } \n }\n\n var message = 'Disconnect \"' + selection[0] +'\" connection?';\n var callback = disconnectConnection;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1246},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1245":{"this":{"__isSmartRef__":true,"id":1192}},"1246":{"timestamp":{"__isSmartRef__":true,"id":1247},"user":"lauritz","categories":[]},"1247":{"isSerializedDate":true,"string":"Fri Nov 11 2011 01:46:54 GMT+0100 (CET)"},"1248":{"submorphs":[{"__isSmartRef__":true,"id":1249}],"scripts":[],"id":"19B5F5EA-A463-48AD-AB82-059BB0C0B446","shape":{"__isSmartRef__":true,"id":1264},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1280},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1267},"lighterFill":{"__isSmartRef__":true,"id":1281},"label":{"__isSmartRef__":true,"id":1249},"attributeConnections":[{"__isSmartRef__":true,"id":1290}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1292},"name":"ObjectEditorRemoveScriptButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":1293},"renderContextTable":{"__isSmartRef__":true,"id":1294},"priorExtent":{"__isSmartRef__":true,"id":1295},"owner":{"__isSmartRef__":true,"id":205},"eventHandler":{"__isSmartRef__":true,"id":1296},"isCopyMorphRef":true,"morphRefId":24,"draggingEnabled":false,"objectEditorPane":{"__isSmartRef__":true,"id":205},"distanceToDragEvent":{"__isSmartRef__":true,"id":1297},"derivationIds":[217,"FDC10087-12CF-4570-9211-8309CB6A9AA3","E18FC530-4B1F-4F08-8DA6-3866A3519E56","04A2AAC3-6A9E-40BB-9408-EBB2567EE63B","8C1A42CE-840C-4AAE-BD79-C93A445B9EBF","61FC11FA-B87E-4EFE-BD15-564D3178B68B","ED34F9B5-9E00-41B3-8313-D9C3D6B3B231","A7481F4B-D444-4B4F-BDA2-4F9F03AEC24D"],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1298},"__LivelyClassName__":"lively.morphic.Button"},"1249":{"submorphs":[],"scripts":[],"id":"B02C7F19-B783-4BEE-93B2-1F2425145F36","shape":{"__isSmartRef__":true,"id":1250},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":25,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1256},"textColor":{"__isSmartRef__":true,"id":1253},"owner":{"__isSmartRef__":true,"id":1248},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1257}],"padding":{"__isSmartRef__":true,"id":1259},"_Padding":{"__isSmartRef__":true,"id":1260},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1261},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":1262},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","eventHandler":{"__isSmartRef__":true,"id":1263},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":25,"_MinTextHeight":null,"draggingEnabled":false,"derivationIds":[218,"852A7BD9-52EE-4708-A2D5-1BDECF33C958","7B4F173E-9726-472A-9B30-530D4AA92AD9","CBA217F6-2832-4213-9ABE-47753C1A4180","E6B97D1D-95D5-4644-9359-1D08D42A51F4","4391A57E-70C2-4628-9828-DD668CCE546E","F0C6C298-3B8B-42B2-B5E9-E5B82F607B01","DF0CAF75-4247-4797-B1A0-AD7444391E2A"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1250":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1251},"_Extent":{"__isSmartRef__":true,"id":1252},"_BorderColor":{"__isSmartRef__":true,"id":1253},"renderContextTable":{"__isSmartRef__":true,"id":1254},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1255},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1251":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1252":{"x":25,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1253":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1254":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1255":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1256":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1257":{"style":{"__isSmartRef__":true,"id":1258},"morph":{"__isSmartRef__":true,"id":1249},"__SourceModuleName__":"Global.lively.morphic.TextCore","chunkOwner":{"__isSmartRef__":true,"id":1249},"storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"1258":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1259":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1260":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1261":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1262":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1263":{"morph":{"__isSmartRef__":true,"id":1249},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1264":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1265},"_Extent":{"__isSmartRef__":true,"id":1266},"_Fill":{"__isSmartRef__":true,"id":1267},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1277},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1278},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1279},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1265":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1266":{"x":25,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1267":{"stops":[{"__isSmartRef__":true,"id":1268},{"__isSmartRef__":true,"id":1270},{"__isSmartRef__":true,"id":1272},{"__isSmartRef__":true,"id":1274}],"vector":{"__isSmartRef__":true,"id":1276},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1268":{"offset":0,"color":{"__isSmartRef__":true,"id":1269}},"1269":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1270":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1271}},"1271":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1272":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1273}},"1273":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1274":{"offset":1,"color":{"__isSmartRef__":true,"id":1275}},"1275":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1276":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1277":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1278":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1279":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1280":{"x":160,"y":40,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1281":{"stops":[{"__isSmartRef__":true,"id":1282},{"__isSmartRef__":true,"id":1284},{"__isSmartRef__":true,"id":1286},{"__isSmartRef__":true,"id":1288}],"vector":{"__isSmartRef__":true,"id":1276},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1282":{"offset":0,"color":{"__isSmartRef__":true,"id":1283}},"1283":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1284":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1285}},"1285":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1286":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1287}},"1287":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1288":{"offset":1,"color":{"__isSmartRef__":true,"id":1289}},"1289":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1290":{"sourceObj":{"__isSmartRef__":true,"id":1248},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":1248},"targetMethodName":"deleteSelectedScript","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":1291},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1291":{"source":{"__isSmartRef__":true,"id":1248},"target":{"__isSmartRef__":true,"id":1248}},"1292":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1293":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1294":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1295":{"x":30,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1296":{"morph":{"__isSmartRef__":true,"id":1248},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1297":{"x":33.35839679439101,"y":-21.324811622839547,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1298":{"deleteSelectedScript":{"__isSmartRef__":true,"id":1299}},"1299":{"varMapping":{"__isSmartRef__":true,"id":1300},"source":"function deleteSelectedScript() {\n\n var editor = this.objectEditorPane;\n var selection = editor.scriptList.selection;\n\n if (!editor.target || editor.scriptList.getList().size() < 2) \n return; \n\n var deleteScript = function (confirmed) {\n if (!confirmed) return;\n \n if (selection && editor.target) {\n if (!editor.target.hasOwnProperty(selection)) \n return;\n delete editor.target[selection];\n editor.updateLists();\n editor.displayInitialScript();\n }\n }\n\n var message = 'Delete \"' + selection + '\" script?';\n var callback = deleteScript;\n\n var dialog = new lively.morphic.ConfirmDialog(message, callback);\n\n return this.world().openDialog(dialog);\n}","funcProperties":{"__isSmartRef__":true,"id":1301},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1300":{"this":{"__isSmartRef__":true,"id":1248}},"1301":{"timestamp":{"__isSmartRef__":true,"id":1302},"user":"lauritz"},"1302":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:12:21 GMT+0100 (CET)"},"1303":{"submorphs":[{"__isSmartRef__":true,"id":1304}],"scripts":[],"id":"F768D106-F2BD-46DB-A929-FFE70DE36C10","shape":{"__isSmartRef__":true,"id":1319},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1335},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1322},"lighterFill":{"__isSmartRef__":true,"id":1336},"label":{"__isSmartRef__":true,"id":1304},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1345},"name":"ObjectEditorMorphSelector","partsBinMetaInfo":{"__isSmartRef__":true,"id":1346},"list":[],"renderContextTable":{"__isSmartRef__":true,"id":1347},"eventHandler":{"__isSmartRef__":true,"id":1348},"distanceToDragEvent":{"__isSmartRef__":true,"id":1349},"priorExtent":{"__isSmartRef__":true,"id":1350},"owner":{"__isSmartRef__":true,"id":205},"textString":"","selection":{"__isSmartRef__":true,"id":1351},"_ClipMode":"visible","prevScroll":[0,0],"listMorph":null,"derivationIds":[221,"4AC64FBA-95AC-42B2-A078-B6DA97889093","E26ED0E6-C4CE-4C82-94D5-175270E8459E","D292F2FC-C2B6-48AE-B779-8CC5868FFA49","53A862EB-032C-4BF0-9B21-58C7E0C0A9B2","CC4D188B-510F-48DE-A0E1-EC8D2CD63F9F","0CD057F2-3517-4849-A69E-1EF79B05ACE8","66EBBB7D-8FA7-4D43-AE78-A18DA3B970BA"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1368},"__LivelyClassName__":"lively.morphic.Button"},"1304":{"submorphs":[],"scripts":[],"id":"E2F30904-FEB7-479B-B43E-6E94AE06CBD3","shape":{"__isSmartRef__":true,"id":1305},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":220,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1311},"textColor":{"__isSmartRef__":true,"id":1308},"owner":{"__isSmartRef__":true,"id":1303},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1312}],"padding":{"__isSmartRef__":true,"id":1314},"_Padding":{"__isSmartRef__":true,"id":1314},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1315},"attributeConnections":[{"__isSmartRef__":true,"id":1316}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1317},"eventHandler":{"__isSmartRef__":true,"id":1318},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":220,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[222,"30F054A3-7658-405B-8098-B7D87AA8A9ED","556D6E07-45B7-42EC-A486-DE275EF0B034","06B0B080-467A-46CC-8B0D-9C0A9B9A71F1","5E2D96C9-BB9B-4735-8673-A79847435197","B48AA022-2022-4A2A-9090-4D884FB3DFD3","8B2F743A-98C5-45E1-B03C-5019114EAC47","D09C56C3-A2DC-4BDF-B8A1-6365138ECD01"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1305":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1306},"_Extent":{"__isSmartRef__":true,"id":1307},"_BorderColor":{"__isSmartRef__":true,"id":1308},"renderContextTable":{"__isSmartRef__":true,"id":1309},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1310},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1306":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1307":{"x":220,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1308":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1309":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1310":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1311":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1312":{"style":{"__isSmartRef__":true,"id":1313},"chunkOwner":{"__isSmartRef__":true,"id":1304},"storedString":"Rectangle","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1313":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1314":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1315":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1316":{"sourceObj":{"__isSmartRef__":true,"id":1304},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1303},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1318":{"morph":{"__isSmartRef__":true,"id":1304},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1319":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1320},"_Extent":{"__isSmartRef__":true,"id":1321},"_Fill":{"__isSmartRef__":true,"id":1322},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1332},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1333},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1334},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1320":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1321":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1322":{"stops":[{"__isSmartRef__":true,"id":1323},{"__isSmartRef__":true,"id":1325},{"__isSmartRef__":true,"id":1327},{"__isSmartRef__":true,"id":1329}],"vector":{"__isSmartRef__":true,"id":1331},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1323":{"offset":0,"color":{"__isSmartRef__":true,"id":1324}},"1324":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1325":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1326}},"1326":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1327":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1328}},"1328":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1329":{"offset":1,"color":{"__isSmartRef__":true,"id":1330}},"1330":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1331":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1332":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1333":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1334":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1335":{"x":240.1308656788165,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1336":{"stops":[{"__isSmartRef__":true,"id":1337},{"__isSmartRef__":true,"id":1339},{"__isSmartRef__":true,"id":1341},{"__isSmartRef__":true,"id":1343}],"vector":{"__isSmartRef__":true,"id":1331},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1337":{"offset":0,"color":{"__isSmartRef__":true,"id":1338}},"1338":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1339":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1340}},"1340":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1341":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1342}},"1342":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1343":{"offset":1,"color":{"__isSmartRef__":true,"id":1344}},"1344":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1345":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1346":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1347":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1348":{"morph":{"__isSmartRef__":true,"id":1303},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1349":{"x":122.93118375058827,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1350":{"x":220,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1351":{"submorphs":[],"scripts":[],"id":181,"shape":{"__isSmartRef__":true,"id":1352},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1358},"_MaxTextWidth":580,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1359},"showsHalos":false,"_FontSize":28,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"Title","partsBinMetaInfo":{"__isSmartRef__":true,"id":1360},"_TextColor":{"__isSmartRef__":true,"id":1361},"renderContextTable":{"__isSmartRef__":true,"id":1362},"textChunks":[{"__isSmartRef__":true,"id":1363}],"eventHandler":{"__isSmartRef__":true,"id":1365},"priorExtent":{"__isSmartRef__":true,"id":1366},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":580,"_MinTextHeight":null,"_Rotation":0,"_Scale":1.002003004005006,"previousSelection":[35,35],"priorSelectionRange":[23,23],"charsReplaced":"WIP / Proof of Concept","lastFindLoc":22,"distanceToDragEvent":{"__isSmartRef__":true,"id":1367},"_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","isCopyMorphRef":true,"morphRefId":2,"prevScroll":[0,0],"__LivelyClassName__":"lively.morphic.Text"},"1352":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1353},"_Extent":{"__isSmartRef__":true,"id":1354},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1355},"renderContextTable":{"__isSmartRef__":true,"id":1356},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1357},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1353":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1354":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1355":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1356":{"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"},"1357":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1358":{"x":37,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1359":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1360":{"partsSpaceName":"PartsBin/Worlds/","__SourceModuleName__":"Global.lively.PartsBin","comment":"For example a world title.","partName":"Title","migrationLevel":2,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1361":{"r":0,"g":0.309,"b":0.595,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1362":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1363":{"style":{"__isSmartRef__":true,"id":1364},"chunkOwner":{"__isSmartRef__":true,"id":1351},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"","__LivelyClassName__":"lively.morphic.TextChunk"},"1364":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1365":{"morph":{"__isSmartRef__":true,"id":1351},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1366":{"x":580,"y":43,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1367":{"x":221,"y":-12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1368":{"createListMorph":{"__isSmartRef__":true,"id":1369},"getList":{"__isSmartRef__":true,"id":1373},"removeList":{"__isSmartRef__":true,"id":1377},"reset":{"__isSmartRef__":true,"id":1381},"displayTopLevelMorphs":{"__isSmartRef__":true,"id":1385},"onMouseDown":{"__isSmartRef__":true,"id":1389},"setTargetOfPane":{"__isSmartRef__":true,"id":1397},"setTargetToListSelection":{"__isSmartRef__":true,"id":1401},"onBlur":{"__isSmartRef__":true,"id":1405},"setTarget":{"__isSmartRef__":true,"id":1413},"setTargetOnSelection":{"__isSmartRef__":true,"id":1417}},"1369":{"varMapping":{"__isSmartRef__":true,"id":1370},"source":"function createListMorph() {\n var items = this.getList();\n \n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n\n connect(listMorph, 'selection', this, 'setTargetToListSelection');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":1371},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1370":{"this":{"__isSmartRef__":true,"id":1303}},"1371":{"timestamp":{"__isSmartRef__":true,"id":1372},"user":"lauritz","tags":[]},"1372":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:55:41 GMT+0100 (CET)"},"1373":{"varMapping":{"__isSmartRef__":true,"id":1374},"source":"function getList() {\n var worldEntry = {\n isListItem: true,\n selectionString: 'World',\n string: 'World',\n value: this.world()\n };\n var list = this.world().indentedListItemsOfMorphNames();\n list.unshift(worldEntry);\n return list;\n}","funcProperties":{"__isSmartRef__":true,"id":1375},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1374":{"this":{"__isSmartRef__":true,"id":1303}},"1375":{"timestamp":{"__isSmartRef__":true,"id":1376},"user":"lauritz","tags":[]},"1376":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:12:23 GMT+0100 (CET)"},"1377":{"varMapping":{"__isSmartRef__":true,"id":1378},"source":"function removeList() {\n this.listMorph && this.listMorph.remove();\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1379},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1378":{"this":{"__isSmartRef__":true,"id":1303}},"1379":{"timestamp":{"__isSmartRef__":true,"id":1380},"user":"lauritz","tags":[]},"1380":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:51:07 GMT+0100 (CET)"},"1381":{"varMapping":{"__isSmartRef__":true,"id":1382},"source":"function reset() {\n this.list = [];\n this.setLabel('empty');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'});\n}","funcProperties":{"__isSmartRef__":true,"id":1383},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1382":{"this":{"__isSmartRef__":true,"id":1303}},"1383":{"timestamp":{"__isSmartRef__":true,"id":1384},"user":"lauritz","tags":[]},"1384":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:34:06 GMT+0100 (CET)"},"1385":{"varMapping":{"__isSmartRef__":true,"id":1386},"source":"function displayTopLevelMorphs() {\n var list = this.createListMorph(); \n if (this.getList().length === 0) return;\n this.addMorph(list);\n this.listMorph = list;\n}","funcProperties":{"__isSmartRef__":true,"id":1387},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1386":{"this":{"__isSmartRef__":true,"id":1303}},"1387":{"timestamp":{"__isSmartRef__":true,"id":1388},"user":"lauritz","tags":[]},"1388":{"isSerializedDate":true,"string":"Tue Dec 13 2011 18:53:20 GMT+0100 (CET)"},"1389":{"varMapping":{"__isSmartRef__":true,"id":1390},"source":"function onMouseDown(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n // clicked on morph, not the list, not the list's scrollbar\n if (evt.target === this.renderContext().shapeNode)\n this.removeList();\n } else {\n this.displayTopLevelMorphs();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1395},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1390":{"this":{"__isSmartRef__":true,"id":1303},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1391}},"1391":{"$super":{"__isSmartRef__":true,"id":1392}},"1392":{"varMapping":{"__isSmartRef__":true,"id":1393},"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":1394},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1393":{"obj":{"__isSmartRef__":true,"id":1303},"name":"onMouseDown"},"1394":{},"1395":{"timestamp":{"__isSmartRef__":true,"id":1396},"user":"lauritz","tags":[]},"1396":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:39 GMT+0100 (CET)"},"1397":{"varMapping":{"__isSmartRef__":true,"id":1398},"source":"function setTargetOfPane(selection) {\n this.owner.setTarget(selection);\n this.label.setAlign('left');\n}","funcProperties":{"__isSmartRef__":true,"id":1399},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1398":{"this":{"__isSmartRef__":true,"id":1303}},"1399":{"timestamp":{"__isSmartRef__":true,"id":1400},"user":"lauritz","tags":[]},"1400":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:30:42 GMT+0100 (CET)"},"1401":{"varMapping":{"__isSmartRef__":true,"id":1402},"source":"function setTargetToListSelection() { \n var selection = this.listMorph.selection;\n this.removeList();\n if (!selection) return;\n if (this.owner.scriptPane.hasChanged()) {\n var that = this;\n var callback = function (confirmed) {\n if (confirmed) that.setTargetOfPane(selection);\n }\n this.owner.confirmUnsavedChanges(callback);\n } else {\n this.setTargetOfPane(selection);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1403},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1402":{"this":{"__isSmartRef__":true,"id":1303}},"1403":{"timestamp":{"__isSmartRef__":true,"id":1404},"user":"lauritz","tags":[]},"1404":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:06:48 GMT+0100 (CET)"},"1405":{"varMapping":{"__isSmartRef__":true,"id":1406},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1411},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1406":{"this":{"__isSmartRef__":true,"id":1303},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1407}},"1407":{"$super":{"__isSmartRef__":true,"id":1408}},"1408":{"varMapping":{"__isSmartRef__":true,"id":1409},"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":1410},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1409":{"obj":{"__isSmartRef__":true,"id":1303},"name":"onBlur"},"1410":{},"1411":{"timestamp":{"__isSmartRef__":true,"id":1412},"user":"lauritz","tags":[]},"1412":{"isSerializedDate":true,"string":"Wed Dec 07 2011 05:30:08 GMT+0100 (CET)"},"1413":{"varMapping":{"__isSmartRef__":true,"id":1414},"source":"function setTarget(target) {\n this.label.setTextString(target.getName() || target.toString());\n}","funcProperties":{"__isSmartRef__":true,"id":1415},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1414":{"this":{"__isSmartRef__":true,"id":1303}},"1415":{"timestamp":{"__isSmartRef__":true,"id":1416},"user":"lauritz","tags":[]},"1416":{"isSerializedDate":true,"string":"Wed Dec 07 2011 04:29:39 GMT+0100 (CET)"},"1417":{"varMapping":{"__isSmartRef__":true,"id":1418},"source":"function setTargetOnSelection() {\n if (this.listMorph && this.listMorph.renderContext() && this.listMorph.renderContext().listNode.value) {\n this.setTargetToListSelection();\n this.stopStepping();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1419},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1418":{"this":{"__isSmartRef__":true,"id":1303}},"1419":{"timestamp":{"__isSmartRef__":true,"id":1420},"user":"lauritz","tags":[]},"1420":{"isSerializedDate":true,"string":"Wed Dec 07 2011 06:12:06 GMT+0100 (CET)"},"1421":{"submorphs":[],"scripts":[],"id":"CB8FCCB2-E6E0-4E75-A33E-C14D06D6DA90","shape":{"__isSmartRef__":true,"id":1422},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1428},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1425},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText1","partsBinMetaInfo":{"__isSmartRef__":true,"id":1429},"textChunks":[{"__isSmartRef__":true,"id":1430}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1432},"renderContextTable":{"__isSmartRef__":true,"id":1433},"eventHandler":{"__isSmartRef__":true,"id":1434},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1435},"eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":205},"isCopyMorphRef":true,"morphRefId":27,"derivationIds":[223,"5E3A69EF-26C1-4D0D-B04C-8C3894017F56","14AB1B91-3ED6-49AE-AA58-47D18B6C569F","991D4A54-1FC4-4BC7-AA82-F814AC52CDE3","DB9B19F7-4390-4CE5-9B1D-62177CB8D605","8F7B2EE9-9538-4044-B75B-6A12F3108B70","4B9F9B4B-C7D3-418D-9AC9-10503A4EBF8E","324EE422-8C94-43CE-B964-A3150830C25F"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1422":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1423},"_Extent":{"__isSmartRef__":true,"id":1424},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1425},"renderContextTable":{"__isSmartRef__":true,"id":1426},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1427},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1423":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1424":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1425":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1426":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1427":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1428":{"x":198.16434648623274,"y":12.911539589748486,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1429":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1430":{"style":{"__isSmartRef__":true,"id":1431},"chunkOwner":{"__isSmartRef__":true,"id":1421},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Target:","__LivelyClassName__":"lively.morphic.TextChunk"},"1431":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1432":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1433":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1434":{"morph":{"__isSmartRef__":true,"id":1421},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1435":{"x":41.065989525935834,"y":-10.506047005169194,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1436":{"submorphs":[],"scripts":[],"id":"3005AC31-EE5E-494A-B9DF-F3F34B07AD53","shape":{"__isSmartRef__":true,"id":1437},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":false,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1443},"_MaxTextWidth":64.8979476392384,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":1440},"showsHalos":false,"_FontSize":9,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"ObjectEditorScriptsText2","partsBinMetaInfo":{"__isSmartRef__":true,"id":1444},"textChunks":[{"__isSmartRef__":true,"id":1445}],"charsReplaced":"Scripts","lastFindLoc":-7,"priorSelectionRange":[0,7],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1447},"renderContextTable":{"__isSmartRef__":true,"id":1448},"eventHandler":{"__isSmartRef__":true,"id":1449},"_WhiteSpaceHandling":"pre-wrap","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_MinTextWidth":64.8979476392384,"_MinTextHeight":null,"_ClipMode":"visible","draggingEnabled":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":1450},"eventsAreIgnored":true,"isCopyMorphRef":true,"morphRefId":27,"owner":{"__isSmartRef__":true,"id":205},"derivationIds":[224,"35EF8FE5-067D-45B6-AF21-77040F11D340","80DC09DD-22D4-4089-B5C3-857B32C9BE9B","EF080074-E6B9-47F3-A87F-26313B40C430","F6977801-C1A7-445C-9BF1-8A1019E202FB","8C9157AE-0343-4CFB-8186-1D5E05D2ECBE","DD3C23F8-6463-4EAE-959B-C486E27D9BDA","1E8D3752-D212-41F8-BC63-B094E0C80707"],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1437":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1438},"_Extent":{"__isSmartRef__":true,"id":1439},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1440},"renderContextTable":{"__isSmartRef__":true,"id":1441},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1442},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1438":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1439":{"x":64.8979476392384,"y":14,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1440":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1441":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1442":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1443":{"x":10,"y":12.911539589749026,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1444":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1445":{"style":{"__isSmartRef__":true,"id":1446},"chunkOwner":{"__isSmartRef__":true,"id":1436},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"Tag:","__LivelyClassName__":"lively.morphic.TextChunk"},"1446":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1447":{"x":64.8979476392384,"y":14,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"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","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":{"morph":{"__isSmartRef__":true,"id":1436},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1450":{"x":45.76052154281416,"y":-27.783027415339603,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1451":{"submorphs":[{"__isSmartRef__":true,"id":1452}],"scripts":[],"id":"567C3524-AF4F-4465-AA43-3525AE8B815D","shape":{"__isSmartRef__":true,"id":1467},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1483},"value":true,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1484},"lighterFill":{"__isSmartRef__":true,"id":1470},"label":{"__isSmartRef__":true,"id":1452},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":1493},"name":"ObjectEditorTagChooser","partsBinMetaInfo":{"__isSmartRef__":true,"id":1494},"listMorph":null,"list":[],"renderContextTable":{"__isSmartRef__":true,"id":1495},"eventHandler":{"__isSmartRef__":true,"id":1496},"distanceToDragEvent":{"__isSmartRef__":true,"id":1497},"priorExtent":{"__isSmartRef__":true,"id":1498},"textString":"PartsBinBrowser","selection":"","_ClipMode":"visible","prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":205},"setTargetToListSelection":"all","savedTextString":"all","derivationIds":[225,"7F83847B-D0B1-4A31-8601-43424B97C858","E08FC110-71D7-4FFD-B4A8-08F8147B95BA","5534107D-C5C9-48DD-A1ED-B87E9D9B672C","0B89FA7A-768C-4062-98AE-C455E8DAFF19","799320C6-CFBA-40E7-B03D-64BFE9B78248","9B650AA3-271B-4E72-B230-51C6F64B7462","C95D3672-724C-4C2C-9CDD-EF308062F627"],"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1499},"__LivelyClassName__":"lively.morphic.Button"},"1452":{"submorphs":[],"scripts":[],"id":"3BEF00F2-427D-4556-987C-01746B02CBFA","shape":{"__isSmartRef__":true,"id":1453},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":130,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1459},"textColor":{"__isSmartRef__":true,"id":1456},"owner":{"__isSmartRef__":true,"id":1451},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":1460}],"padding":{"__isSmartRef__":true,"id":1462},"_Padding":{"__isSmartRef__":true,"id":1462},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":1463},"attributeConnections":[{"__isSmartRef__":true,"id":1464}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"renderContextTable":{"__isSmartRef__":true,"id":1465},"eventHandler":{"__isSmartRef__":true,"id":1466},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":130,"_MinTextHeight":null,"_Align":"left","_FontFamily":"Arial","_FontSize":11,"derivationIds":[226,"03DBF3F8-8EA2-4426-BA64-C4297DDAB015","B8F87302-BEC3-48CD-9BBA-6C7DBB6287E1","4AA6AE51-338B-4E3E-814B-9F99C693A2D5","08F6CE56-AD91-4C27-9429-C3DEA313696C","D39C963C-FD24-4498-A6D8-71E5102CE58A","132C2A9E-3466-4051-AAEA-6E485A91F408","DB8BC4A1-ED41-446B-AB6C-7E73DD857B5D"],"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"1453":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1454},"_Extent":{"__isSmartRef__":true,"id":1455},"_BorderColor":{"__isSmartRef__":true,"id":1456},"renderContextTable":{"__isSmartRef__":true,"id":1457},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1458},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1454":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1455":{"x":130,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1456":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1457":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1458":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1459":{"x":2,"y":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1460":{"style":{"__isSmartRef__":true,"id":1461},"chunkOwner":{"__isSmartRef__":true,"id":1452},"storedString":"all","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1461":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1462":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1463":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1464":{"sourceObj":{"__isSmartRef__":true,"id":1452},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":1451},"targetMethodName":"selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1465":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1466":{"morph":{"__isSmartRef__":true,"id":1452},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1467":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":1468},"_Extent":{"__isSmartRef__":true,"id":1469},"_Fill":{"__isSmartRef__":true,"id":1470},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1480},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":1481},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1482},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1468":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1469":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1470":{"stops":[{"__isSmartRef__":true,"id":1471},{"__isSmartRef__":true,"id":1473},{"__isSmartRef__":true,"id":1475},{"__isSmartRef__":true,"id":1477}],"vector":{"__isSmartRef__":true,"id":1479},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1471":{"offset":0,"color":{"__isSmartRef__":true,"id":1472}},"1472":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1473":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1474}},"1474":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1475":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1476}},"1476":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1477":{"offset":1,"color":{"__isSmartRef__":true,"id":1478}},"1478":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1479":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1480":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1481":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1482":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1483":{"x":39.12381412396891,"y":10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1484":{"stops":[{"__isSmartRef__":true,"id":1485},{"__isSmartRef__":true,"id":1487},{"__isSmartRef__":true,"id":1489},{"__isSmartRef__":true,"id":1491}],"vector":{"__isSmartRef__":true,"id":1479},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1485":{"offset":0,"color":{"__isSmartRef__":true,"id":1486}},"1486":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1487":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1488}},"1488":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1489":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1490}},"1490":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1491":{"offset":1,"color":{"__isSmartRef__":true,"id":1492}},"1492":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1493":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1494":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"partName":"ChoiceButton","comment":"Click on it and you get a list of things to choose from.","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1495":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1496":{"morph":{"__isSmartRef__":true,"id":1451},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1497":{"x":85.7442776093583,"y":-11.582832083333244,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1498":{"x":130,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1499":{"createListMorph":{"__isSmartRef__":true,"id":1500},"getList":{"__isSmartRef__":true,"id":1504},"removeList":{"__isSmartRef__":true,"id":1508},"reset":{"__isSmartRef__":true,"id":1512},"onMouseUp":{"__isSmartRef__":true,"id":1516},"onBlur":{"__isSmartRef__":true,"id":1524},"setTag":{"__isSmartRef__":true,"id":1532}},"1500":{"varMapping":{"__isSmartRef__":true,"id":1501},"source":"function createListMorph() {\n var items = this.getList();\n\n var height = Math.min(this.owner.getExtent().y, items.length * 17);\n var extent = new Rectangle(0, this.getExtent().y, this.getExtent().x, height);\n\n var listMorph = new lively.morphic.List(extent);\n listMorph.setList(items);\n listMorph.setFontSize(10);\n\n listMorph.disableGrabbing();\n listMorph.disableDragging();\n \n connect(listMorph, 'selection', this, 'setTag');\n \n return listMorph;\n}","funcProperties":{"__isSmartRef__":true,"id":1502},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1501":{"this":{"__isSmartRef__":true,"id":1451}},"1502":{"timestamp":{"__isSmartRef__":true,"id":1503},"user":"lauritz","categories":[]},"1503":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:35:59 GMT+0100 (CET)"},"1504":{"varMapping":{"__isSmartRef__":true,"id":1505},"source":"function getList() {\n if (!this.owner.target) return [''];\n\n var target = this.owner.target;\n\n var tags = Functions.own(target).collect(function (each) {\n return target[each].tags || [];\n }).flatten().uniq();\n\n var sortedTags = tags.sortBy(function(name) { \n return name.toLowerCase() \n });\n \n sortedTags.unshift('all'); \n return sortedTags;\n}","funcProperties":{"__isSmartRef__":true,"id":1506},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1505":{"this":{"__isSmartRef__":true,"id":1451}},"1506":{"timestamp":{"__isSmartRef__":true,"id":1507},"user":"lauritz","tags":[]},"1507":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:25 GMT+0100 (CET)"},"1508":{"varMapping":{"__isSmartRef__":true,"id":1509},"source":"function removeList() {\n this.listMorph && this.listMorph.remove()\n this.listMorph = null;\n}","funcProperties":{"__isSmartRef__":true,"id":1510},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1509":{"this":{"__isSmartRef__":true,"id":1451}},"1510":{"timestamp":{"__isSmartRef__":true,"id":1511},"user":"lauritz","categories":[]},"1511":{"isSerializedDate":true,"string":"Thu Nov 17 2011 19:06:51 GMT+0100 (CET)"},"1512":{"varMapping":{"__isSmartRef__":true,"id":1513},"source":"function reset() {\n this.list = [];\n this.setLabel('all');\n this.label.setAlign('left');\n this.removeList();\n this.applyStyle({fixedWidth: true, fixedHeight: true, borderWidth: 1, overflow: 'visible'})\n}","funcProperties":{"__isSmartRef__":true,"id":1514},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1513":{"this":{"__isSmartRef__":true,"id":1451}},"1514":{"timestamp":{"__isSmartRef__":true,"id":1515},"user":"lauritz","tags":[]},"1515":{"isSerializedDate":true,"string":"Fri Dec 16 2011 20:27:53 GMT+0100 (CET)"},"1516":{"varMapping":{"__isSmartRef__":true,"id":1517},"source":"function onMouseUp(evt) {\n if (evt.isCommandKey() || evt.isRightMouseButtonDown()) return $super(evt);\n if (this.listMorph) {\n this.removeList();\n return true;\n } \n if (this.getList().size() < 2) return;\n var list = this.createListMorph();\n this.addMorph(list);\n this.listMorph = list;\n return true;\n}","funcProperties":{"__isSmartRef__":true,"id":1522},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1517":{"this":{"__isSmartRef__":true,"id":1451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1518}},"1518":{"$super":{"__isSmartRef__":true,"id":1519}},"1519":{"varMapping":{"__isSmartRef__":true,"id":1520},"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":1521},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1520":{"obj":{"__isSmartRef__":true,"id":1451},"name":"onMouseUp"},"1521":{},"1522":{"timestamp":{"__isSmartRef__":true,"id":1523},"user":"lauritz","categories":[]},"1523":{"isSerializedDate":true,"string":"Thu Nov 17 2011 18:59:16 GMT+0100 (CET)"},"1524":{"varMapping":{"__isSmartRef__":true,"id":1525},"source":"function onBlur(evt) {\n $super(evt);\n \n // workaround - otherwise other morphs get this event\n var clickedMorph = evt && evt.world && evt.world.clickedOnMorph;\n if (clickedMorph && (clickedMorph !== this && clickedMorph !== this.listMorph)) {\n this.removeList();\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1530},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1525":{"this":{"__isSmartRef__":true,"id":1451},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1526}},"1526":{"$super":{"__isSmartRef__":true,"id":1527}},"1527":{"varMapping":{"__isSmartRef__":true,"id":1528},"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":1529},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1528":{"obj":{"__isSmartRef__":true,"id":1451},"name":"onBlur"},"1529":{},"1530":{"timestamp":{"__isSmartRef__":true,"id":1531},"user":"lauritz","categories":[]},"1531":{"isSerializedDate":true,"string":"Mon Nov 21 2011 23:10:03 GMT+0100 (CET)"},"1532":{"varMapping":{"__isSmartRef__":true,"id":1533},"source":"function setTag(tag) {\n this.setLabel(tag || '');\n this.label.setAlign('left');\n this.owner.setTag(tag);\n}","funcProperties":{"__isSmartRef__":true,"id":1534},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1533":{"this":{"__isSmartRef__":true,"id":1451}},"1534":{"timestamp":{"__isSmartRef__":true,"id":1535},"user":"lauritz","categories":[]},"1535":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:36:12 GMT+0100 (CET)"},"1536":{"submorphs":[{"__isSmartRef__":true,"id":1537}],"scripts":[],"id":"A04A2740-6EEA-40FD-8217-94664B9EEF04","shape":{"__isSmartRef__":true,"id":1552},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1556},"lighterFill":{"__isSmartRef__":true,"id":1568},"label":{"__isSmartRef__":true,"id":1537},"name":"Button","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1577},"attributeConnections":[{"__isSmartRef__":true,"id":1578}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1614},"renderContextTable":{"__isSmartRef__":true,"id":1615},"eventHandler":{"__isSmartRef__":true,"id":1616},"distanceToDragEvent":{"__isSmartRef__":true,"id":1617},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","87E42FF6-3862-481D-97D6-643676E15F32","4F370A81-5A80-4821-8ECC-D52B56F31E15"],"_Position":{"__isSmartRef__":true,"id":1618},"owner":{"__isSmartRef__":true,"id":205},"layout":{"__isSmartRef__":true,"id":1619},"_Rotation":0,"_Scale":0.994014980014994,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Button"},"1537":{"submorphs":[],"scripts":[],"id":"6A63C2BA-5848-44DB-B596-1A51A66572D4","shape":{"__isSmartRef__":true,"id":1538},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1544},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1545},"_Padding":{"__isSmartRef__":true,"id":1546},"owner":{"__isSmartRef__":true,"id":1536},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1547},"textChunks":[{"__isSmartRef__":true,"id":1548}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1550},"eventHandler":{"__isSmartRef__":true,"id":1551},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","BA4EC8D2-AB29-4F9F-B5A0-715A4746A4C4","56735895-BA99-4D98-9866-AA5DBD86237E"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1538":{"position":{"__isSmartRef__":true,"id":1539},"_Extent":{"__isSmartRef__":true,"id":1540},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1541},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1542},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1543},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1539":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1540":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1541":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1542":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1543":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1544":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1545":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1546":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1547":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1548":{"style":{"__isSmartRef__":true,"id":1549},"chunkOwner":{"__isSmartRef__":true,"id":1537},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"run","__LivelyClassName__":"lively.morphic.TextChunk"},"1549":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1550":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1551":{"morph":{"__isSmartRef__":true,"id":1537},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1552":{"position":{"__isSmartRef__":true,"id":1553},"_Extent":{"__isSmartRef__":true,"id":1554},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1555},"_Fill":{"__isSmartRef__":true,"id":1556},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1566},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1567},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1553":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1554":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1555":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1556":{"stops":[{"__isSmartRef__":true,"id":1557},{"__isSmartRef__":true,"id":1559},{"__isSmartRef__":true,"id":1561},{"__isSmartRef__":true,"id":1563}],"vector":{"__isSmartRef__":true,"id":1565},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1557":{"offset":0,"color":{"__isSmartRef__":true,"id":1558}},"1558":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1559":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1560}},"1560":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1561":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1562}},"1562":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1563":{"offset":1,"color":{"__isSmartRef__":true,"id":1564}},"1564":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1565":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1566":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1567":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1568":{"stops":[{"__isSmartRef__":true,"id":1569},{"__isSmartRef__":true,"id":1571},{"__isSmartRef__":true,"id":1573},{"__isSmartRef__":true,"id":1575}],"vector":{"__isSmartRef__":true,"id":1565},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1569":{"offset":0,"color":{"__isSmartRef__":true,"id":1570}},"1570":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1571":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1572}},"1572":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1573":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1574}},"1574":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1575":{"offset":1,"color":{"__isSmartRef__":true,"id":1576}},"1576":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1577":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1578":{"sourceObj":{"__isSmartRef__":true,"id":1536},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":205},"targetMethodName":"runScript","visualConnector":{"__isSmartRef__":true,"id":1579},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1579":{"submorphs":[{"__isSmartRef__":true,"id":1580}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1595},"derivationIds":[null],"id":"C89B50A0-17E7-4D22-AE1D-5112520DAEE7","renderContextTable":{"__isSmartRef__":true,"id":1602},"eventHandler":{"__isSmartRef__":true,"id":1603},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1604},{"__isSmartRef__":true,"id":1605}],"con":{"__isSmartRef__":true,"id":1578},"showsMorphMenu":true,"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1606},"__LivelyClassName__":"lively.morphic.Path"},"1580":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1581},"derivationIds":[null],"id":"2A71BE9E-6820-46AF-ACED-3C9BDCC918AF","renderContextTable":{"__isSmartRef__":true,"id":1592},"eventHandler":{"__isSmartRef__":true,"id":1593},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1594},"owner":{"__isSmartRef__":true,"id":1579},"_Rotation":-3.130064002485303,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1581":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1582},{"__isSmartRef__":true,"id":1583},{"__isSmartRef__":true,"id":1584},{"__isSmartRef__":true,"id":1585}],"renderContextTable":{"__isSmartRef__":true,"id":1586},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1587},"_Extent":{"__isSmartRef__":true,"id":1588},"_Padding":{"__isSmartRef__":true,"id":1589},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1590},"_Fill":{"__isSmartRef__":true,"id":1591},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1582":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1583":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1584":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1585":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1586":{"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","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1587":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1588":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1589":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1590":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1591":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1592":{"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"},"1593":{"morph":{"__isSmartRef__":true,"id":1580},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1594":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1595":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1596},{"__isSmartRef__":true,"id":1597}],"renderContextTable":{"__isSmartRef__":true,"id":1598},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1599},"_Extent":{"__isSmartRef__":true,"id":1600},"_Padding":{"__isSmartRef__":true,"id":1601},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1590},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1596":{"isAbsolute":true,"x":829.7085000406639,"y":9.565843617262885,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1597":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1598":{"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","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1599":{"x":-1,"y":-1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1600":{"x":831,"y":11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1601":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1602":{"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"},"1603":{"morph":{"__isSmartRef__":true,"id":1579},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1604":{"morph":{"__isSmartRef__":true,"id":1579},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1605":{"morph":{"__isSmartRef__":true,"id":1579},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1580},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1606":{"morphMenuItems":{"__isSmartRef__":true,"id":1607}},"1607":{"varMapping":{"__isSmartRef__":true,"id":1608},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1613},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1608":{"this":{"__isSmartRef__":true,"id":1579},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1609}},"1609":{"$super":{"__isSmartRef__":true,"id":1610}},"1610":{"varMapping":{"__isSmartRef__":true,"id":1611},"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":1612},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1611":{"obj":{"__isSmartRef__":true,"id":1579},"name":"morphMenuItems"},"1612":{},"1613":{},"1614":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1615":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1616":{"morph":{"__isSmartRef__":true,"id":1536},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1617":{"x":71.99397894387357,"y":-13.030105280631261,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1618":{"x":788.7426780861911,"y":9.508591852040126,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1619":{"centeredHorizontal":false,"moveHorizontal":true},"1620":{"submorphs":[{"__isSmartRef__":true,"id":1621}],"scripts":[],"id":"341CADEF-499C-44EF-8AF8-66F6E144C003","shape":{"__isSmartRef__":true,"id":1636},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1640},"lighterFill":{"__isSmartRef__":true,"id":1652},"label":{"__isSmartRef__":true,"id":1621},"name":"saveButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1661},"attributeConnections":[{"__isSmartRef__":true,"id":1662}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1698},"renderContextTable":{"__isSmartRef__":true,"id":1699},"eventHandler":{"__isSmartRef__":true,"id":1700},"distanceToDragEvent":{"__isSmartRef__":true,"id":1701},"derivationIds":[7251,"BE69DA70-C9C3-4495-A6B5-413BD2FFA0D1","79FE3D3F-77C4-4B39-8243-D672185B416D","A4D2FEDF-2654-4381-AB43-8F89B9CA2E86","D686F0CB-027B-4CA9-8B8D-9306389B219D","F51327CB-803E-4234-BFB3-6F5252D1C936","A79280E8-6AE3-4016-AF47-CE78F71924C6"],"layout":{"__isSmartRef__":true,"id":1702},"_Position":{"__isSmartRef__":true,"id":1703},"owner":{"__isSmartRef__":true,"id":205},"_Rotation":0,"_Scale":0.9880657804942089,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Button"},"1621":{"submorphs":[],"scripts":[],"id":"75F4D185-B3D9-46B0-B72A-FE1B294369F1","shape":{"__isSmartRef__":true,"id":1622},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1628},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1629},"_Padding":{"__isSmartRef__":true,"id":1630},"owner":{"__isSmartRef__":true,"id":1620},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1631},"textChunks":[{"__isSmartRef__":true,"id":1632}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1634},"eventHandler":{"__isSmartRef__":true,"id":1635},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"E0EF3EFE-3ADF-4E46-8705-7BF444E4BCED","307A3596-1175-4EA6-AA27-5BA4C9D95AB7","0EF99131-C569-4C2C-B613-E0D8423C1334","9AECBFB8-25A5-483F-86AD-D7CF9ABC9A25","918C6CC4-3540-4341-BAFD-B195F7807FEE","5AABB138-5EE8-40A5-AB3C-5A9625D0A353"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1622":{"position":{"__isSmartRef__":true,"id":1623},"_Extent":{"__isSmartRef__":true,"id":1624},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1625},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1626},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1627},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1623":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1624":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1625":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1626":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1627":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1628":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1629":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1630":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1631":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1632":{"style":{"__isSmartRef__":true,"id":1633},"chunkOwner":{"__isSmartRef__":true,"id":1621},"storedString":"save","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1633":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1634":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1635":{"morph":{"__isSmartRef__":true,"id":1621},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1636":{"position":{"__isSmartRef__":true,"id":1637},"_Extent":{"__isSmartRef__":true,"id":1638},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1639},"_Fill":{"__isSmartRef__":true,"id":1640},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1650},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1651},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1637":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1638":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1639":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1640":{"stops":[{"__isSmartRef__":true,"id":1641},{"__isSmartRef__":true,"id":1643},{"__isSmartRef__":true,"id":1645},{"__isSmartRef__":true,"id":1647}],"vector":{"__isSmartRef__":true,"id":1649},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1641":{"offset":0,"color":{"__isSmartRef__":true,"id":1642}},"1642":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1643":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1644}},"1644":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1645":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1646}},"1646":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1647":{"offset":1,"color":{"__isSmartRef__":true,"id":1648}},"1648":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1649":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1650":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1651":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1652":{"stops":[{"__isSmartRef__":true,"id":1653},{"__isSmartRef__":true,"id":1655},{"__isSmartRef__":true,"id":1657},{"__isSmartRef__":true,"id":1659}],"vector":{"__isSmartRef__":true,"id":1649},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1653":{"offset":0,"color":{"__isSmartRef__":true,"id":1654}},"1654":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1655":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1656}},"1656":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1657":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1658}},"1658":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1659":{"offset":1,"color":{"__isSmartRef__":true,"id":1660}},"1660":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1661":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1662":{"sourceObj":{"__isSmartRef__":true,"id":1620},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":701},"targetMethodName":"doSave","visualConnector":{"__isSmartRef__":true,"id":1663},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1663":{"submorphs":[{"__isSmartRef__":true,"id":1664}],"scripts":[],"shape":{"__isSmartRef__":true,"id":1679},"derivationIds":[null],"id":"F46012D5-C8BE-4E52-BF98-D052FDAAE17A","renderContextTable":{"__isSmartRef__":true,"id":1686},"eventHandler":{"__isSmartRef__":true,"id":1687},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":1688},{"__isSmartRef__":true,"id":1689}],"con":{"__isSmartRef__":true,"id":1662},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1690},"__LivelyClassName__":"lively.morphic.Path"},"1664":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":1665},"derivationIds":[null],"id":"A2A83C78-09B8-473C-829B-198206D7A9E4","renderContextTable":{"__isSmartRef__":true,"id":1676},"eventHandler":{"__isSmartRef__":true,"id":1677},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":1678},"owner":{"__isSmartRef__":true,"id":1663},"_Rotation":3.077607197692381,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"1665":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1666},{"__isSmartRef__":true,"id":1667},{"__isSmartRef__":true,"id":1668},{"__isSmartRef__":true,"id":1669}],"renderContextTable":{"__isSmartRef__":true,"id":1670},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1671},"_Extent":{"__isSmartRef__":true,"id":1672},"_Padding":{"__isSmartRef__":true,"id":1673},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1674},"_Fill":{"__isSmartRef__":true,"id":1675},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1666":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1667":{"isAbsolute":true,"x":-12,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1668":{"isAbsolute":true,"x":4,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1669":{"isAbsolute":true,"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1670":{"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","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1671":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1672":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1673":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1674":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1675":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1676":{"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"},"1677":{"morph":{"__isSmartRef__":true,"id":1664},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1678":{"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1679":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":1680},{"__isSmartRef__":true,"id":1681}],"renderContextTable":{"__isSmartRef__":true,"id":1682},"_ClipMode":"visible","_Position":{"__isSmartRef__":true,"id":1683},"_Extent":{"__isSmartRef__":true,"id":1684},"_Padding":{"__isSmartRef__":true,"id":1685},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1674},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"1680":{"isAbsolute":true,"x":679.4857209639925,"y":9.595948897894004,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"1681":{"isAbsolute":true,"x":201.20421122525056,"y":40.24084224505009,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"1682":{"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","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"1683":{"x":200,"y":9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1684":{"x":480,"y":32,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1685":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1686":{"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"},"1687":{"morph":{"__isSmartRef__":true,"id":1663},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1688":{"morph":{"__isSmartRef__":true,"id":1663},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1689":{"morph":{"__isSmartRef__":true,"id":1663},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":1664},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"1690":{"morphMenuItems":{"__isSmartRef__":true,"id":1691}},"1691":{"varMapping":{"__isSmartRef__":true,"id":1692},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString ||\n 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter:\n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true,\n fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(),\n visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":1697},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1692":{"this":{"__isSmartRef__":true,"id":1663},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":1693}},"1693":{"$super":{"__isSmartRef__":true,"id":1694}},"1694":{"varMapping":{"__isSmartRef__":true,"id":1695},"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":1696},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1695":{"obj":{"__isSmartRef__":true,"id":1663},"name":"morphMenuItems"},"1696":{},"1697":{},"1698":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1699":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1700":{"morph":{"__isSmartRef__":true,"id":1620},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1701":{"x":68.77671624028653,"y":-14.497241813457947,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1702":{"centeredHorizontal":false,"moveHorizontal":true},"1703":{"x":675.4189853444968,"y":9.53851695196505,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1704":{"submorphs":[{"__isSmartRef__":true,"id":1705}],"scripts":[],"id":"0C0E7F7C-7EF1-4DE2-8039-DECEB9DA73B6","shape":{"__isSmartRef__":true,"id":1720},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1736},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":1724},"lighterFill":{"__isSmartRef__":true,"id":1737},"label":{"__isSmartRef__":true,"id":1705},"name":"openTestsButton","showsHalos":false,"partsBinMetaInfo":{"__isSmartRef__":true,"id":1746},"attributeConnections":[{"__isSmartRef__":true,"id":1747}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","priorExtent":{"__isSmartRef__":true,"id":1748},"renderContextTable":{"__isSmartRef__":true,"id":1749},"eventHandler":{"__isSmartRef__":true,"id":1750},"distanceToDragEvent":{"__isSmartRef__":true,"id":1751},"derivationIds":[7251,"84054D2E-8176-440D-B413-279956A34FC2","79434046-F834-490E-B705-0CE871D9E8B3"],"owner":{"__isSmartRef__":true,"id":205},"_Rotation":0,"_Scale":0.9940149800149939,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Button"},"1705":{"submorphs":[],"scripts":[],"id":"75E419C5-4BBA-425C-80C3-70CB9FF198B4","shape":{"__isSmartRef__":true,"id":1706},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":1712},"_MaxTextWidth":101,"_MaxTextHeight":null,"textStyle":null,"padding":{"__isSmartRef__":true,"id":1713},"_Padding":{"__isSmartRef__":true,"id":1714},"owner":{"__isSmartRef__":true,"id":1704},"isLabel":true,"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","_ClipMode":"hidden","priorExtent":{"__isSmartRef__":true,"id":1715},"textChunks":[{"__isSmartRef__":true,"id":1716}],"_Align":"center","renderContextTable":{"__isSmartRef__":true,"id":1718},"eventHandler":{"__isSmartRef__":true,"id":1719},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[7252,"0A0A6CB1-BD92-4F39-A425-2EB3D2D4CBA2","CB475566-05CE-43E2-B04D-EE32BC4CB718"],"_MinTextWidth":101,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text"},"1706":{"position":{"__isSmartRef__":true,"id":1707},"_Extent":{"__isSmartRef__":true,"id":1708},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":1709},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1710},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":1711},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1707":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1708":{"x":101,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1709":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1710":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1711":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1712":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1713":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1714":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1715":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1716":{"style":{"__isSmartRef__":true,"id":1717},"chunkOwner":{"__isSmartRef__":true,"id":1705},"storedString":"Tests","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"1717":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"1718":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"1719":{"morph":{"__isSmartRef__":true,"id":1705},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1720":{"position":{"__isSmartRef__":true,"id":1721},"_Extent":{"__isSmartRef__":true,"id":1722},"_BorderWidth":1.1840000000000002,"_BorderColor":{"__isSmartRef__":true,"id":1723},"_Fill":{"__isSmartRef__":true,"id":1724},"_BorderRadius":5.2,"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1734},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1735},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1721":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1722":{"x":101,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1723":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1724":{"stops":[{"__isSmartRef__":true,"id":1725},{"__isSmartRef__":true,"id":1727},{"__isSmartRef__":true,"id":1729},{"__isSmartRef__":true,"id":1731}],"vector":{"__isSmartRef__":true,"id":1733},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1725":{"offset":0,"color":{"__isSmartRef__":true,"id":1726}},"1726":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1727":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1728}},"1728":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1729":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1730}},"1730":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1731":{"offset":1,"color":{"__isSmartRef__":true,"id":1732}},"1732":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1733":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1734":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1735":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1736":{"x":510,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1737":{"stops":[{"__isSmartRef__":true,"id":1738},{"__isSmartRef__":true,"id":1740},{"__isSmartRef__":true,"id":1742},{"__isSmartRef__":true,"id":1744}],"vector":{"__isSmartRef__":true,"id":1733},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"1738":{"offset":0,"color":{"__isSmartRef__":true,"id":1739}},"1739":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1740":{"offset":0.4,"color":{"__isSmartRef__":true,"id":1741}},"1741":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1742":{"offset":0.6,"color":{"__isSmartRef__":true,"id":1743}},"1743":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1744":{"offset":1,"color":{"__isSmartRef__":true,"id":1745}},"1745":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1746":{"partsSpaceName":"PartsBin/Inputs","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"partName":"Button","comment":"Has a script that is called on button press","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1747":{"sourceObj":{"__isSmartRef__":true,"id":1704},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":205},"targetMethodName":"openPartTestRunner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"1748":{"x":101,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1749":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1750":{"morph":{"__isSmartRef__":true,"id":1704},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1751":{"x":65.95178327801523,"y":-8.024108360992386,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1752":{"target":{"__isSmartRef__":true,"id":205},"selector":"update","args":[],"stopped":false,"tickTime":500,"currentTimeout":43778,"suspended":false,"__SourceModuleName__":"Global.lively.morphic.Core","__LivelyClassName__":"lively.morphic.TargetScript"},"1753":{"position":{"__isSmartRef__":true,"id":1754},"_Extent":{"__isSmartRef__":true,"id":1755},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":1756},"_Fill":{"__isSmartRef__":true,"id":1757},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":1758},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":1759},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"1754":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1755":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1756":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"1757":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"1758":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"1759":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"1760":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","comment":"Edit scripts and connections of a specific morph.","migrationLevel":4,"partName":"ObjectEditorPane","changes":[{"__isSmartRef__":true,"id":1761}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"1761":{"date":{"__isSmartRef__":true,"id":1762},"author":"lauritz","message":"Adapted the update behavior on ticks. Reduces the impact of HTML's autoscroll to selected list items."},"1762":{"isSerializedDate":true,"string":"Fri Oct 21 2011 00:39:30 GMT+0200 (CEST)"},"1763":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"1764":{"morph":{"__isSmartRef__":true,"id":205},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"1765":{"x":909.0285365288845,"y":526.612532614436,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1766":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"1767":{"x":350.2386236582805,"y":-3.2455173507596555,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1768":{"x":0.971126750461849,"y":21.45669012569269,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"1769":{},"1770":{"displayInitialScript":{"__isSmartRef__":true,"id":1771},"displayJavaScriptSource":{"__isSmartRef__":true,"id":1775},"displaySourceForConnection":{"__isSmartRef__":true,"id":1779},"displaySourceForScript":{"__isSmartRef__":true,"id":1783},"generateSourceForConnection":{"__isSmartRef__":true,"id":1787},"generateSourceForScript":{"__isSmartRef__":true,"id":1791},"generateTargetCode":{"__isSmartRef__":true,"id":1795},"newConnection":{"__isSmartRef__":true,"id":1799},"newScript":{"__isSmartRef__":true,"id":1803},"reset":{"__isSmartRef__":true,"id":1807},"selectChangedContent":{"__isSmartRef__":true,"id":1811},"setTarget":{"__isSmartRef__":true,"id":1815},"sortedConnectionNamesOfObj":{"__isSmartRef__":true,"id":1819},"sortedScriptNamesOfObj":{"__isSmartRef__":true,"id":1823},"updateLists":{"__isSmartRef__":true,"id":1827},"onShutdown":{"__isSmartRef__":true,"id":1831},"confirmUnsavedChanges":{"__isSmartRef__":true,"id":1835},"update":{"__isSmartRef__":true,"id":1839},"ensureAnnotationLayer":{"__isSmartRef__":true,"id":1843},"migrateOldScriptAnnotations":{"__isSmartRef__":true,"id":1847},"copyToPartsBinWithUserRequest":{"__isSmartRef__":true,"id":1851},"printTags":{"__isSmartRef__":true,"id":1859},"setTag":{"__isSmartRef__":true,"id":1863},"runScript":{"__isSmartRef__":true,"id":1867},"openPartTestRunner":{"__isSmartRef__":true,"id":1871}},"1771":{"varMapping":{"__isSmartRef__":true,"id":1772},"source":"function displayInitialScript() {\n if (this.scriptList.getList().size() > 1) {\n this.scriptList.preselectItem();\n } else if (this.connectionList.getList().size() > 1) {\n this.connectionList.preselectItem();\n } else {\n this.scriptList.selectAt(0);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1773},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1772":{"this":{"__isSmartRef__":true,"id":205}},"1773":{"timestamp":{"__isSmartRef__":true,"id":1774},"user":"lauritz","tags":[]},"1774":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:13:43 GMT+0100 (CET)"},"1775":{"varMapping":{"__isSmartRef__":true,"id":1776},"source":"function displayJavaScriptSource(jsCode) {\n if (this.scriptPane.hasChanged()) {\n var that = this;\n var callback = function(confirmed) {\n if (confirmed) that.scriptPane.display(jsCode)\n };\n this.confirmUnsavedChanges(callback);\n } else {\n this.scriptPane.display(jsCode);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1777},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1776":{"this":{"__isSmartRef__":true,"id":205}},"1777":{"timestamp":{"__isSmartRef__":true,"id":1778},"user":"lauritz","tags":[]},"1778":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1779":{"varMapping":{"__isSmartRef__":true,"id":1780},"source":"function displaySourceForConnection(connection) {\n var code = \"\", that = this;\n if (connection === undefined) return;\n if (connection === null) {\n this.sortedConnectionNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForConnection(each[1])).concat(\"\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForConnection(connection);\n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1781},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1780":{"this":{"__isSmartRef__":true,"id":205}},"1781":{"timestamp":{"__isSmartRef__":true,"id":1782},"user":"conradcalmez","tags":[]},"1782":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:59:30 GMT+0100 (CET)"},"1783":{"varMapping":{"__isSmartRef__":true,"id":1784},"source":"function displaySourceForScript(scriptName) {\n var code = \"\",\n that = this;\n if (scriptName === null) {\n this.sortedScriptNamesOfObj(this.target).forEach(function(each) {\n code = code.concat(that.generateSourceForScript(each)).concat(\"\\n\\n\\n\");\n });\n code = code.substring(0, code.length - \"\\n\\n\\n\".length - 1);\n } else {\n code = this.generateSourceForScript(scriptName); \n }\n this.displayJavaScriptSource(code);\n}","funcProperties":{"__isSmartRef__":true,"id":1785},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1784":{"this":{"__isSmartRef__":true,"id":205}},"1785":{"timestamp":{"__isSmartRef__":true,"id":1786},"user":"lauritz","tags":[]},"1786":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:51:37 GMT+0100 (CET)"},"1787":{"varMapping":{"__isSmartRef__":true,"id":1788},"source":"function generateSourceForConnection(connection) {\n var c = connection, targetObject = this.target;\n\tif (!c.getTargetObj() || !c.getTargetObj().name || \n\t\t!c.getSourceObj() || !c.getSourceObj().name) return String(c);\n\n\tvar optConfig = []\n\tif (c.converterString)\n\t\toptConfig.push(\"converter: \\n\\t\" + c.converterString)\n\tif (c.updaterString)\n\t\toptConfig.push(\"updater: \\n\\t\" + c.updaterString)\n\treturn Strings.format('connect(%s, \"%s\", %s, \"%s\", {%s});', \n\t\t\tthis.generateTargetCode(targetObject, c.getSourceObj()),\n\t\t\tc.getSourceAttrName(),\n\t\t\tthis.generateTargetCode(targetObject, c.getTargetObj()),\n\t\t\tc.getTargetMethodName(),\n\t\t\toptConfig.join(','));\n\n}","funcProperties":{"__isSmartRef__":true,"id":1789},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1788":{"this":{"__isSmartRef__":true,"id":205}},"1789":{"timestamp":{"__isSmartRef__":true,"id":1790},"user":"lauritz","tags":[]},"1790":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1791":{"varMapping":{"__isSmartRef__":true,"id":1792},"source":"function generateSourceForScript(scriptName) {\n var script = this.target[scriptName],\n annotation = '',\n scriptSource = '',\n tagScript = '';\n\n if (script.timestamp && script.user) \n annotation = Strings.format('// changed at %s by %s \\n', script.timestamp, script.user);\n scriptSource = Strings.format('this.addScript(%s)', script.getOriginal());\n tagScript = Strings.format('.tag(%s);', this.printTags(script));\n\n return annotation + scriptSource + tagScript;\n}","funcProperties":{"__isSmartRef__":true,"id":1793},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1792":{"this":{"__isSmartRef__":true,"id":205}},"1793":{"timestamp":{"__isSmartRef__":true,"id":1794},"user":"lauritz","tags":[]},"1794":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:32:42 GMT+0100 (CET)"},"1795":{"varMapping":{"__isSmartRef__":true,"id":1796},"source":"function generateTargetCode(baseObject, targetObject) {\n\tvar name = targetObject.name;\n\tif (baseObject === targetObject) \n\t\treturn \"this\";\n\telse if (baseObject[name] === targetObject) \n\t\treturn \"this.\" + name;\n\telse if (baseObject.testObject === targetObject) \n\t\treturn \"this.testObject\";\n\telse if (baseObject.get(name) === targetObject) \n\t\treturn 'this.get(\"' + name + '\")';\n\telse if (targetObject instanceof Morph) \n\t\treturn '$morph(\"' + name + '\")';\n\telse \n\t\treturn \"????\";\n}","funcProperties":{"__isSmartRef__":true,"id":1797},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1796":{"this":{"__isSmartRef__":true,"id":205}},"1797":{"timestamp":{"__isSmartRef__":true,"id":1798},"user":"lauritz","tags":[]},"1798":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1799":{"varMapping":{"__isSmartRef__":true,"id":1800},"source":"function newConnection() {\n if (this.target) {\n var code = \"connect(SOURCE, SOURCE_PROPERTY, TARGET, TARGET_PROPERTY);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1801},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1800":{"this":{"__isSmartRef__":true,"id":205}},"1801":{"timestamp":{"__isSmartRef__":true,"id":1802},"user":"lauritz","tags":[]},"1802":{"isSerializedDate":true,"string":"Thu Nov 17 2011 04:59:26 GMT+0100 (CET)"},"1803":{"varMapping":{"__isSmartRef__":true,"id":1804},"source":"function newScript() {\n if (this.target) {\n var code = \"this.addScript(function SCRIPTNAME() {\\n \\n}).tag([]);\";\n this.displayJavaScriptSource(code);\n }\n}","funcProperties":{"__isSmartRef__":true,"id":1805},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1804":{"this":{"__isSmartRef__":true,"id":205}},"1805":{"timestamp":{"__isSmartRef__":true,"id":1806},"user":"lauritz","tags":[]},"1806":{"isSerializedDate":true,"string":"Tue Nov 29 2011 04:24:25 GMT+0100 (CET)"},"1807":{"varMapping":{"__isSmartRef__":true,"id":1808},"source":"function reset() {\n this.scriptPane = this.get('ObjectEditorScriptPane')\n this.scriptList = this.get('ObjectEditorScriptList')\n this.connectionList = this.get('ObjectEditorConnectionList')\n this.morphSelector = this.get('ObjectEditorMorphSelector')\n this.target = null;\n this.scriptPane.reset();\n this.scriptList.setList();\n this.scriptList.selection = null;\n this.connectionList.setList();\n this.connectionList.selection = null;\n this.morphSelector.reset();\n this.tagChooser.reset();\n this.currentTag = null;\n this.stopStepping();\n}","funcProperties":{"__isSmartRef__":true,"id":1809},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"1808":{"this":{"__isSmartRef__":true,"id":205}},"1809":{"timestamp":{"__isSmartRef__":true,"id":1810},"user":"conradcalmez","tags":[]},"1810":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:57:50 GMT+0100 (CET)"},"1811":{"varMapping":{"__isSmartRef__":true,"id":1812},"source":"function selectChangedContent(source) {\n\n var addScriptRegex = /this\\.addScript\\s*\\(\\s*function\\s*([^\\(]*)/g;\n var addScriptMatches = [];\n var addScriptMatch = addScriptRegex.exec(source);\n while (addScriptMatch) {\n addScriptMatches.push(addScriptMatch[1]);\n addScriptMatch = addScriptRegex.exec(source);\n }\n \n // if scripts were added, select either a specific one or all\n if (addScriptMatches.length > 0) { \n if (addScriptMatches.length === 1) {\n return this.scriptList.selectAddedScript(addScriptMatches[0]);\n }\n return this.scriptList.selectAt(0);\n }\n\n var connectionRegex = \n /connect\\(\\s*([^,]*)\\s*,\\s*\"([^,]*)\"\\s*,\\s*([^,]*)\\s*,\\s*\"([^,]*)\"/g;\n var connectionMatches = [];\n var connectionMatch = connectionRegex.exec(source);\n while (connectionMatch) {\n connectionMatches.push(connectionMatch);\n connectionMatch = connectionRegex.exec(source);\n }\n\n // if connections were made, select either a specific one or all\n if (connectionMatches.length > 0) {\n if (connectionMatches.length === 1) {\n var match = connectionMatches[0];\n for (var i=0; i ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2280},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2275":{"this":{"__isSmartRef__":true,"id":2237},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2276}},"2276":{"$super":{"__isSmartRef__":true,"id":2277}},"2277":{"varMapping":{"__isSmartRef__":true,"id":2278},"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":2279},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2278":{"obj":{"__isSmartRef__":true,"id":2237},"name":"morphMenuItems"},"2279":{},"2280":{},"2281":{"x":160,"y":238,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2282":{"x":5,"y":5,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2283":{"adjustForNewBounds":true,"resizeHeight":true},"2284":{"submorphs":[],"scripts":[],"id":"652C0DAD-130A-4B7B-8570-1E61FE0835E1","shape":{"__isSmartRef__":true,"id":2285},"droppingEnabled":true,"halosEnabled":true,"showsHalos":false,"_Position":{"__isSmartRef__":true,"id":2293},"name":"serverStateIndicator","partsBinMetaInfo":{"__isSmartRef__":true,"id":2294},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":2295},"eventHandler":{"__isSmartRef__":true,"id":2296},"layout":{"__isSmartRef__":true,"id":2297},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"owner":{"__isSmartRef__":true,"id":2160},"priorExtent":{"__isSmartRef__":true,"id":2298},"distanceToDragEvent":{"__isSmartRef__":true,"id":2299},"derivationIds":[2947,"D097888D-3FA3-4B9B-813B-AA7795D42947"],"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Morph"},"2285":{"position":{"__isSmartRef__":true,"id":2286},"_Extent":{"__isSmartRef__":true,"id":2287},"_Fill":{"__isSmartRef__":true,"id":2288},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2289},"_Position":{"__isSmartRef__":true,"id":2290},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_BorderColor":{"__isSmartRef__":true,"id":2291},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2292},"__LivelyClassName__":"lively.morphic.Shapes.Ellipse"},"2286":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2287":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2288":{"r":0,"g":0.8,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2289":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2290":{"x":-7,"y":-8,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2291":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2292":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2293":{"x":176.8981527962551,"y":12.97603595205993,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2294":{"partsSpaceName":"PartsBin/Basic","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","comment":"an Ellipse","partName":"Ellipse","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2295":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2296":{"morph":{"__isSmartRef__":true,"id":2284},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2297":{},"2298":{"x":18,"y":18,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2299":{"x":43,"y":-17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2300":{"submorphs":[{"__isSmartRef__":true,"id":2301}],"scripts":[],"id":"76CCEE6E-A6F3-4755-991F-644461E0DD73","shape":{"__isSmartRef__":true,"id":2316},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2319},"lighterFill":{"__isSmartRef__":true,"id":2332},"label":{"__isSmartRef__":true,"id":2301},"attributeConnections":[{"__isSmartRef__":true,"id":2341}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2385},"name":"refreshServerListButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2386},"renderContextTable":{"__isSmartRef__":true,"id":2387},"eventHandler":{"__isSmartRef__":true,"id":2388},"priorExtent":{"__isSmartRef__":true,"id":2389},"_Position":{"__isSmartRef__":true,"id":2390},"owner":{"__isSmartRef__":true,"id":2160},"distanceToDragEvent":{"__isSmartRef__":true,"id":2391},"derivationIds":[2948,"E1BB5CA5-95D7-4014-8230-07610997FA20"],"layout":{"__isSmartRef__":true,"id":2392},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"2301":{"submorphs":[],"scripts":[],"id":"B13C1173-FB6A-45D1-B565-193B9C227D34","shape":{"__isSmartRef__":true,"id":2302},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2308},"textColor":{"__isSmartRef__":true,"id":2305},"owner":{"__isSmartRef__":true,"id":2300},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2309}],"padding":{"__isSmartRef__":true,"id":2311},"_Padding":{"__isSmartRef__":true,"id":2312},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":2313},"renderContextTable":{"__isSmartRef__":true,"id":2314},"eventHandler":{"__isSmartRef__":true,"id":2315},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2949,"4D98A1B5-B8BB-4146-83F5-70FB5E204B3F"],"_MinTextWidth":20,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2302":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2303},"_Extent":{"__isSmartRef__":true,"id":2304},"_BorderColor":{"__isSmartRef__":true,"id":2305},"renderContextTable":{"__isSmartRef__":true,"id":2306},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2307},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2303":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2304":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2305":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2306":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2307":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2308":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2309":{"style":{"__isSmartRef__":true,"id":2310},"chunkOwner":{"__isSmartRef__":true,"id":2301},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"⟳","__LivelyClassName__":"lively.morphic.TextChunk"},"2310":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2311":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2312":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2313":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2314":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2315":{"morph":{"__isSmartRef__":true,"id":2301},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2316":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2317},"_Extent":{"__isSmartRef__":true,"id":2318},"_Fill":{"__isSmartRef__":true,"id":2319},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2329},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2330},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2331},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2317":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2318":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2319":{"stops":[{"__isSmartRef__":true,"id":2320},{"__isSmartRef__":true,"id":2322},{"__isSmartRef__":true,"id":2324},{"__isSmartRef__":true,"id":2326}],"vector":{"__isSmartRef__":true,"id":2328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2320":{"offset":0,"color":{"__isSmartRef__":true,"id":2321}},"2321":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2322":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2323}},"2323":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2324":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2325}},"2325":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2326":{"offset":1,"color":{"__isSmartRef__":true,"id":2327}},"2327":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2328":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2329":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2330":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2331":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2332":{"stops":[{"__isSmartRef__":true,"id":2333},{"__isSmartRef__":true,"id":2335},{"__isSmartRef__":true,"id":2337},{"__isSmartRef__":true,"id":2339}],"vector":{"__isSmartRef__":true,"id":2328},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2333":{"offset":0,"color":{"__isSmartRef__":true,"id":2334}},"2334":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2335":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2336}},"2336":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2337":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2338}},"2338":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2339":{"offset":1,"color":{"__isSmartRef__":true,"id":2340}},"2340":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2341":{"sourceObj":{"__isSmartRef__":true,"id":2300},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"refreshServerList","visualConnector":{"__isSmartRef__":true,"id":2342},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2342":{"submorphs":[{"__isSmartRef__":true,"id":2343}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2365},"id":3551,"renderContextTable":{"__isSmartRef__":true,"id":2373},"eventHandler":{"__isSmartRef__":true,"id":2374},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2375},{"__isSmartRef__":true,"id":2376}],"con":{"__isSmartRef__":true,"id":2341},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2377},"__LivelyClassName__":"lively.morphic.Path"},"2343":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2344},"id":3552,"renderContextTable":{"__isSmartRef__":true,"id":2357},"eventHandler":{"__isSmartRef__":true,"id":2358},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":2359},"owner":{"__isSmartRef__":true,"id":2342},"_Position":{"__isSmartRef__":true,"id":2360},"_Rotation":-3.0635190362248506,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":2361},{"__isSmartRef__":true,"id":2362},{"__isSmartRef__":true,"id":2363},{"__isSmartRef__":true,"id":2364}],"__LivelyClassName__":"lively.morphic.Path"},"2344":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2345},{"__isSmartRef__":true,"id":2346},{"__isSmartRef__":true,"id":2347},{"__isSmartRef__":true,"id":2348}],"_PathElements":[{"__isSmartRef__":true,"id":2349},{"__isSmartRef__":true,"id":2350},{"__isSmartRef__":true,"id":2351},{"__isSmartRef__":true,"id":2352}],"renderContextTable":{"__isSmartRef__":true,"id":2353},"_Position":{"__isSmartRef__":true,"id":2354},"_Extent":{"__isSmartRef__":true,"id":2355},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":{"__isSmartRef__":true,"id":2356},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2345":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2346":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2347":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2348":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2349":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2350":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2351":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2352":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2353":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2354":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2355":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2356":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2357":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2358":{"morph":{"__isSmartRef__":true,"id":2343},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2359":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2360":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2361":{"morph":{"__isSmartRef__":true,"id":2343},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2362":{"morph":{"__isSmartRef__":true,"id":2343},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2363":{"morph":{"__isSmartRef__":true,"id":2343},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2364":{"morph":{"__isSmartRef__":true,"id":2343},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2365":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2366},{"__isSmartRef__":true,"id":2367}],"_PathElements":[{"__isSmartRef__":true,"id":2368},{"__isSmartRef__":true,"id":2369}],"renderContextTable":{"__isSmartRef__":true,"id":2370},"_Position":{"__isSmartRef__":true,"id":2371},"_Extent":{"__isSmartRef__":true,"id":2372},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2251},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2366":{"x":146.9078618157696,"y":11.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2367":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2368":{"isAbsolute":true,"x":146.9078618157696,"y":11.492989485982434,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2369":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2370":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2371":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2372":{"x":146.90786743164062,"y":11.492989540100098,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2373":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2374":{"morph":{"__isSmartRef__":true,"id":2342},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2375":{"morph":{"__isSmartRef__":true,"id":2342},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2376":{"morph":{"__isSmartRef__":true,"id":2342},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2343},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2377":{"morphMenuItems":{"__isSmartRef__":true,"id":2378}},"2378":{"varMapping":{"__isSmartRef__":true,"id":2379},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2384},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2379":{"this":{"__isSmartRef__":true,"id":2342},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2380}},"2380":{"$super":{"__isSmartRef__":true,"id":2381}},"2381":{"varMapping":{"__isSmartRef__":true,"id":2382},"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":2383},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2382":{"obj":{"__isSmartRef__":true,"id":2342},"name":"morphMenuItems"},"2383":{},"2384":{},"2385":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2386":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2387":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2388":{"morph":{"__isSmartRef__":true,"id":2300},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2389":{"x":140,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2390":{"x":140,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2391":{"x":51.09213818423041,"y":-13.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2392":{"adjustForNewBounds":true,"moveVertical":true},"2393":{"submorphs":[{"__isSmartRef__":true,"id":2394}],"scripts":[],"id":"DD91B34C-9A1A-430C-BF36-B1F737FFE68D","shape":{"__isSmartRef__":true,"id":2409},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2412},"lighterFill":{"__isSmartRef__":true,"id":2425},"label":{"__isSmartRef__":true,"id":2394},"attributeConnections":[{"__isSmartRef__":true,"id":2434}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2478},"name":"createServerButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2479},"renderContextTable":{"__isSmartRef__":true,"id":2480},"eventHandler":{"__isSmartRef__":true,"id":2481},"priorExtent":{"__isSmartRef__":true,"id":2482},"distanceToDragEvent":{"__isSmartRef__":true,"id":2483},"_Position":{"__isSmartRef__":true,"id":2484},"owner":{"__isSmartRef__":true,"id":2160},"derivationIds":[2950,"1BFBB83F-B163-4851-8ABD-9CD04F7802F7"],"layout":{"__isSmartRef__":true,"id":2485},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"2394":{"submorphs":[],"scripts":[],"id":"E5FF5ABA-78F0-4BA6-88DD-CD33F2409870","shape":{"__isSmartRef__":true,"id":2395},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2401},"textColor":{"__isSmartRef__":true,"id":2398},"owner":{"__isSmartRef__":true,"id":2393},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2402}],"padding":{"__isSmartRef__":true,"id":2404},"_Padding":{"__isSmartRef__":true,"id":2405},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":2406},"renderContextTable":{"__isSmartRef__":true,"id":2407},"eventHandler":{"__isSmartRef__":true,"id":2408},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2951,"03BFF8CC-D79D-48E7-B201-5C892F35F5F8"],"_MinTextWidth":20,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2395":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2396},"_Extent":{"__isSmartRef__":true,"id":2397},"_BorderColor":{"__isSmartRef__":true,"id":2398},"renderContextTable":{"__isSmartRef__":true,"id":2399},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2400},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2396":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2397":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2398":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2399":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2400":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2401":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2402":{"style":{"__isSmartRef__":true,"id":2403},"chunkOwner":{"__isSmartRef__":true,"id":2394},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"+","__LivelyClassName__":"lively.morphic.TextChunk"},"2403":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2404":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2405":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2406":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2407":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2408":{"morph":{"__isSmartRef__":true,"id":2394},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2409":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2410},"_Extent":{"__isSmartRef__":true,"id":2411},"_Fill":{"__isSmartRef__":true,"id":2412},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2422},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2423},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2424},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2410":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2411":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2412":{"stops":[{"__isSmartRef__":true,"id":2413},{"__isSmartRef__":true,"id":2415},{"__isSmartRef__":true,"id":2417},{"__isSmartRef__":true,"id":2419}],"vector":{"__isSmartRef__":true,"id":2421},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2413":{"offset":0,"color":{"__isSmartRef__":true,"id":2414}},"2414":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2415":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2416}},"2416":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2417":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2418}},"2418":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2419":{"offset":1,"color":{"__isSmartRef__":true,"id":2420}},"2420":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2421":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2422":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2423":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2424":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2425":{"stops":[{"__isSmartRef__":true,"id":2426},{"__isSmartRef__":true,"id":2428},{"__isSmartRef__":true,"id":2430},{"__isSmartRef__":true,"id":2432}],"vector":{"__isSmartRef__":true,"id":2421},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2426":{"offset":0,"color":{"__isSmartRef__":true,"id":2427}},"2427":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2428":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2429}},"2429":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2430":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2431}},"2431":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2432":{"offset":1,"color":{"__isSmartRef__":true,"id":2433}},"2433":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2434":{"sourceObj":{"__isSmartRef__":true,"id":2393},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"createNewServer","visualConnector":{"__isSmartRef__":true,"id":2435},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2435":{"submorphs":[{"__isSmartRef__":true,"id":2436}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2458},"id":9698,"renderContextTable":{"__isSmartRef__":true,"id":2466},"eventHandler":{"__isSmartRef__":true,"id":2467},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2468},{"__isSmartRef__":true,"id":2469}],"con":{"__isSmartRef__":true,"id":2434},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2470},"__LivelyClassName__":"lively.morphic.Path"},"2436":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2437},"id":9699,"renderContextTable":{"__isSmartRef__":true,"id":2450},"eventHandler":{"__isSmartRef__":true,"id":2451},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":2452},"owner":{"__isSmartRef__":true,"id":2435},"_Position":{"__isSmartRef__":true,"id":2453},"_Rotation":-2.0204918715703832,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":2454},{"__isSmartRef__":true,"id":2455},{"__isSmartRef__":true,"id":2456},{"__isSmartRef__":true,"id":2457}],"__LivelyClassName__":"lively.morphic.Path"},"2437":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2438},{"__isSmartRef__":true,"id":2439},{"__isSmartRef__":true,"id":2440},{"__isSmartRef__":true,"id":2441}],"_PathElements":[{"__isSmartRef__":true,"id":2442},{"__isSmartRef__":true,"id":2443},{"__isSmartRef__":true,"id":2444},{"__isSmartRef__":true,"id":2445}],"renderContextTable":{"__isSmartRef__":true,"id":2446},"_Position":{"__isSmartRef__":true,"id":2447},"_Extent":{"__isSmartRef__":true,"id":2448},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":{"__isSmartRef__":true,"id":2449},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2438":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2439":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2440":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2441":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2442":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2443":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2444":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2445":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2446":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2447":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2448":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2449":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2450":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2451":{"morph":{"__isSmartRef__":true,"id":2436},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2452":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2453":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2454":{"morph":{"__isSmartRef__":true,"id":2436},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2455":{"morph":{"__isSmartRef__":true,"id":2436},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2456":{"morph":{"__isSmartRef__":true,"id":2436},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2457":{"morph":{"__isSmartRef__":true,"id":2436},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2458":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2459},{"__isSmartRef__":true,"id":2460}],"_PathElements":[{"__isSmartRef__":true,"id":2461},{"__isSmartRef__":true,"id":2462}],"renderContextTable":{"__isSmartRef__":true,"id":2463},"_Position":{"__isSmartRef__":true,"id":2464},"_Extent":{"__isSmartRef__":true,"id":2465},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2251},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2459":{"x":120.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2460":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2461":{"isAbsolute":true,"x":120.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2462":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2463":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2464":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2465":{"x":120.9078598022461,"y":250.4929962158203,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2466":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2467":{"morph":{"__isSmartRef__":true,"id":2435},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2468":{"morph":{"__isSmartRef__":true,"id":2435},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2469":{"morph":{"__isSmartRef__":true,"id":2435},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2436},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2470":{"morphMenuItems":{"__isSmartRef__":true,"id":2471}},"2471":{"varMapping":{"__isSmartRef__":true,"id":2472},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2477},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2472":{"this":{"__isSmartRef__":true,"id":2435},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2473}},"2473":{"$super":{"__isSmartRef__":true,"id":2474}},"2474":{"varMapping":{"__isSmartRef__":true,"id":2475},"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":2476},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2475":{"obj":{"__isSmartRef__":true,"id":2435},"name":"morphMenuItems"},"2476":{},"2477":{},"2478":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2479":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2480":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2481":{"morph":{"__isSmartRef__":true,"id":2393},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2482":{"x":140,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2483":{"x":43.09213818423041,"y":-14.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2484":{"x":88,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2485":{"adjustForNewBounds":true,"moveVertical":true},"2486":{"submorphs":[{"__isSmartRef__":true,"id":2487}],"scripts":[],"id":"7770D543-21A8-40F0-BAEA-4AC7BC6FB615","shape":{"__isSmartRef__":true,"id":2502},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2505},"lighterFill":{"__isSmartRef__":true,"id":2518},"label":{"__isSmartRef__":true,"id":2487},"attributeConnections":[{"__isSmartRef__":true,"id":2527}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2571},"name":"removeServerButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2572},"renderContextTable":{"__isSmartRef__":true,"id":2573},"eventHandler":{"__isSmartRef__":true,"id":2574},"priorExtent":{"__isSmartRef__":true,"id":2575},"distanceToDragEvent":{"__isSmartRef__":true,"id":2576},"_Position":{"__isSmartRef__":true,"id":2577},"owner":{"__isSmartRef__":true,"id":2160},"derivationIds":[2952,"1B78AB96-A237-4DEF-AE4E-8DF07B3128B3"],"layout":{"__isSmartRef__":true,"id":2578},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"2487":{"submorphs":[],"scripts":[],"id":"EA7625EB-2FF2-48F7-A9E9-5B2D55D2BCEC","shape":{"__isSmartRef__":true,"id":2488},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":20,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2494},"textColor":{"__isSmartRef__":true,"id":2491},"owner":{"__isSmartRef__":true,"id":2486},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2495}],"padding":{"__isSmartRef__":true,"id":2497},"_Padding":{"__isSmartRef__":true,"id":2498},"prevScroll":[0,0],"_Align":"center","_FontFamily":"Arial","_ClipMode":"hidden","_WhiteSpaceHandling":"pre-wrap","_VerticalAlign":"middle","_Display":"table-cell","priorExtent":{"__isSmartRef__":true,"id":2499},"renderContextTable":{"__isSmartRef__":true,"id":2500},"eventHandler":{"__isSmartRef__":true,"id":2501},"_HandStyle":"default","_PointerEvents":"none","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2953,"EBE14E46-51F4-4360-A642-76F7F8C5E2E9"],"_MinTextWidth":20,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2488":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2489},"_Extent":{"__isSmartRef__":true,"id":2490},"_BorderColor":{"__isSmartRef__":true,"id":2491},"renderContextTable":{"__isSmartRef__":true,"id":2492},"_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2493},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2489":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2490":{"x":20,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2491":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2492":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2493":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2494":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2495":{"style":{"__isSmartRef__":true,"id":2496},"chunkOwner":{"__isSmartRef__":true,"id":2487},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"-","__LivelyClassName__":"lively.morphic.TextChunk"},"2496":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2497":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2498":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2499":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2500":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2501":{"morph":{"__isSmartRef__":true,"id":2487},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2502":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2503},"_Extent":{"__isSmartRef__":true,"id":2504},"_Fill":{"__isSmartRef__":true,"id":2505},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2515},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2516},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2517},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2503":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2504":{"x":20,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2505":{"stops":[{"__isSmartRef__":true,"id":2506},{"__isSmartRef__":true,"id":2508},{"__isSmartRef__":true,"id":2510},{"__isSmartRef__":true,"id":2512}],"vector":{"__isSmartRef__":true,"id":2514},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2506":{"offset":0,"color":{"__isSmartRef__":true,"id":2507}},"2507":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2508":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2509}},"2509":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2510":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2511}},"2511":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2512":{"offset":1,"color":{"__isSmartRef__":true,"id":2513}},"2513":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2514":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2515":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2516":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2517":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2518":{"stops":[{"__isSmartRef__":true,"id":2519},{"__isSmartRef__":true,"id":2521},{"__isSmartRef__":true,"id":2523},{"__isSmartRef__":true,"id":2525}],"vector":{"__isSmartRef__":true,"id":2514},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2519":{"offset":0,"color":{"__isSmartRef__":true,"id":2520}},"2520":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2521":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2522}},"2522":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2523":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2524}},"2524":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2525":{"offset":1,"color":{"__isSmartRef__":true,"id":2526}},"2526":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2527":{"sourceObj":{"__isSmartRef__":true,"id":2486},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"removeServer","visualConnector":{"__isSmartRef__":true,"id":2528},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2528":{"submorphs":[{"__isSmartRef__":true,"id":2529}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2551},"id":10296,"renderContextTable":{"__isSmartRef__":true,"id":2559},"eventHandler":{"__isSmartRef__":true,"id":2560},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2561},{"__isSmartRef__":true,"id":2562}],"con":{"__isSmartRef__":true,"id":2527},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2563},"__LivelyClassName__":"lively.morphic.Path"},"2529":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2530},"id":10297,"renderContextTable":{"__isSmartRef__":true,"id":2543},"eventHandler":{"__isSmartRef__":true,"id":2544},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":2545},"owner":{"__isSmartRef__":true,"id":2528},"_Position":{"__isSmartRef__":true,"id":2546},"_Rotation":-2.0237245970150264,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":2547},{"__isSmartRef__":true,"id":2548},{"__isSmartRef__":true,"id":2549},{"__isSmartRef__":true,"id":2550}],"__LivelyClassName__":"lively.morphic.Path"},"2530":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2531},{"__isSmartRef__":true,"id":2532},{"__isSmartRef__":true,"id":2533},{"__isSmartRef__":true,"id":2534}],"_PathElements":[{"__isSmartRef__":true,"id":2535},{"__isSmartRef__":true,"id":2536},{"__isSmartRef__":true,"id":2537},{"__isSmartRef__":true,"id":2538}],"renderContextTable":{"__isSmartRef__":true,"id":2539},"_Position":{"__isSmartRef__":true,"id":2540},"_Extent":{"__isSmartRef__":true,"id":2541},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":{"__isSmartRef__":true,"id":2542},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2531":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2532":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2533":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2534":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2535":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2536":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2537":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2538":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2539":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2540":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2541":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2542":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2543":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2544":{"morph":{"__isSmartRef__":true,"id":2529},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2545":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2546":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2547":{"morph":{"__isSmartRef__":true,"id":2529},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2548":{"morph":{"__isSmartRef__":true,"id":2529},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2549":{"morph":{"__isSmartRef__":true,"id":2529},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2550":{"morph":{"__isSmartRef__":true,"id":2529},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2551":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2552},{"__isSmartRef__":true,"id":2553}],"_PathElements":[{"__isSmartRef__":true,"id":2554},{"__isSmartRef__":true,"id":2555}],"renderContextTable":{"__isSmartRef__":true,"id":2556},"_Position":{"__isSmartRef__":true,"id":2557},"_Extent":{"__isSmartRef__":true,"id":2558},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2251},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2552":{"x":121.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2553":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2554":{"isAbsolute":true,"x":121.90786181576959,"y":250.49298948598243,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2555":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2556":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2557":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2558":{"x":121.9078598022461,"y":250.4929962158203,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2559":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2560":{"morph":{"__isSmartRef__":true,"id":2528},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2561":{"morph":{"__isSmartRef__":true,"id":2528},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2562":{"morph":{"__isSmartRef__":true,"id":2528},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2529},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2563":{"morphMenuItems":{"__isSmartRef__":true,"id":2564}},"2564":{"varMapping":{"__isSmartRef__":true,"id":2565},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2570},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2565":{"this":{"__isSmartRef__":true,"id":2528},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2566}},"2566":{"$super":{"__isSmartRef__":true,"id":2567}},"2567":{"varMapping":{"__isSmartRef__":true,"id":2568},"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":2569},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2568":{"obj":{"__isSmartRef__":true,"id":2528},"name":"morphMenuItems"},"2569":{},"2570":{},"2571":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2572":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"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"},"2574":{"morph":{"__isSmartRef__":true,"id":2486},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2575":{"x":140,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2576":{"x":46.09213818423041,"y":-10.492989485982434,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2577":{"x":114,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2578":{"moveVertical":true,"adjustForNewBounds":true},"2579":{"submorphs":[],"scripts":[],"id":"228E1369-9252-4013-A581-657E793F02BD","shape":{"__isSmartRef__":true,"id":2580},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2587},"fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Monaco,Courier","_Position":{"__isSmartRef__":true,"id":2588},"_MaxTextWidth":406.9875304742795,"_MaxTextHeight":null,"textChunks":[{"__isSmartRef__":true,"id":2589}],"layout":{"__isSmartRef__":true,"id":2591},"showsHalos":false,"prevScroll":[0,242],"name":"logText","charsReplaced":"code","lastFindLoc":-1,"partsBinMetaInfo":{"__isSmartRef__":true,"id":2592},"__SourceModuleName__":"Global.lively.morphic.TextCore","priorExtent":{"__isSmartRef__":true,"id":2593},"_ClipMode":"auto","renderContextTable":{"__isSmartRef__":true,"id":2594},"eventHandler":{"__isSmartRef__":true,"id":2595},"syntaxHighlightingWhileTyping":false,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"lastSyntaxHighlightTime":1310575732527,"savedTextString":"// code\n","_FontSize":10,"owner":{"__isSmartRef__":true,"id":2160},"distanceToDragEvent":{"__isSmartRef__":true,"id":2596},"derivationIds":[2954,"677F56CD-A513-4B47-8269-BA1850098C56"],"_MinTextWidth":406.9875304742795,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"priorSelectionRange":[373,373],"__LivelyClassName__":"lively.morphic.Text"},"2580":{"_Position":{"__isSmartRef__":true,"id":2581},"_Extent":{"__isSmartRef__":true,"id":2582},"_BorderWidth":1.4800000000000002,"_BorderColor":{"__isSmartRef__":true,"id":2583},"_Fill":{"__isSmartRef__":true,"id":2584},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2585},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"inset","_ClipMode":"auto","_Padding":{"__isSmartRef__":true,"id":2586},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2581":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2582":{"x":424.94753047427946,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2583":{"r":0.921,"g":0.921,"b":0.921,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2584":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2585":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2586":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2587":{"x":2,"y":1,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2588":{"x":168,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2589":{"style":{"__isSmartRef__":true,"id":2590},"chunkOwner":{"__isSmartRef__":true,"id":2579},"storedString":"stdout:\n127.0.0.1 - - [Wed, 16 May 2012 16:36:52 GMT] \"GET /screenshot/part/?screenshot=1 HTTP/1.1\" 500 21 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20100101 Firefox/9.0\"\n127.0.0.1 - - [Wed, 16 May 2012 16:36:54 GMT] \"GET /screenshot/part?screenshot=1 HTTP/1.1\" 404 - \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19\"\n127.0.0.1 - - [Wed, 16 May 2012 16:36:59 GMT] \"GET /screenshot/part/?screenshot=1 HTTP/1.1\" 500 21 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20100101 Firefox/9.0\"\n127.0.0.1 - - [Wed, 16 May 2012 16:37:04 GMT] \"GET /screenshot/part?screenshot=1 HTTP/1.1\" 404 - \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20100101 Firefox/9.0\"\n127.0.0.1 - - [Wed, 16 May 2012 16:37:28 GMT] \"GET /screenshot/part/?screenshot=1 HTTP/1.1\" 500 21 \"-\" \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19\"\n\n\nstderr:\n","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2590":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2591":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2592":{"requiredModules":[],"partsSpaceName":"PartsBin/Widgets/","migrationLevel":2,"__SourceModuleName__":"Global.lively.PartsBin","partName":"CodePane","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2593":{"x":424.94753047427946,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2594":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2595":{"morph":{"__isSmartRef__":true,"id":2579},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2596":{"x":300.8981527962551,"y":-20.02396404794007,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2597":{"submorphs":[{"__isSmartRef__":true,"id":2598}],"scripts":[],"id":"6D789B59-43E8-417F-95D7-71E955DA04AA","shape":{"__isSmartRef__":true,"id":2613},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2616},"lighterFill":{"__isSmartRef__":true,"id":2629},"label":{"__isSmartRef__":true,"id":2598},"attributeConnections":[{"__isSmartRef__":true,"id":2638}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2679},"name":"browseButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2680},"renderContextTable":{"__isSmartRef__":true,"id":2681},"eventHandler":{"__isSmartRef__":true,"id":2682},"priorExtent":{"__isSmartRef__":true,"id":2683},"distanceToDragEvent":{"__isSmartRef__":true,"id":2684},"_Position":{"__isSmartRef__":true,"id":2685},"owner":{"__isSmartRef__":true,"id":2160},"derivationIds":[2955,"2F37CC3B-A26D-4F01-B440-C303D7B8A440"],"layout":{"__isSmartRef__":true,"id":2686},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"2598":{"submorphs":[],"scripts":[],"id":"586B4077-5B65-4E63-B501-A1E252B9D118","shape":{"__isSmartRef__":true,"id":2599},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2605},"textColor":{"__isSmartRef__":true,"id":2602},"owner":{"__isSmartRef__":true,"id":2597},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2606}],"padding":{"__isSmartRef__":true,"id":2608},"_Padding":{"__isSmartRef__":true,"id":2609},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2610},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":2611},"eventHandler":{"__isSmartRef__":true,"id":2612},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2956,"A5C2870B-A8B3-4D91-98EB-AD239BBF4357"],"_MinTextWidth":77,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2599":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2600},"_Extent":{"__isSmartRef__":true,"id":2601},"_BorderColor":{"__isSmartRef__":true,"id":2602},"renderContextTable":{"__isSmartRef__":true,"id":2603},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2604},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2600":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2601":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2602":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2603":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2604":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2605":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2606":{"style":{"__isSmartRef__":true,"id":2607},"chunkOwner":{"__isSmartRef__":true,"id":2598},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"browse","__LivelyClassName__":"lively.morphic.TextChunk"},"2607":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2608":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2609":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2610":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"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","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":{"morph":{"__isSmartRef__":true,"id":2598},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2613":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2614},"_Extent":{"__isSmartRef__":true,"id":2615},"_Fill":{"__isSmartRef__":true,"id":2616},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2626},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2627},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2628},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2614":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2615":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2616":{"stops":[{"__isSmartRef__":true,"id":2617},{"__isSmartRef__":true,"id":2619},{"__isSmartRef__":true,"id":2621},{"__isSmartRef__":true,"id":2623}],"vector":{"__isSmartRef__":true,"id":2625},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2617":{"offset":0,"color":{"__isSmartRef__":true,"id":2618}},"2618":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2619":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2620}},"2620":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2621":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2622}},"2622":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2623":{"offset":1,"color":{"__isSmartRef__":true,"id":2624}},"2624":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2625":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2626":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2627":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2628":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2629":{"stops":[{"__isSmartRef__":true,"id":2630},{"__isSmartRef__":true,"id":2632},{"__isSmartRef__":true,"id":2634},{"__isSmartRef__":true,"id":2636}],"vector":{"__isSmartRef__":true,"id":2625},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2630":{"offset":0,"color":{"__isSmartRef__":true,"id":2631}},"2631":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2632":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2633}},"2633":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2634":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2635}},"2635":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2636":{"offset":1,"color":{"__isSmartRef__":true,"id":2637}},"2637":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2638":{"sourceObj":{"__isSmartRef__":true,"id":2597},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"browseSelectedServer","visualConnector":{"__isSmartRef__":true,"id":2639},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2639":{"submorphs":[{"__isSmartRef__":true,"id":2640}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2659},"id":4400,"renderContextTable":{"__isSmartRef__":true,"id":2667},"eventHandler":{"__isSmartRef__":true,"id":2668},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2669},{"__isSmartRef__":true,"id":2670}],"con":{"__isSmartRef__":true,"id":2638},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2671},"__LivelyClassName__":"lively.morphic.Path"},"2640":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2641},"id":4401,"renderContextTable":{"__isSmartRef__":true,"id":2655},"eventHandler":{"__isSmartRef__":true,"id":2656},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":2657},"owner":{"__isSmartRef__":true,"id":2639},"_Position":{"__isSmartRef__":true,"id":2658},"_Rotation":-2.453360466464193,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.Path"},"2641":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2642},{"__isSmartRef__":true,"id":2643},{"__isSmartRef__":true,"id":2644},{"__isSmartRef__":true,"id":2645}],"_PathElements":[{"__isSmartRef__":true,"id":2646},{"__isSmartRef__":true,"id":2647},{"__isSmartRef__":true,"id":2648},{"__isSmartRef__":true,"id":2649}],"renderContextTable":{"__isSmartRef__":true,"id":2650},"_Position":{"__isSmartRef__":true,"id":2651},"_Extent":{"__isSmartRef__":true,"id":2652},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2653},"_Fill":{"__isSmartRef__":true,"id":2654},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2642":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2643":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2644":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2645":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2646":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2647":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2648":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2649":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2650":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2651":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2652":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2653":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2654":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2655":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2656":{"morph":{"__isSmartRef__":true,"id":2640},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2657":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2658":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2659":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2660},{"__isSmartRef__":true,"id":2661}],"_PathElements":[{"__isSmartRef__":true,"id":2662},{"__isSmartRef__":true,"id":2663}],"renderContextTable":{"__isSmartRef__":true,"id":2664},"_Position":{"__isSmartRef__":true,"id":2665},"_Extent":{"__isSmartRef__":true,"id":2666},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2653},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2660":{"x":304,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2661":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2662":{"isAbsolute":true,"x":304,"y":250,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2663":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2664":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2665":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2666":{"x":304,"y":250,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2667":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2668":{"morph":{"__isSmartRef__":true,"id":2639},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2669":{"morph":{"__isSmartRef__":true,"id":2639},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2670":{"morph":{"__isSmartRef__":true,"id":2639},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2640},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2671":{"morphMenuItems":{"__isSmartRef__":true,"id":2672}},"2672":{"varMapping":{"__isSmartRef__":true,"id":2673},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2678},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2673":{"this":{"__isSmartRef__":true,"id":2639},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2674}},"2674":{"$super":{"__isSmartRef__":true,"id":2675}},"2675":{"varMapping":{"__isSmartRef__":true,"id":2676},"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":2677},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2676":{"obj":{"__isSmartRef__":true,"id":2639},"name":"morphMenuItems"},"2677":{},"2678":{},"2679":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2680":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2681":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2682":{"morph":{"__isSmartRef__":true,"id":2597},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2683":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2684":{"x":67,"y":-16,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2685":{"x":334.94753047427946,"y":252,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2686":{"adjustForNewBounds":true,"moveVertical":true,"moveHorizontal":true},"2687":{"submorphs":[{"__isSmartRef__":true,"id":2688}],"scripts":[],"id":"BBAFCDDA-3769-4B56-80C6-A85A65C4A1F0","shape":{"__isSmartRef__":true,"id":2703},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2706},"lighterFill":{"__isSmartRef__":true,"id":2719},"label":{"__isSmartRef__":true,"id":2688},"attributeConnections":[{"__isSmartRef__":true,"id":2728}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2772},"name":"restartButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2773},"renderContextTable":{"__isSmartRef__":true,"id":2774},"eventHandler":{"__isSmartRef__":true,"id":2775},"priorExtent":{"__isSmartRef__":true,"id":2776},"_Position":{"__isSmartRef__":true,"id":2777},"owner":{"__isSmartRef__":true,"id":2160},"distanceToDragEvent":{"__isSmartRef__":true,"id":2778},"derivationIds":[2957,"9637758C-F7D8-4FC0-9A91-2B9B62533684"],"layout":{"__isSmartRef__":true,"id":2779},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"2688":{"submorphs":[],"scripts":[],"id":"F541CA0B-D744-42A2-A78E-63142D5FA6AF","shape":{"__isSmartRef__":true,"id":2689},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2695},"textColor":{"__isSmartRef__":true,"id":2692},"owner":{"__isSmartRef__":true,"id":2687},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2696}],"padding":{"__isSmartRef__":true,"id":2698},"_Padding":{"__isSmartRef__":true,"id":2699},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2700},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":2701},"eventHandler":{"__isSmartRef__":true,"id":2702},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2958,"87A7C3E1-E2EE-4663-92CE-D5F465B2276D"],"_MinTextWidth":77,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2689":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2690},"_Extent":{"__isSmartRef__":true,"id":2691},"_BorderColor":{"__isSmartRef__":true,"id":2692},"renderContextTable":{"__isSmartRef__":true,"id":2693},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2694},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2690":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2691":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2692":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"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"},"2694":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2695":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2696":{"style":{"__isSmartRef__":true,"id":2697},"chunkOwner":{"__isSmartRef__":true,"id":2688},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"(re)start","__LivelyClassName__":"lively.morphic.TextChunk"},"2697":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2698":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2699":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2700":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2701":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2702":{"morph":{"__isSmartRef__":true,"id":2688},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2703":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2704},"_Extent":{"__isSmartRef__":true,"id":2705},"_Fill":{"__isSmartRef__":true,"id":2706},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2716},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2717},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2718},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2704":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2705":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2706":{"stops":[{"__isSmartRef__":true,"id":2707},{"__isSmartRef__":true,"id":2709},{"__isSmartRef__":true,"id":2711},{"__isSmartRef__":true,"id":2713}],"vector":{"__isSmartRef__":true,"id":2715},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2707":{"offset":0,"color":{"__isSmartRef__":true,"id":2708}},"2708":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2709":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2710}},"2710":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2711":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2712}},"2712":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2713":{"offset":1,"color":{"__isSmartRef__":true,"id":2714}},"2714":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2715":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2716":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2717":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2718":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2719":{"stops":[{"__isSmartRef__":true,"id":2720},{"__isSmartRef__":true,"id":2722},{"__isSmartRef__":true,"id":2724},{"__isSmartRef__":true,"id":2726}],"vector":{"__isSmartRef__":true,"id":2715},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2720":{"offset":0,"color":{"__isSmartRef__":true,"id":2721}},"2721":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2722":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2723}},"2723":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2724":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2725}},"2725":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2726":{"offset":1,"color":{"__isSmartRef__":true,"id":2727}},"2727":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2728":{"sourceObj":{"__isSmartRef__":true,"id":2687},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"restartCurrentServer","visualConnector":{"__isSmartRef__":true,"id":2729},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2729":{"submorphs":[{"__isSmartRef__":true,"id":2730}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2752},"id":5997,"renderContextTable":{"__isSmartRef__":true,"id":2760},"eventHandler":{"__isSmartRef__":true,"id":2761},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2762},{"__isSmartRef__":true,"id":2763}],"con":{"__isSmartRef__":true,"id":2728},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2764},"__LivelyClassName__":"lively.morphic.Path"},"2730":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2731},"id":5998,"renderContextTable":{"__isSmartRef__":true,"id":2744},"eventHandler":{"__isSmartRef__":true,"id":2745},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":2746},"owner":{"__isSmartRef__":true,"id":2729},"_Position":{"__isSmartRef__":true,"id":2747},"_Rotation":-2.444571276337194,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":2748},{"__isSmartRef__":true,"id":2749},{"__isSmartRef__":true,"id":2750},{"__isSmartRef__":true,"id":2751}],"__LivelyClassName__":"lively.morphic.Path"},"2731":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2732},{"__isSmartRef__":true,"id":2733},{"__isSmartRef__":true,"id":2734},{"__isSmartRef__":true,"id":2735}],"_PathElements":[{"__isSmartRef__":true,"id":2736},{"__isSmartRef__":true,"id":2737},{"__isSmartRef__":true,"id":2738},{"__isSmartRef__":true,"id":2739}],"renderContextTable":{"__isSmartRef__":true,"id":2740},"_Position":{"__isSmartRef__":true,"id":2741},"_Extent":{"__isSmartRef__":true,"id":2742},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":{"__isSmartRef__":true,"id":2743},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2732":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2733":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2734":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2735":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2736":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2737":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2738":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2739":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2740":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2741":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2742":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2743":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2744":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2745":{"morph":{"__isSmartRef__":true,"id":2730},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2746":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2747":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2748":{"morph":{"__isSmartRef__":true,"id":2730},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2749":{"morph":{"__isSmartRef__":true,"id":2730},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2750":{"morph":{"__isSmartRef__":true,"id":2730},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2751":{"morph":{"__isSmartRef__":true,"id":2730},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2752":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2753},{"__isSmartRef__":true,"id":2754}],"_PathElements":[{"__isSmartRef__":true,"id":2755},{"__isSmartRef__":true,"id":2756}],"renderContextTable":{"__isSmartRef__":true,"id":2757},"_Position":{"__isSmartRef__":true,"id":2758},"_Extent":{"__isSmartRef__":true,"id":2759},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2251},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2753":{"x":172,"y":144,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2754":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2755":{"isAbsolute":true,"x":172,"y":144,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2756":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2757":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2758":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2759":{"x":172,"y":144,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2760":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2761":{"morph":{"__isSmartRef__":true,"id":2729},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2762":{"morph":{"__isSmartRef__":true,"id":2729},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2763":{"morph":{"__isSmartRef__":true,"id":2729},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2730},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2764":{"morphMenuItems":{"__isSmartRef__":true,"id":2765}},"2765":{"varMapping":{"__isSmartRef__":true,"id":2766},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2771},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2766":{"this":{"__isSmartRef__":true,"id":2729},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2767}},"2767":{"$super":{"__isSmartRef__":true,"id":2768}},"2768":{"varMapping":{"__isSmartRef__":true,"id":2769},"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":2770},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2769":{"obj":{"__isSmartRef__":true,"id":2729},"name":"morphMenuItems"},"2770":{},"2771":{},"2772":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2773":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2774":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2775":{"morph":{"__isSmartRef__":true,"id":2687},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2776":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2777":{"x":417.94753047427946,"y":252,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2778":{"x":79,"y":-10.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2779":{"adjustForNewBounds":true,"moveVertical":true,"moveHorizontal":true},"2780":{"submorphs":[{"__isSmartRef__":true,"id":2781}],"scripts":[],"id":"796BC1AD-B76B-4799-9F72-2469BFFDE07B","shape":{"__isSmartRef__":true,"id":2796},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":true,"halosEnabled":true,"registeredForMouseEvents":true,"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":2799},"lighterFill":{"__isSmartRef__":true,"id":2812},"label":{"__isSmartRef__":true,"id":2781},"attributeConnections":[{"__isSmartRef__":true,"id":2821}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"showsHalos":false,"__SourceModuleName__":"Global.lively.morphic.Widgets","padding":{"__isSmartRef__":true,"id":2865},"name":"stopButton","partsBinMetaInfo":{"__isSmartRef__":true,"id":2866},"renderContextTable":{"__isSmartRef__":true,"id":2867},"eventHandler":{"__isSmartRef__":true,"id":2868},"priorExtent":{"__isSmartRef__":true,"id":2869},"distanceToDragEvent":{"__isSmartRef__":true,"id":2870},"_Position":{"__isSmartRef__":true,"id":2871},"owner":{"__isSmartRef__":true,"id":2160},"derivationIds":[2959,"D4C3F858-71B6-438D-8B68-EF60CE014253"],"layout":{"__isSmartRef__":true,"id":2872},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Button"},"2781":{"submorphs":[],"scripts":[],"id":"54586477-485F-4E3B-A927-C2E993DF638F","shape":{"__isSmartRef__":true,"id":2782},"grabbingEnabled":false,"droppingEnabled":false,"showsMorphMenu":false,"halosEnabled":true,"fixedWidth":true,"_MaxTextWidth":77,"_MaxTextHeight":null,"fixedHeight":true,"allowsInput":false,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2788},"textColor":{"__isSmartRef__":true,"id":2785},"owner":{"__isSmartRef__":true,"id":2780},"eventsAreIgnored":true,"__SourceModuleName__":"Global.lively.morphic.TextCore","textChunks":[{"__isSmartRef__":true,"id":2789}],"padding":{"__isSmartRef__":true,"id":2791},"_Padding":{"__isSmartRef__":true,"id":2792},"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":2793},"_FontFamily":"Helvetica, Sans-Serif","renderContextTable":{"__isSmartRef__":true,"id":2794},"eventHandler":{"__isSmartRef__":true,"id":2795},"_HandStyle":"default","_PointerEvents":"none","_ClipMode":"visible","_WhiteSpaceHandling":"pre-wrap","_Align":"center","_FontSize":11,"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2960,"C6423782-FD54-4378-8B47-1BCACA42FB12"],"_MinTextWidth":77,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2782":{"borderWidth":0,"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2783},"_Extent":{"__isSmartRef__":true,"id":2784},"_BorderColor":{"__isSmartRef__":true,"id":2785},"renderContextTable":{"__isSmartRef__":true,"id":2786},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2787},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2783":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2784":{"x":77,"y":20,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2785":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2786":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2787":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2788":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2789":{"style":{"__isSmartRef__":true,"id":2790},"chunkOwner":{"__isSmartRef__":true,"id":2781},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"stop","__LivelyClassName__":"lively.morphic.TextChunk"},"2790":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2791":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2792":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2793":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2794":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2795":{"morph":{"__isSmartRef__":true,"id":2781},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2796":{"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2797},"_Extent":{"__isSmartRef__":true,"id":2798},"_Fill":{"__isSmartRef__":true,"id":2799},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2809},"_BorderRadius":5,"renderContextTable":{"__isSmartRef__":true,"id":2810},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2811},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2797":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2798":{"x":77,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2799":{"stops":[{"__isSmartRef__":true,"id":2800},{"__isSmartRef__":true,"id":2802},{"__isSmartRef__":true,"id":2804},{"__isSmartRef__":true,"id":2806}],"vector":{"__isSmartRef__":true,"id":2808},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2800":{"offset":0,"color":{"__isSmartRef__":true,"id":2801}},"2801":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2802":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2803}},"2803":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2804":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2805}},"2805":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2806":{"offset":1,"color":{"__isSmartRef__":true,"id":2807}},"2807":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2808":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2809":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2810":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2811":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2812":{"stops":[{"__isSmartRef__":true,"id":2813},{"__isSmartRef__":true,"id":2815},{"__isSmartRef__":true,"id":2817},{"__isSmartRef__":true,"id":2819}],"vector":{"__isSmartRef__":true,"id":2808},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"2813":{"offset":0,"color":{"__isSmartRef__":true,"id":2814}},"2814":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2815":{"offset":0.4,"color":{"__isSmartRef__":true,"id":2816}},"2816":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2817":{"offset":0.6,"color":{"__isSmartRef__":true,"id":2818}},"2818":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2819":{"offset":1,"color":{"__isSmartRef__":true,"id":2820}},"2820":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2821":{"sourceObj":{"__isSmartRef__":true,"id":2780},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"stopCurrentServer","visualConnector":{"__isSmartRef__":true,"id":2822},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2822":{"submorphs":[{"__isSmartRef__":true,"id":2823}],"scripts":[],"shape":{"__isSmartRef__":true,"id":2845},"id":8319,"renderContextTable":{"__isSmartRef__":true,"id":2853},"eventHandler":{"__isSmartRef__":true,"id":2854},"droppingEnabled":true,"halosEnabled":true,"owner":null,"controlPoints":[{"__isSmartRef__":true,"id":2855},{"__isSmartRef__":true,"id":2856}],"con":{"__isSmartRef__":true,"id":2821},"showsMorphMenu":true,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2857},"__LivelyClassName__":"lively.morphic.Path"},"2823":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2824},"id":8320,"renderContextTable":{"__isSmartRef__":true,"id":2837},"eventHandler":{"__isSmartRef__":true,"id":2838},"droppingEnabled":true,"halosEnabled":true,"_Origin":{"__isSmartRef__":true,"id":2839},"owner":{"__isSmartRef__":true,"id":2822},"_Position":{"__isSmartRef__":true,"id":2840},"_Rotation":-2.3816293170298204,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","controlPoints":[{"__isSmartRef__":true,"id":2841},{"__isSmartRef__":true,"id":2842},{"__isSmartRef__":true,"id":2843},{"__isSmartRef__":true,"id":2844}],"__LivelyClassName__":"lively.morphic.Path"},"2824":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2825},{"__isSmartRef__":true,"id":2826},{"__isSmartRef__":true,"id":2827},{"__isSmartRef__":true,"id":2828}],"_PathElements":[{"__isSmartRef__":true,"id":2829},{"__isSmartRef__":true,"id":2830},{"__isSmartRef__":true,"id":2831},{"__isSmartRef__":true,"id":2832}],"renderContextTable":{"__isSmartRef__":true,"id":2833},"_Position":{"__isSmartRef__":true,"id":2834},"_Extent":{"__isSmartRef__":true,"id":2835},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":{"__isSmartRef__":true,"id":2836},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2825":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2826":{"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2827":{"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2828":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2829":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2830":{"isAbsolute":true,"x":0,"y":12,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2831":{"isAbsolute":true,"x":16,"y":6,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2832":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2833":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2834":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2835":{"x":16,"y":12,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2836":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2837":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2838":{"morph":{"__isSmartRef__":true,"id":2823},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2839":{"x":12,"y":6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2840":{"x":-12,"y":-6,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2841":{"morph":{"__isSmartRef__":true,"id":2823},"index":0,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2842":{"morph":{"__isSmartRef__":true,"id":2823},"index":1,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2843":{"morph":{"__isSmartRef__":true,"id":2823},"index":2,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2844":{"morph":{"__isSmartRef__":true,"id":2823},"index":3,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2845":{"dontChangeShape":false,"cachedVertices":[{"__isSmartRef__":true,"id":2846},{"__isSmartRef__":true,"id":2847}],"_PathElements":[{"__isSmartRef__":true,"id":2848},{"__isSmartRef__":true,"id":2849}],"renderContextTable":{"__isSmartRef__":true,"id":2850},"_Position":{"__isSmartRef__":true,"id":2851},"_Extent":{"__isSmartRef__":true,"id":2852},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2251},"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.Path"},"2846":{"x":262,"y":249.00000000000006,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2847":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2848":{"isAbsolute":true,"x":262,"y":249.00000000000006,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.MoveTo"},"2849":{"isAbsolute":true,"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.PathShapes","__LivelyClassName__":"lively.morphic.Shapes.LineTo"},"2850":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"2851":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2852":{"x":262,"y":249,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2853":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setClipMode":"setClipModeHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML"},"2854":{"morph":{"__isSmartRef__":true,"id":2822},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2855":{"morph":{"__isSmartRef__":true,"id":2822},"index":0,"connectedMagnet":null,"__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2856":{"morph":{"__isSmartRef__":true,"id":2822},"index":1,"connectedMagnet":null,"marker":{"__isSmartRef__":true,"id":2823},"markerDirection":"prev","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs","__LivelyClassName__":"lively.morphic.ControlPoint"},"2857":{"morphMenuItems":{"__isSmartRef__":true,"id":2858}},"2858":{"varMapping":{"__isSmartRef__":true,"id":2859},"source":"function morphMenuItems() {\n var visualConnector = this, con = this.con, world = this.world();\n var items = [\n ['edit converter', function() {\n var source = con.converterString || 'function converter(value) {\\n return value\\n}',\n editor = new lively.morphic.Text(new Rectangle(0,0, 400, 200), source);\n editor.doitContext = con;\n connect(editor, 'savedTextString', con, 'converterString', {updater:\n function($upd, source) { this.targetObj.converter = null; $upd(source) }});\n connect(editor, 'savedTextString', world, 'alertOK', {converter: \n function() { return 'setting new converter' }})\n editor.applyStyle({syntaxHighlighting: true, fontFamily: 'Courier', resizeWidth: true, resizeHeight: true});\n var title = con.targetObj.name && con.sourceObj.name ?\n 'Editor for ' + con.targetObj.name + ' -> ' + con.sourceObj.name :\n 'Editor for converter function';\n var window = world.addFramedMorph(editor, title)\n window.align(window.bounds().topCenter(), visualConnector.bounds().bottomCenter())\n }],\n ['hide', function() {\n visualConnector.disconnectFromMagnets();\n visualConnector.remove();\n }],\n ['disconnect', function() {\n alertOK('Disconnected ' + visualConnector.con);\n visualConnector.con.visualDisconnect();\n }],\n ['cancel', function() {}],\n ];\n return items;\n }","funcProperties":{"__isSmartRef__":true,"id":2864},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2859":{"this":{"__isSmartRef__":true,"id":2822},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":2860}},"2860":{"$super":{"__isSmartRef__":true,"id":2861}},"2861":{"varMapping":{"__isSmartRef__":true,"id":2862},"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":2863},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2862":{"obj":{"__isSmartRef__":true,"id":2822},"name":"morphMenuItems"},"2863":{},"2864":{},"2865":{"x":5,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2866":{"partsSpaceName":"PartsBin/Inputs/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Simple button. Connect to 'fire' to trigger actions when the button is pressed.","partName":"Button","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2867":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2868":{"morph":{"__isSmartRef__":true,"id":2780},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2869":{"x":78,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2870":{"x":77,"y":-13.000000000000057,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2871":{"x":500.94753047427946,"y":252,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2872":{"adjustForNewBounds":true,"moveVertical":true,"moveHorizontal":true},"2873":{"submorphs":[],"scripts":[],"id":"BD88B1E9-F09B-407F-98CD-F670007C58F9","shape":{"__isSmartRef__":true,"id":2874},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":2880},"_MaxTextWidth":364.65828402366867,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":2877},"showsHalos":false,"_FontSize":11,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"urlText","partsBinMetaInfo":{"__isSmartRef__":true,"id":2881},"textChunks":[{"__isSmartRef__":true,"id":2882}],"charsReplaced":"some text","lastFindLoc":-9,"priorSelectionRange":[34,34],"prevScroll":[0,0],"owner":{"__isSmartRef__":true,"id":2160},"priorExtent":{"__isSmartRef__":true,"id":2884},"renderContextTable":{"__isSmartRef__":true,"id":2885},"eventHandler":{"__isSmartRef__":true,"id":2886},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_ClipMode":"visible","derivationIds":[2961,"644179E8-29E3-4C22-BCAF-998B618D1999"],"_WhiteSpaceHandling":"pre-wrap","_MinTextWidth":364.65828402366867,"_MinTextHeight":null,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2874":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":2875},"_Extent":{"__isSmartRef__":true,"id":2876},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2877},"renderContextTable":{"__isSmartRef__":true,"id":2878},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2879},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2875":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2876":{"x":364.65828402366867,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2877":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2878":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2879":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2880":{"x":196.2892464506108,"y":3.7730671701785496,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2881":{"partsSpaceName":"PartsBin/NewWorld","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":1,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2882":{"style":{"__isSmartRef__":true,"id":2883},"chunkOwner":{"__isSmartRef__":true,"id":2873},"storedString":"http://lively-kernel.org/nodejs/PhantomJSServer/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2883":{"uri":"http://lively-kernel.org/nodejs/PhantomJSServer/","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"2884":{"x":364.65828402366867,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2885":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2886":{"morph":{"__isSmartRef__":true,"id":2873},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2887":{"position":{"__isSmartRef__":true,"id":2888},"_Extent":{"__isSmartRef__":true,"id":2889},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":2890},"_Fill":{"__isSmartRef__":true,"id":2891},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":2892},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":2893},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2888":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2889":{"x":596.9475304742795,"y":278,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2890":{"r":0.372,"g":0.369,"b":0.372,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"2891":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2892":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2893":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2894":{"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":"NodeJSControl","requiredModules":["server.nodejs.WebInterface"],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"2895":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"2896":{"morph":{"__isSmartRef__":true,"id":2160},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2897":{"sourceObj":{"__isSmartRef__":true,"id":2160},"sourceAttrName":"currentServer","targetObj":{"__isSmartRef__":true,"id":2160},"targetMethodName":"showServerInfo","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"2898":{"x":596.9475304742795,"y":278,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2899":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"2900":{"refreshServerList":{"__isSmartRef__":true,"id":2901},"getMasterServerInterface":{"__isSmartRef__":true,"id":2903},"getRunningServers":{"__isSmartRef__":true,"id":2905},"showServerInfo":{"__isSmartRef__":true,"id":2907},"setupConnections":{"__isSmartRef__":true,"id":2909},"restartCurrentServer":{"__isSmartRef__":true,"id":2911},"serverIsRunning":{"__isSmartRef__":true,"id":2913},"setColorOfServerStateIndicator":{"__isSmartRef__":true,"id":2915},"serverIsNotRunning":{"__isSmartRef__":true,"id":2917},"serverstateIsUnknown":{"__isSmartRef__":true,"id":2919},"serverStateIsUnknown":{"__isSmartRef__":true,"id":2921},"stopCurrentServer":{"__isSmartRef__":true,"id":2923},"createNewServer":{"__isSmartRef__":true,"id":2925},"removeServer":{"__isSmartRef__":true,"id":2927},"browseSelectedServer":{"__isSmartRef__":true,"id":2929},"reset":{"__isSmartRef__":true,"id":2931},"onLoadFromPartsBin":{"__isSmartRef__":true,"id":2933}},"2901":{"time":{"__isSmartRef__":true,"id":2902},"user":"robertkrahn"},"2902":{"isSerializedDate":true,"string":"Thu Jul 14 2011 15:19:10 GMT+0200 (CEST)"},"2903":{"time":{"__isSmartRef__":true,"id":2904},"user":"robertkrahn"},"2904":{"isSerializedDate":true,"string":"Wed Jul 13 2011 19:05:22 GMT+0200 (CEST)"},"2905":{"time":{"__isSmartRef__":true,"id":2906},"user":"robertkrahn"},"2906":{"isSerializedDate":true,"string":"Wed Jul 13 2011 20:36:29 GMT+0200 (CEST)"},"2907":{"time":{"__isSmartRef__":true,"id":2908},"user":"robertkrahn"},"2908":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:47:56 GMT+0200 (CEST)"},"2909":{"time":{"__isSmartRef__":true,"id":2910},"user":"robertkrahn"},"2910":{"isSerializedDate":true,"string":"Wed Jul 13 2011 18:57:57 GMT+0200 (CEST)"},"2911":{"time":{"__isSmartRef__":true,"id":2912},"user":"robertkrahn"},"2912":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:36:07 GMT+0200 (CEST)"},"2913":{"time":{"__isSmartRef__":true,"id":2914},"user":"robertkrahn"},"2914":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:14:41 GMT+0200 (CEST)"},"2915":{"time":{"__isSmartRef__":true,"id":2916},"user":"robertkrahn"},"2916":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:14:57 GMT+0200 (CEST)"},"2917":{"time":{"__isSmartRef__":true,"id":2918},"user":"robertkrahn"},"2918":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:15:06 GMT+0200 (CEST)"},"2919":{"time":{"__isSmartRef__":true,"id":2920},"user":"robertkrahn"},"2920":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:15:27 GMT+0200 (CEST)"},"2921":{"time":{"__isSmartRef__":true,"id":2922},"user":"robertkrahn"},"2922":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:15:36 GMT+0200 (CEST)"},"2923":{"time":{"__isSmartRef__":true,"id":2924},"user":"robertkrahn"},"2924":{"isSerializedDate":true,"string":"Wed Jul 13 2011 21:35:48 GMT+0200 (CEST)"},"2925":{"time":{"__isSmartRef__":true,"id":2926},"user":"robertkrahn"},"2926":{"isSerializedDate":true,"string":"Wed Jul 13 2011 22:56:23 GMT+0200 (CEST)"},"2927":{"time":{"__isSmartRef__":true,"id":2928},"user":"robertkrahn"},"2928":{"isSerializedDate":true,"string":"Thu Jul 14 2011 15:17:53 GMT+0200 (CEST)"},"2929":{"time":{"__isSmartRef__":true,"id":2930},"user":"robertkrahn"},"2930":{"isSerializedDate":true,"string":"Thu Jul 14 2011 15:05:04 GMT+0200 (CEST)"},"2931":{"time":{"__isSmartRef__":true,"id":2932},"user":"robertkrahn"},"2932":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:45:32 GMT+0200 (CEST)"},"2933":{"time":{"__isSmartRef__":true,"id":2934},"user":"robertkrahn"},"2934":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:51:33 GMT+0200 (CEST)"},"2935":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2936":{"x":393,"y":-9,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2937":{"refreshServerList":{"__isSmartRef__":true,"id":2938},"getMasterServerInterface":{"__isSmartRef__":true,"id":2941},"showServerInfo":{"__isSmartRef__":true,"id":2944},"setupConnections":{"__isSmartRef__":true,"id":2947},"restartCurrentServer":{"__isSmartRef__":true,"id":2950},"serverIsRunning":{"__isSmartRef__":true,"id":2953},"setColorOfServerStateIndicator":{"__isSmartRef__":true,"id":2956},"serverIsNotRunning":{"__isSmartRef__":true,"id":2959},"serverStateIsUnknown":{"__isSmartRef__":true,"id":2962},"stopCurrentServer":{"__isSmartRef__":true,"id":2965},"createNewServer":{"__isSmartRef__":true,"id":2968},"removeServer":{"__isSmartRef__":true,"id":2971},"browseSelectedServer":{"__isSmartRef__":true,"id":2974},"reset":{"__isSmartRef__":true,"id":2977}},"2938":{"varMapping":{"__isSmartRef__":true,"id":2939},"source":"function refreshServerList() {\n var serverList = this.get('serverList'),\n master = this.getMasterServerInterface(),\n prevSel = serverList.selection;\n this.reset();\n connect(\n master, 'serverInfos',\n {$: function(list) {\n var items = list.collect(function(ea) {\n return {string: ea.serverName, value: ea, isListItem: true}\n });\n serverList.setList(items);\n if (prevSel && prevSel.serverName) \n serverList.\nsetSelectionMatching(prevSel.serverName);\n }}, '$')\n master.getServerInfos();\n}","funcProperties":{"__isSmartRef__":true,"id":2940},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2939":{"this":{"__isSmartRef__":true,"id":2160}},"2940":{},"2941":{"varMapping":{"__isSmartRef__":true,"id":2942},"source":"function getMasterServerInterface() {\n var master = new NodeJSMasterServer()\n master.beAsync();\n return master;\n}","funcProperties":{"__isSmartRef__":true,"id":2943},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2942":{"this":{"__isSmartRef__":true,"id":2160}},"2943":{},"2944":{"varMapping":{"__isSmartRef__":true,"id":2945},"source":"function showServerInfo() {\n if (!this.currentServer) return;\n if (this.currentServer.isRunning) this.serverIsRunning();\n else this.serverIsNotRunning();\n // var info = JSON.prettyPrint(this.currentServer);\n // this.get('serverInfoText').textString = info;\n\n var master = this.getMasterServerInterface();\n master.isAsync = false;\n\n var url = 'http://lively-kernel.org/nodejs/' + this.currentServer.serverName + '/';\n this.get('urlText').textString = url;\n this.get('urlText').emphasizeAll({uri: url});\n\n this.get('logText').textString = '';\n this.get('logText').textString = master.getLog(this.currentServer.serverName)\n}","funcProperties":{"__isSmartRef__":true,"id":2946},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2945":{"this":{"__isSmartRef__":true,"id":2160}},"2946":{},"2947":{"varMapping":{"__isSmartRef__":true,"id":2948},"source":"function setupConnections() {\n connect(this, 'currentServer', this, 'showServerInfo')\n}","funcProperties":{"__isSmartRef__":true,"id":2949},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2948":{"this":{"__isSmartRef__":true,"id":2160}},"2949":{},"2950":{"varMapping":{"__isSmartRef__":true,"id":2951},"source":"function restartCurrentServer() {\n if (!this.currentServer) return;\n \n var master= this.getMasterServerInterface(),\n serverName = this.currentServer.serverName;\n\n connect(master, 'lastServerResult', this, 'refreshServerList');\n\n master.updateAndRestart(serverName);\n}","funcProperties":{"__isSmartRef__":true,"id":2952},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2951":{"this":{"__isSmartRef__":true,"id":2160}},"2952":{},"2953":{"varMapping":{"__isSmartRef__":true,"id":2954},"source":"function serverIsRunning() {\n this.setColorOfServerStateIndicator(Color.green)\n}","funcProperties":{"__isSmartRef__":true,"id":2955},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2954":{"this":{"__isSmartRef__":true,"id":2160}},"2955":{},"2956":{"varMapping":{"__isSmartRef__":true,"id":2957},"source":"function setColorOfServerStateIndicator(color) {\n this.get('serverStateIndicator').setFill(color)\n}","funcProperties":{"__isSmartRef__":true,"id":2958},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2957":{"this":{"__isSmartRef__":true,"id":2160}},"2958":{},"2959":{"varMapping":{"__isSmartRef__":true,"id":2960},"source":"function serverIsNotRunning() {\n this.setColorOfServerStateIndicator(Color.red)\n}","funcProperties":{"__isSmartRef__":true,"id":2961},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2960":{"this":{"__isSmartRef__":true,"id":2160}},"2961":{},"2962":{"varMapping":{"__isSmartRef__":true,"id":2963},"source":"function serverStateIsUnknown() {\n this.setColorOfServerStateIndicator(Color.gray)\n}","funcProperties":{"__isSmartRef__":true,"id":2964},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2963":{"this":{"__isSmartRef__":true,"id":2160}},"2964":{},"2965":{"varMapping":{"__isSmartRef__":true,"id":2966},"source":"function stopCurrentServer() {\n if (!this.currentServer) return;\n \n var master= this.getMasterServerInterface(),\n serverName = this.currentServer.serverName;\n\n alert('Stopping ' + serverName + '...');\n connect(master, 'lastServerResult', this, 'refreshServerList');\n\n master.stopServer(serverName);\n}","funcProperties":{"__isSmartRef__":true,"id":2967},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2966":{"this":{"__isSmartRef__":true,"id":2160}},"2967":{},"2968":{"varMapping":{"__isSmartRef__":true,"id":2969},"source":"function createNewServer() {\n this.world().prompt(\n 'Please enter a server name',\n function(input) {\n if (!input) { alert('aborting'); return };\n ServerCreator.create(input)\n this.refreshServerList();\n }.bind(this),\n 'NewServer')\n}","funcProperties":{"__isSmartRef__":true,"id":2970},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2969":{"this":{"__isSmartRef__":true,"id":2160}},"2970":{},"2971":{"varMapping":{"__isSmartRef__":true,"id":2972},"source":"function removeServer() {\n var serverName = this.currentServer.serverName;\n this.world().confirm(\n 'Really remove ' + serverName + '?' ,\n function(input) {\n if (!input) { alertOK('nothing removed'); return };\n ServerCreator.remove(serverName);\n this.refreshServerList();\n }.bind(this))\n}","funcProperties":{"__isSmartRef__":true,"id":2973},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2972":{"this":{"__isSmartRef__":true,"id":2160}},"2973":{},"2974":{"varMapping":{"__isSmartRef__":true,"id":2975},"source":"function browseSelectedServer() {\n if (!this.currentServer) return;\n var name = this.currentServer.serverName;\n require('lively.ide').toRun(function() {\n lively.ide.SystemBrowser.browse('server.nodejs.' + name);\n })\n}","funcProperties":{"__isSmartRef__":true,"id":2976},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2975":{"this":{"__isSmartRef__":true,"id":2160}},"2976":{},"2977":{"varMapping":{"__isSmartRef__":true,"id":2978},"source":"function reset() {\n this.currentServer = null;\n this.get('serverList').setList([]);\n this.serverStateIsUnknown();\n this.get('logText').textString = '';\n this.get('urlText').textString = '';\n}","funcProperties":{"__isSmartRef__":true,"id":2979},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"2978":{"this":{"__isSmartRef__":true,"id":2160}},"2979":{},"2980":{"submorphs":[{"__isSmartRef__":true,"id":2981},{"__isSmartRef__":true,"id":2995},{"__isSmartRef__":true,"id":3043},{"__isSmartRef__":true,"id":3078}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3114},"id":"4AC6B6F6-A815-41F1-9DDD-DD6FD58DF76D","renderContextTable":{"__isSmartRef__":true,"id":3120},"eventHandler":{"__isSmartRef__":true,"id":3121},"droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":3122},"_Position":{"__isSmartRef__":true,"id":3123},"windowMorph":{"__isSmartRef__":true,"id":2159},"label":{"__isSmartRef__":true,"id":2981},"closeButton":{"__isSmartRef__":true,"id":2995},"menuButton":{"__isSmartRef__":true,"id":3043},"collapseButton":{"__isSmartRef__":true,"id":3078},"priorExtent":{"__isSmartRef__":true,"id":3124},"owner":{"__isSmartRef__":true,"id":2159},"__SourceModuleName__":"Global.lively.morphic.Widgets","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2962,"30EC5D9F-01AA-4939-A5AD-3F10D97BC5D0"],"showsHalos":false,"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.TitleBar"},"2981":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2982},"id":"B0CCF315-ACBA-454B-8612-9A25E9945EAC","renderContextTable":{"__isSmartRef__":true,"id":2987},"textChunks":[{"__isSmartRef__":true,"id":2988}],"eventHandler":{"__isSmartRef__":true,"id":2990},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":2991},"_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":2992},"_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","owner":{"__isSmartRef__":true,"id":2980},"priorExtent":{"__isSmartRef__":true,"id":2993},"_MaxTextWidth":537.9475304742795,"_MaxTextHeight":null,"_Position":{"__isSmartRef__":true,"id":2994},"__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2963,"659AFF1C-229D-4F62-B8A7-D0297C57337A"],"_MinTextWidth":537.9475304742795,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2982":{"_Position":{"__isSmartRef__":true,"id":2983},"renderContextTable":{"__isSmartRef__":true,"id":2984},"_Extent":{"__isSmartRef__":true,"id":2985},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":null,"_BorderRadius":0,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":2986},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2983":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2984":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"2985":{"x":537.9475304742795,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"2986":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2987":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"2988":{"style":{"__isSmartRef__":true,"id":2989},"chunkOwner":{"__isSmartRef__":true,"id":2981},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"NodeJSControl","__LivelyClassName__":"lively.morphic.TextChunk"},"2989":{"__SourceModuleName__":"Global.lively.morphic.TextCore","fontWeight":"normal","__LivelyClassName__":"lively.morphic.TextEmphasis"},"2990":{"morph":{"__isSmartRef__":true,"id":2981},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"2991":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"2992":{"resizeWidth":true},"2993":{"x":537.9475304742795,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2994":{"x":20,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2995":{"submorphs":[{"__isSmartRef__":true,"id":2996}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3009},"id":"9F980462-9B78-48E1-B990-07B63D2B2FF4","renderContextTable":{"__isSmartRef__":true,"id":3025},"eventHandler":{"__isSmartRef__":true,"id":3026},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3027},"priorExtent":{"__isSmartRef__":true,"id":3028},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3014},"lighterFill":{"__isSmartRef__":true,"id":3029},"label":{"__isSmartRef__":true,"id":2996},"owner":{"__isSmartRef__":true,"id":2980},"layout":{"__isSmartRef__":true,"id":3038},"attributeConnections":[{"__isSmartRef__":true,"id":3039},{"__isSmartRef__":true,"id":3041}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2964,"766DF018-E484-4203-9644-0D7FC6324670"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"2996":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":2997},"id":"0CEDBAF0-390B-4ACA-8C90-598C9B60E7E5","renderContextTable":{"__isSmartRef__":true,"id":3002},"textChunks":[{"__isSmartRef__":true,"id":3003}],"eventHandler":{"__isSmartRef__":true,"id":3005},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3006},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3007},"priorExtent":{"__isSmartRef__":true,"id":3008},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":2995},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2965,"5F0AA972-C4B5-4759-9142-BC2522167051"],"_MinTextWidth":17,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"2997":{"_Position":{"__isSmartRef__":true,"id":2998},"renderContextTable":{"__isSmartRef__":true,"id":2999},"_Extent":{"__isSmartRef__":true,"id":3000},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3001},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"2998":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"2999":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3000":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3001":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3002":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3003":{"style":{"__isSmartRef__":true,"id":3004},"chunkOwner":{"__isSmartRef__":true,"id":2996},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk"},"3004":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3005":{"morph":{"__isSmartRef__":true,"id":2996},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3006":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3007":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3008":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3009":{"_Position":{"__isSmartRef__":true,"id":3010},"renderContextTable":{"__isSmartRef__":true,"id":3011},"_Extent":{"__isSmartRef__":true,"id":3012},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3013},"_Fill":{"__isSmartRef__":true,"id":3014},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3024},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3010":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3011":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3012":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3013":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3014":{"stops":[{"__isSmartRef__":true,"id":3015},{"__isSmartRef__":true,"id":3017},{"__isSmartRef__":true,"id":3019},{"__isSmartRef__":true,"id":3021}],"vector":{"__isSmartRef__":true,"id":3023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3015":{"offset":0,"color":{"__isSmartRef__":true,"id":3016}},"3016":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3017":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3018}},"3018":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3019":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3020}},"3020":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3021":{"offset":1,"color":{"__isSmartRef__":true,"id":3022}},"3022":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3023":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3024":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3025":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3026":{"morph":{"__isSmartRef__":true,"id":2995},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3027":{"x":576.9475304742795,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3028":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3029":{"stops":[{"__isSmartRef__":true,"id":3030},{"__isSmartRef__":true,"id":3032},{"__isSmartRef__":true,"id":3034},{"__isSmartRef__":true,"id":3036}],"vector":{"__isSmartRef__":true,"id":3023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3030":{"offset":0,"color":{"__isSmartRef__":true,"id":3031}},"3031":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3032":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3033}},"3033":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3034":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3035}},"3035":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3036":{"offset":1,"color":{"__isSmartRef__":true,"id":3037}},"3037":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3038":{"moveHorizontal":true},"3039":{"sourceObj":{"__isSmartRef__":true,"id":2995},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2159},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3040},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3040":{"source":{"__isSmartRef__":true,"id":2995},"target":{"__isSmartRef__":true,"id":2159}},"3041":{"sourceObj":{"__isSmartRef__":true,"id":2995},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2159},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3042},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3042":{"source":{"__isSmartRef__":true,"id":2995},"target":{"__isSmartRef__":true,"id":2159}},"3043":{"submorphs":[{"__isSmartRef__":true,"id":3044}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3056},"id":"3F9BD5E0-0CE4-425C-A9C6-054F37E827AA","renderContextTable":{"__isSmartRef__":true,"id":3061},"eventHandler":{"__isSmartRef__":true,"id":3062},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3063},"priorExtent":{"__isSmartRef__":true,"id":3064},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3014},"lighterFill":{"__isSmartRef__":true,"id":3065},"label":{"__isSmartRef__":true,"id":3044},"owner":{"__isSmartRef__":true,"id":2980},"attributeConnections":[{"__isSmartRef__":true,"id":3074},{"__isSmartRef__":true,"id":3076}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2966,"F6747685-1C50-46B8-8A16-6AEBB5BEFF45"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"3044":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3045},"id":"C7130777-796A-443C-80EE-963561106A14","renderContextTable":{"__isSmartRef__":true,"id":3050},"textChunks":[{"__isSmartRef__":true,"id":3051}],"eventHandler":{"__isSmartRef__":true,"id":3053},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3006},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3054},"priorExtent":{"__isSmartRef__":true,"id":3055},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3043},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2967,"620E1251-5C94-4BBC-A728-00C8F8A41074"],"_MinTextWidth":17,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3045":{"_Position":{"__isSmartRef__":true,"id":3046},"renderContextTable":{"__isSmartRef__":true,"id":3047},"_Extent":{"__isSmartRef__":true,"id":3048},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3049},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3046":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3047":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3048":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3049":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3050":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3051":{"style":{"__isSmartRef__":true,"id":3052},"chunkOwner":{"__isSmartRef__":true,"id":3044},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"M","__LivelyClassName__":"lively.morphic.TextChunk"},"3052":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3053":{"morph":{"__isSmartRef__":true,"id":3044},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3054":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3055":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3056":{"_Position":{"__isSmartRef__":true,"id":3057},"renderContextTable":{"__isSmartRef__":true,"id":3058},"_Extent":{"__isSmartRef__":true,"id":3059},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3013},"_Fill":{"__isSmartRef__":true,"id":3014},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3060},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3057":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3058":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3059":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3060":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3061":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3062":{"morph":{"__isSmartRef__":true,"id":3043},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3063":{"x":3,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3064":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3065":{"stops":[{"__isSmartRef__":true,"id":3066},{"__isSmartRef__":true,"id":3068},{"__isSmartRef__":true,"id":3070},{"__isSmartRef__":true,"id":3072}],"vector":{"__isSmartRef__":true,"id":3023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3066":{"offset":0,"color":{"__isSmartRef__":true,"id":3067}},"3067":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3068":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3069}},"3069":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3070":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3071}},"3071":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3072":{"offset":1,"color":{"__isSmartRef__":true,"id":3073}},"3073":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3074":{"sourceObj":{"__isSmartRef__":true,"id":3043},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2159},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3075},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3075":{"source":{"__isSmartRef__":true,"id":3043},"target":{"__isSmartRef__":true,"id":2159}},"3076":{"sourceObj":{"__isSmartRef__":true,"id":3043},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2159},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3077},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3077":{"source":{"__isSmartRef__":true,"id":3043},"target":{"__isSmartRef__":true,"id":2159}},"3078":{"submorphs":[{"__isSmartRef__":true,"id":3079}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3091},"id":"411870E1-9AF5-44FC-9DB4-2036D47D5F57","renderContextTable":{"__isSmartRef__":true,"id":3096},"eventHandler":{"__isSmartRef__":true,"id":3097},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3098},"priorExtent":{"__isSmartRef__":true,"id":3099},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3014},"lighterFill":{"__isSmartRef__":true,"id":3100},"label":{"__isSmartRef__":true,"id":3079},"owner":{"__isSmartRef__":true,"id":2980},"layout":{"__isSmartRef__":true,"id":3109},"attributeConnections":[{"__isSmartRef__":true,"id":3110},{"__isSmartRef__":true,"id":3112}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","derivationIds":[2968,"AA72F467-8DB0-44CD-BB89-19B01942ECAC"],"_ClipMode":"visible","_Scale":1,"__LivelyClassName__":"lively.morphic.WindowControl"},"3079":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3080},"id":"9424A76D-13D4-486F-BCCE-ABF71F0788A7","renderContextTable":{"__isSmartRef__":true,"id":3085},"textChunks":[{"__isSmartRef__":true,"id":3086}],"eventHandler":{"__isSmartRef__":true,"id":3088},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Padding":{"__isSmartRef__":true,"id":3006},"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"_Position":{"__isSmartRef__":true,"id":3089},"priorExtent":{"__isSmartRef__":true,"id":3090},"_MaxTextWidth":17,"_MaxTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3078},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"derivationIds":[2969,"CDA8E8B5-039C-4BC8-8144-2494187699C0"],"_MinTextWidth":17,"_MinTextHeight":null,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"3080":{"_Position":{"__isSmartRef__":true,"id":3081},"renderContextTable":{"__isSmartRef__":true,"id":3082},"_Extent":{"__isSmartRef__":true,"id":3083},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":2251},"_Fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"hidden","_Padding":{"__isSmartRef__":true,"id":3084},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3081":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3082":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3083":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3084":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3085":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3086":{"style":{"__isSmartRef__":true,"id":3087},"chunkOwner":{"__isSmartRef__":true,"id":3079},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk"},"3087":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"3088":{"morph":{"__isSmartRef__":true,"id":3079},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3089":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3090":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3091":{"_Position":{"__isSmartRef__":true,"id":3092},"renderContextTable":{"__isSmartRef__":true,"id":3093},"_Extent":{"__isSmartRef__":true,"id":3094},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3013},"_Fill":{"__isSmartRef__":true,"id":3014},"_StrokeOpacity":0,"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3095},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3092":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3093":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3094":{"x":17,"y":17,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3095":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3096":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3097":{"morph":{"__isSmartRef__":true,"id":3078},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3098":{"x":557.9475304742795,"y":3,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3099":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3100":{"stops":[{"__isSmartRef__":true,"id":3101},{"__isSmartRef__":true,"id":3103},{"__isSmartRef__":true,"id":3105},{"__isSmartRef__":true,"id":3107}],"vector":{"__isSmartRef__":true,"id":3023},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"3101":{"offset":0,"color":{"__isSmartRef__":true,"id":3102}},"3102":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3103":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3104}},"3104":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3105":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3106}},"3106":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3107":{"offset":1,"color":{"__isSmartRef__":true,"id":3108}},"3108":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3109":{"moveHorizontal":true},"3110":{"sourceObj":{"__isSmartRef__":true,"id":3078},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":2159},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3111},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3111":{"source":{"__isSmartRef__":true,"id":3078},"target":{"__isSmartRef__":true,"id":2159}},"3112":{"sourceObj":{"__isSmartRef__":true,"id":3078},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":2159},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3113},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3113":{"source":{"__isSmartRef__":true,"id":3078},"target":{"__isSmartRef__":true,"id":2159}},"3114":{"_Position":{"__isSmartRef__":true,"id":3115},"renderContextTable":{"__isSmartRef__":true,"id":3116},"_Extent":{"__isSmartRef__":true,"id":3117},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3118},"_Fill":{"__isSmartRef__":true,"id":2052},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3119},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3115":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3116":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3117":{"x":596.9475304742795,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3118":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3119":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3120":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3121":{"morph":{"__isSmartRef__":true,"id":2980},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3122":{"resizeWidth":true,"adjustForNewBounds":true},"3123":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3124":{"x":596.9475304742795,"y":22,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3125":{"submorphs":[],"scripts":[],"id":"2FA2E377-52C4-49C3-9C2A-9B35BF3E9900","shape":{"__isSmartRef__":true,"id":3126},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":3133},"showsHalos":false,"name":"ResizeCorner","partsBinMetaInfo":{"__isSmartRef__":true,"id":3134},"__SourceModuleName__":"Global.lively.morphic.Core","draggingEnabled":true,"dragStartPoint":null,"originalExtent":{"__isSmartRef__":true,"id":3135},"originalTargetExtent":null,"renderContextTable":{"__isSmartRef__":true,"id":3136},"eventHandler":{"__isSmartRef__":true,"id":3137},"priorExtent":{"__isSmartRef__":true,"id":3138},"originalTargetInnerBounds":null,"isResizeCorner":true,"relativeOrigin":null,"derivationIds":[7147,"16E962DF-21E9-4FE6-8B9B-953F0E908113","ADD0B5C0-0DC6-4D8E-9C2A-0EC7E3C71F21","5795E091-41AD-49D0-AADF-DA6356B899D5"],"moved":true,"attributeConnections":[{"__isSmartRef__":true,"id":3139}],"doNotSerialize":["$$cornerName"],"doNotCopyProperties":["$$cornerName"],"originalTargetBounds":null,"cornerName":"bottomRight","owner":{"__isSmartRef__":true,"id":2159},"distanceToDragEvent":{"__isSmartRef__":true,"id":3140},"_ClipMode":"visible","_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3141},"__LivelyClassName__":"lively.morphic.Box"},"3126":{"position":{"__isSmartRef__":true,"id":3127},"_Extent":{"__isSmartRef__":true,"id":3128},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3129},"_Fill":{"__isSmartRef__":true,"id":3130},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":3131},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3132},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"3127":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3128":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3129":{"r":0.568,"g":0.568,"b":0.568,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"3130":{"r":0.258,"g":0.258,"b":0.258,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3131":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3132":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3133":{"x":586.9475304742795,"y":289,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3134":{"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":2,"comment":"Resize an object without using halos.","partName":"ResizeCorner","revisionOnLoad":140152,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3135":{"x":239,"y":138,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3136":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3137":{"morph":{"__isSmartRef__":true,"id":3125},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3138":{"x":10,"y":10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3139":{"sourceObj":{"__isSmartRef__":true,"id":3125},"sourceAttrName":"cornerName","targetObj":{"__isSmartRef__":true,"id":3125},"targetMethodName":"alignToOwner","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"3140":{"x":33,"y":-10,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3141":{"onDrag":{"__isSmartRef__":true,"id":3142},"onDragEnd":{"__isSmartRef__":true,"id":3150},"onDragStart":{"__isSmartRef__":true,"id":3158},"reset":{"__isSmartRef__":true,"id":3166},"morphMenuItems":{"__isSmartRef__":true,"id":3169},"alignToOwner":{"__isSmartRef__":true,"id":3176}},"3142":{"varMapping":{"__isSmartRef__":true,"id":3143},"source":"function onDrag(evt) {\n // alert(\"onDrag\")\n // this.owner.setPosition(pt(0,0))\n // this.owner.setOrigin(pt(0,0))\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n \n // moveDelta = moveDelta.maxPt(pt(0,0))\n var ownerExtent = this.owner.getExtent();\n\n // TODO does not work\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n if (maxDelta == 0) return;\n var factor = ownerExtent.x / ownerExtent.y\n moveDelta = pt(maxDelta * factor, maxDelta )\n }\n var accessor = \"with\" + this.cornerName.charAt(0).toUpperCase() + this.cornerName.substring(1);\n\n var newCorner = this.originalTargetBounds[this.cornerName]().addPt(moveDelta);\n var newBounds = this.originalTargetBounds[accessor ](newCorner);\n\n this.owner.setBounds(newBounds);\n \n // var newExtent = this.originalTargetExtent.addPt(moveDelta)\n // alertOK(\"new extent\" + newExtent)\n // this.owner.setExtent(newExtent);\n this.owner.submorphs.select(function(ea) {\n return ea.isResizeCorner\n }).invoke('alignToOwner');\n if (this.owner.halos) {\n this.owner.halos.invoke('alignAtTarget')\n }\n // alertOK(\"relative \" + this.relativeOrigin)\n var newOrigin = pt(0,0).extent(this.owner.getExtent()).relativeToAbsPoint(this.relativeOrigin)\n\n // TODO IMPLEMENT updating the origin does not work yet\n // this.owner.setOrigin(newOrigin);\n // alertOK(\"new origin \" + newOrigin)\n\n}","funcProperties":{"__isSmartRef__":true,"id":3148},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3143":{"this":{"__isSmartRef__":true,"id":3125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3144}},"3144":{"$super":{"__isSmartRef__":true,"id":3145}},"3145":{"varMapping":{"__isSmartRef__":true,"id":3146},"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":3147},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3146":{"obj":{"__isSmartRef__":true,"id":3125},"name":"onDrag"},"3147":{},"3148":{"timestamp":{"__isSmartRef__":true,"id":3149},"user":"sstamm","tags":[]},"3149":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:52 GMT+0100 (CET)"},"3150":{"varMapping":{"__isSmartRef__":true,"id":3151},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetBounds = null;\n this.relativeOrigin = null;\n}","funcProperties":{"__isSmartRef__":true,"id":3156},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3151":{"this":{"__isSmartRef__":true,"id":3125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3152}},"3152":{"$super":{"__isSmartRef__":true,"id":3153}},"3153":{"varMapping":{"__isSmartRef__":true,"id":3154},"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":3155},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3154":{"obj":{"__isSmartRef__":true,"id":3125},"name":"onDragEnd"},"3155":{},"3156":{"timestamp":{"__isSmartRef__":true,"id":3157},"user":"sstamm","tags":[]},"3157":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:09:00 GMT+0100 (CET)"},"3158":{"varMapping":{"__isSmartRef__":true,"id":3159},"source":"function onDragStart(evt) {\n var absToRelativePoint = function (r, absPt) {\n\t\treturn new Point(\n\t\t\t(absPt.x - r.x) / r.width,\n\t\t\t(absPt.y - r.y) / r.height)\n\t}\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(20,20))\n // absToRelativePoint(new Rectangle(10,10,100,100), pt(0,0))\n // absToRelativePoint(new Rectangle(-100,-100,200,200), pt(0,0))\n\n\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetBounds= this.owner.bounds();\n this.relativeOrigin = absToRelativePoint(pt(0,0).extent(this.owner.getExtent()), this.owner.getOrigin())\n}","funcProperties":{"__isSmartRef__":true,"id":3164},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3159":{"this":{"__isSmartRef__":true,"id":3125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3160}},"3160":{"$super":{"__isSmartRef__":true,"id":3161}},"3161":{"varMapping":{"__isSmartRef__":true,"id":3162},"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":3163},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3162":{"obj":{"__isSmartRef__":true,"id":3125},"name":"onDragStart"},"3163":{},"3164":{"timestamp":{"__isSmartRef__":true,"id":3165},"user":"sstamm","tags":[]},"3165":{"isSerializedDate":true,"string":"Thu Feb 23 2012 12:08:40 GMT+0100 (CET)"},"3166":{"varMapping":{"__isSmartRef__":true,"id":3167},"source":"function reset() {\n this.isResizeCorner = true\n this.cornerName = 'bottomRight'\n this.setExtent(pt(10,10));\n this.setPosition(pt(0,0))\n}","funcProperties":{"__isSmartRef__":true,"id":3168},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3167":{"this":{"__isSmartRef__":true,"id":3125}},"3168":{},"3169":{"varMapping":{"__isSmartRef__":true,"id":3170},"source":"function morphMenuItems() {\n return $super().concat([\n [\"corner\", [\n [\"top left\", function() { this.cornerName = 'topLeft'}.bind(this)],\n [\"top right\", function() { this.cornerName = 'topRight'}.bind(this)],\n [\"bottom right\", function() { this.cornerName = 'bottomRight'}.bind(this)],\n [\"bottom left\", function() { this.cornerName = 'bottomLeft'}.bind(this)],\n ]]\n ])\t\n}","funcProperties":{"__isSmartRef__":true,"id":3175},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3170":{"this":{"__isSmartRef__":true,"id":3125},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3171}},"3171":{"$super":{"__isSmartRef__":true,"id":3172}},"3172":{"varMapping":{"__isSmartRef__":true,"id":3173},"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":3174},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3173":{"obj":{"__isSmartRef__":true,"id":3125},"name":"morphMenuItems"},"3174":{},"3175":{},"3176":{"varMapping":{"__isSmartRef__":true,"id":3177},"source":"function alignToOwner() {\n this.align(this.bounds()[this.cornerName](), this.owner.shape.bounds()[this.cornerName]() )\n}","funcProperties":{"__isSmartRef__":true,"id":3178},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3177":{"this":{"__isSmartRef__":true,"id":3125}},"3178":{},"3179":{"renderContextTable":{"__isSmartRef__":true,"id":3180},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":3181},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":3182},"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"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"},"3181":{"x":596.9475304742795,"y":299,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3182":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"3183":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3184":{"morph":{"__isSmartRef__":true,"id":2159},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"3185":{"adjustForNewBounds":true,"resizeWidth":true,"resizeHeight":true},"3186":{"x":596.9475304742795,"y":299,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3187":{"x":0,"y":21,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3188":{"partsSpaceName":"PartsBin/Server/","__SourceModuleName__":"Global.lively.PartsBin","comment":"Starts, stops, creates, and deletes Lively node.js servers.","migrationLevel":4,"partName":"NodeJSControl","requiredModules":["server.nodejs.WebInterface"],"revisionOnLoad":146569,"changes":[{"__isSmartRef__":true,"id":3189}],"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"3189":{"date":{"__isSmartRef__":true,"id":3190},"author":"conradcalmez","message":"Added resize corner ...","id":"4C56F349-8D15-4829-AFC2-E2C69FF44C4E"},"3190":{"isSerializedDate":true,"string":"Mon Mar 19 2012 15:49:02 GMT+0100 (CET)"},"3191":{"x":2149,"y":76,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"3192":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":3193}},"3193":{"time":{"__isSmartRef__":true,"id":3194},"user":"robertkrahn"},"3194":{"isSerializedDate":true,"string":"Thu Jul 14 2011 02:55:22 GMT+0200 (CEST)"},"3195":{"x":1079,"y":835,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3196":{"onLoadFromPartsBin":{"__isSmartRef__":true,"id":3197}},"3197":{"varMapping":{"__isSmartRef__":true,"id":3198},"source":"function onLoadFromPartsBin() {\n $super();\n this.targetMorph.refreshServerList();\n}","funcProperties":{"__isSmartRef__":true,"id":3203},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3198":{"this":{"__isSmartRef__":true,"id":2159},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3199}},"3199":{"$super":{"__isSmartRef__":true,"id":3200}},"3200":{"varMapping":{"__isSmartRef__":true,"id":3201},"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":3202},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"3201":{"obj":{"__isSmartRef__":true,"id":2159},"name":"onLoadFromPartsBin"},"3202":{},"3203":{},"3204":{"submorphs":[{"__isSmartRef__":true,"id":3205},{"__isSmartRef__":true,"id":4069},{"__isSmartRef__":true,"id":4199}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4234},"derivationIds":[null],"id":"8ECF6BCE-0CE6-4E08-AE2E-04AE009D4EBB","renderContextTable":{"__isSmartRef__":true,"id":4238},"eventHandler":{"__isSmartRef__":true,"id":4239},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"draggingEnabled":true,"layout":{"__isSmartRef__":true,"id":4240},"LK2":true,"_Position":{"__isSmartRef__":true,"id":4241},"priorExtent":{"__isSmartRef__":true,"id":4242},"targetMorph":{"__isSmartRef__":true,"id":3205},"reframeHandle":{"__isSmartRef__":true,"id":4199},"titleBar":{"__isSmartRef__":true,"id":4069},"contentOffset":{"__isSmartRef__":true,"id":4068},"collapsedTransform":null,"collapsedExtent":null,"expandedTransform":null,"expandedExtent":null,"ignoreEventsOnExpand":false,"owner":{"__isSmartRef__":true,"id":0},"highlighted":true,"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Window","__SourceModuleName__":"Global.lively.morphic.Widgets","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"3205":{"submorphs":[{"__isSmartRef__":true,"id":3206},{"__isSmartRef__":true,"id":3977},{"__isSmartRef__":true,"id":4009},{"__isSmartRef__":true,"id":3478},{"__isSmartRef__":true,"id":3825},{"__isSmartRef__":true,"id":3866},{"__isSmartRef__":true,"id":3903},{"__isSmartRef__":true,"id":4041},{"__isSmartRef__":true,"id":3940},{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3267},{"__isSmartRef__":true,"id":3301},{"__isSmartRef__":true,"id":3335},{"__isSmartRef__":true,"id":3369},{"__isSmartRef__":true,"id":3403},{"__isSmartRef__":true,"id":3437}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4059},"derivationIds":[null],"id":"A8A3613E-F196-4DCF-AEB9-ADB05FCE57A7","renderContextTable":{"__isSmartRef__":true,"id":4065},"eventHandler":{"__isSmartRef__":true,"id":4066},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4067},"_Position":{"__isSmartRef__":true,"id":4068},"locationPane":{"__isSmartRef__":true,"id":3206},"codeBaseDirBtn":{"__isSmartRef__":true,"id":3977},"localDirBtn":{"__isSmartRef__":true,"id":4009},"Pane1":{"__isSmartRef__":true,"id":3478},"Pane2":{"__isSmartRef__":true,"id":3825},"Pane3":{"__isSmartRef__":true,"id":3866},"Pane4":{"__isSmartRef__":true,"id":3903},"midResizer":{"__isSmartRef__":true,"id":4041},"sourcePane":{"__isSmartRef__":true,"id":3940},"ownerWidget":{"__isSmartRef__":true,"id":3221},"owner":{"__isSmartRef__":true,"id":3204},"ownerApp":{"__isSmartRef__":true,"id":3221},"targetURL":{"__isSmartRef__":true,"id":3476},"prevScroll":[0,0],"__LivelyClassName__":"lively.ide.BrowserPanel","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3206":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3207},"derivationIds":[null],"id":"FC410A92-0089-4556-8AF0-25685EA0C590","renderContextTable":{"__isSmartRef__":true,"id":3213},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3214}],"eventHandler":{"__isSmartRef__":true,"id":3216},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":3217},"priorExtent":{"__isSmartRef__":true,"id":3218},"_MaxTextWidth":654,"_MinTextWidth":654,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3205},"isInputLine":true,"layout":{"__isSmartRef__":true,"id":3219},"noEval":true,"styleClass":["Browser_locationInput"],"attributeConnections":[{"__isSmartRef__":true,"id":3220}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"_TextColor":{"__isSmartRef__":true,"id":3946},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3207":{"_Position":{"__isSmartRef__":true,"id":3208},"renderContextTable":{"__isSmartRef__":true,"id":3209},"_Extent":{"__isSmartRef__":true,"id":3210},"_Padding":{"__isSmartRef__":true,"id":3211},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":{"__isSmartRef__":true,"id":2054},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3208":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3209":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3210":{"x":656,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3211":{"x":1,"y":1,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3212":{"r":0,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3213":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3214":{"style":{"__isSmartRef__":true,"id":3215},"chunkOwner":{"__isSmartRef__":true,"id":3206},"storedString":"http://lively-kernel.org/repository/webwerkstatt/server/nodejs/","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3215":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3216":{"morph":{"__isSmartRef__":true,"id":3206},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3217":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3218":{"x":656,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3219":{"scaleVertical":true,"scaleHorizontal":true},"3220":{"sourceObj":{"__isSmartRef__":true,"id":3206},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setTargetURL","converter":null,"converterString":"function (value) { return new URL(value) }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3976},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3221":{"buttonCommands":[{"__isSmartRef__":true,"id":3222},{"__isSmartRef__":true,"id":3266},{"__isSmartRef__":true,"id":3300},{"__isSmartRef__":true,"id":3334},{"__isSmartRef__":true,"id":3368},{"__isSmartRef__":true,"id":3402},{"__isSmartRef__":true,"id":3436}],"RootFilters":[{"__isSmartRef__":true,"id":3470}],"Pane1Filters":[{"__isSmartRef__":true,"id":3471},{"__isSmartRef__":true,"id":3472}],"Pane2Filters":[{"__isSmartRef__":true,"id":3473}],"Pane3Filters":[{"__isSmartRef__":true,"id":3474}],"Pane4Filters":[{"__isSmartRef__":true,"id":3475}],"evaluate":true,"targetURL":{"__isSmartRef__":true,"id":3476},"panel":{"__isSmartRef__":true,"id":3205},"attributeConnections":[{"__isSmartRef__":true,"id":3477},{"__isSmartRef__":true,"id":3824},{"__isSmartRef__":true,"id":3865},{"__isSmartRef__":true,"id":3902},{"__isSmartRef__":true,"id":3939},{"__isSmartRef__":true,"id":3958}],"SourceString":"PhantomJSServer = {\n port: 8105\n}\n\nfunction JobQueue(concurrency) {\n var queue = [];\n var jobs = {}\n\n var lastJobId = 0;\n\n this.nextJobId = function(){\n return ++lastJobId;\n }\n\n this.getInfo = function() {\n return {\n running: Object.keys(jobs),\n queued: queue.length,\n concurrency: concurrency\n };\n }\n\n this.getJobInfo = function(jobId) {\n return jobs[jobId] || __.find(queue, function(e) {\n return e.jobId == jobId;\n });\n }\n\n this.enqueue = function(job, callback) {\n var self = this;\n\n var jobId = this.nextJobId();\n jobObj = {\n 'job': job,\n 'jobId': jobId,\n 'status': \"queued\",\n 'callback': function(code) {\n self._finished(jobId);\n return callback(code);\n }\n }\n\n if (Object.keys(jobs).length < concurrency) {\n this._startJob(jobObj);\n } else {\n queue.push(jobObj);\n }\n\n return jobId;\n }\n\n this.kill = function(jobId) {\n var job = jobs[jobId];\n if (typeof(job) != \"undefined\") {\n job.process.kill();\n return;\n }\n\n // job is still queued, remove it from the queue\n var index = __.find(queue, function(e, index) {\n if (e.jobId == jobId) {\n queue.split(i, 1);\n return true;\n }\n });\n }\n\n this._finished = function(jobId) {\n delete jobs[jobId];\n\n // start the next job in the queue\n if (queue.length > 0) {\n this._startJob(queue.shift())\n }\n }\n\n this._startJob = function(jobObj) {\n var job = jobObj.job;\n var callback = jobObj.callback;\n\n var sanitize = function(string) {\n return \"'\" + string.replace(/['\\\\]/g, '') + \"'\";\n }\n\n command = sanitize(job.executable);\n\n var args = __.map(job.args, function(arg) {\n var clean = sanitize(arg);\n if (clean == \"JOBID\") {\n return jobObj.jobId;\n } else {\n return clean;\n }\n });\n command = command + \" \" + args.join(\" \");\n\n var child = exec(command, job.options, function(error) {\n callback(error);\n });\n\n jobs[jobObj.jobId] = jobObj\n jobObj.process = child;\n jobObj.status = \"running\";\n\n if (job.stdin) {\n child.stdin.write(job.stdin);\n child.stdin.end();\n }\n\n if (job.stdout) {\n child.stdout.addListener('data', function(data) {\n job.stdout(data);\n });\n }\n if (job.stderr) {\n child.stderr.addListener('data', function(data) {\n job.stderr(data);\n });\n }\n }\n}\nvar phantomQueue = new JobQueue(10);\nvar execQueue = new JobQueue(3);\nvar convertQueue = new JobQueue(10);\n\nvar __ = require('underscore'),\n fs = require('fs'),\n crypto = require('crypto'),\n url = require('url'),\n http = require('http'),\n\n exec = require('child_process').exec,\n spawn = require('child_process').spawn;\n\nvar express = require('express'),\n rewriter = require('express-rewrite');\nvar app = express.createServer();\napp.configure(function() {\n app.use(express.logger());\n app.use(rewriter);\n app.use(express.bodyParser());\n app.use(app.router);\n});\n\nfunction withScreenshot(url, filename, callback) {\n try {\n var stat = fs.lstatSync(filename);\n callback(url, filename);\n } catch(e) {\n var script = 'var filename = phantom.args[1];' +\n 'page.render(filename);';\n\n\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n filename\n ],\n stdin: script,\n options: {\n timeout: 30000\n },\n }\n execQueue.enqueue(job, function(error) {\n callback(url, filename);\n });\n }\n}\n\nfunction phantomExec(url, script, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n ],\n stdin: script,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {\n timeout: 60000\n },\n }\n return execQueue.enqueue(job, callbacks.finish);\n}\n\nfunction phantomCloud(url, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/cloud.js\",\n url,\n \"JOBID\"\n ],\n stdin: callbacks.stdin,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {}\n }\n return phantomQueue.enqueue(job, callbacks.finish);\n}\n\napp.get('/screenshot/full/*', function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n console.log(remoteURL);\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshot, function(remoteURL, screenshot) {\n res.sendfile(screenshot);\n });\n } else {\n res.send(404);\n }\n});\n\napp.get('/screenshot/part/', rewriter.rewrite('/screenshot/medium/viral/index.new.xhtml'));\n// app.get('/screenshot/part-:size', rewriter.rewrite('/screenshot/$1/viral/index.new.xhtml'));\n\napp.get(/^\\/screenshot\\/(medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var size = req.params[0];\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshotFull = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n\n switch(size) {\n case \"medium\":\n var convert = [\"-crop\", \"1024x768+0+0\", \"-background\", \"#ffffff\", screenshotFull, screenshot]\n break;\n case \"cropped\":\n var convert = [\"-trim\", screenshotFull, screenshot]\n break;\n case \"thumb\":\n var convert = [\"-trim\", \"-resize\", \"100x100\", screenshotFull, screenshot]\n break;\n }\n\n try {\n var stat = fs.lstatSync(screenshot);\n res.sendfile(screenshot);\n } catch(e) {\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshotFull, function(remoteURL, screenshotFull) {\n var job = {\n executable: \"/usr/bin/convert\",\n args: convert\n }\n convertQueue.enqueue(job, function(code) {\n res.sendfile(screenshot);\n });\n });\n } else {\n res.send(404);\n }\n }\n});\n\nfunction deleteFile(filePath) {\n fs.stat(filePath, function(err, stats) {\n if (!err) {\n if (stats.isFile()) {\n fs.unlink(filePath, function(err) {\n if (err) {\n console.log(JSON.stringify(err));\n } else {\n console.log(\"Removed \" + filePath);\n }\n });\n }\n } else {\n console.log(JSON.stringify(err));\n }\n });\n}\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n fs.readdir(cacheDir, function(err, files) {\n if (err) {\n res.finish(500);\n } else {\n __.each(files, function(file) {\n if (size == \"full\" || RegExp(\"_\" + size + \"\\.png$\").test(file)) {\n var filePath = cacheDir + \"/\" + file;\n deleteFile(filePath);\n }\n });\n }\n res.send(202);\n });\n});\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n deleteFile(screenshot);\n res.send(202);\n});\n\napp.post('/exec/*', function(req, res) {\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n\n phantomExec(remoteURL, req.body['script'], {\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) {\n res.end();\n }\n });\n});\n\napp.post('/cloud', function(req, res) {\n var remoteURL = req.body['url'];\n\n var jobId = phantomCloud(url, req.body['script'], {\n metadata: {\n url: remoteURL\n },\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) { }\n });\n\n res.json({\n jobId: jobId\n });\n});\n\napp.get('/cloud/:jobId', function(req, res) {\n var job = phantomQueue.getJobInfo(req.params.jobId);\n\n if (job && job.job) {\n var metadata = job.job.metadata ? job.job.metadata : new Object();\n res.json({\n status: job.status,\n metadata: metadata\n })\n } else {\n res.send(404);\n }\n});\n\napp.delete('/cloud/:jobId', function(req, res) {\n phantomQueue.kill(req.params.jobId);\n res.send(202);\n});\n\napp.get('/queues', function(req, res) {\n res.json({\n phantomjs: phantomQueue.getInfo(),\n exec: execQueue.getInfo(),\n convert: convertQueue.getInfo()\n });\n});\n\napp.listen(PhantomJSServer.port, \"localhost\");","sourceString":"PhantomJSServer = {\n port: 8105\n}\n\nfunction JobQueue(concurrency) {\n var queue = [];\n var jobs = {}\n\n var lastJobId = 0;\n\n this.nextJobId = function(){\n return ++lastJobId;\n }\n\n this.getInfo = function() {\n return {\n running: Object.keys(jobs),\n queued: queue.length,\n concurrency: concurrency\n };\n }\n\n this.getJobInfo = function(jobId) {\n return jobs[jobId] || __.find(queue, function(e) {\n return e.jobId == jobId;\n });\n }\n\n this.enqueue = function(job, callback) {\n var self = this;\n\n var jobId = this.nextJobId();\n jobObj = {\n 'job': job,\n 'jobId': jobId,\n 'status': \"queued\",\n 'callback': function(code) {\n self._finished(jobId);\n return callback(code);\n }\n }\n\n if (Object.keys(jobs).length < concurrency) {\n this._startJob(jobObj);\n } else {\n queue.push(jobObj);\n }\n\n return jobId;\n }\n\n this.kill = function(jobId) {\n var job = jobs[jobId];\n if (typeof(job) != \"undefined\") {\n job.process.kill();\n return;\n }\n\n // job is still queued, remove it from the queue\n var index = __.find(queue, function(e, index) {\n if (e.jobId == jobId) {\n queue.split(i, 1);\n return true;\n }\n });\n }\n\n this._finished = function(jobId) {\n delete jobs[jobId];\n\n // start the next job in the queue\n if (queue.length > 0) {\n this._startJob(queue.shift())\n }\n }\n\n this._startJob = function(jobObj) {\n var job = jobObj.job;\n var callback = jobObj.callback;\n\n var sanitize = function(string) {\n return \"'\" + string.replace(/['\\\\]/g, '') + \"'\";\n }\n\n command = sanitize(job.executable);\n\n var args = __.map(job.args, function(arg) {\n var clean = sanitize(arg);\n if (clean == \"JOBID\") {\n return jobObj.jobId;\n } else {\n return clean;\n }\n });\n command = command + \" \" + args.join(\" \");\n\n var child = exec(command, job.options, function(error) {\n callback(error);\n });\n\n jobs[jobObj.jobId] = jobObj\n jobObj.process = child;\n jobObj.status = \"running\";\n\n if (job.stdin) {\n child.stdin.write(job.stdin);\n child.stdin.end();\n }\n\n if (job.stdout) {\n child.stdout.addListener('data', function(data) {\n job.stdout(data);\n });\n }\n if (job.stderr) {\n child.stderr.addListener('data', function(data) {\n job.stderr(data);\n });\n }\n }\n}\nvar phantomQueue = new JobQueue(10);\nvar execQueue = new JobQueue(3);\nvar convertQueue = new JobQueue(10);\n\nvar __ = require('underscore'),\n fs = require('fs'),\n crypto = require('crypto'),\n url = require('url'),\n http = require('http'),\n\n exec = require('child_process').exec,\n spawn = require('child_process').spawn;\n\nvar express = require('express'),\n rewriter = require('express-rewrite');\nvar app = express.createServer();\napp.configure(function() {\n app.use(express.logger());\n app.use(rewriter);\n app.use(express.bodyParser());\n app.use(app.router);\n});\n\nfunction withScreenshot(url, filename, callback) {\n try {\n var stat = fs.lstatSync(filename);\n callback(url, filename);\n } catch(e) {\n var script = 'var filename = phantom.args[1];' +\n 'page.render(filename);';\n\n\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n filename\n ],\n stdin: script,\n options: {\n timeout: 30000\n },\n }\n execQueue.enqueue(job, function(error) {\n callback(url, filename);\n });\n }\n}\n\nfunction phantomExec(url, script, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n ],\n stdin: script,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {\n timeout: 60000\n },\n }\n return execQueue.enqueue(job, callbacks.finish);\n}\n\nfunction phantomCloud(url, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/cloud.js\",\n url,\n \"JOBID\"\n ],\n stdin: callbacks.stdin,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {}\n }\n return phantomQueue.enqueue(job, callbacks.finish);\n}\n\napp.get('/screenshot/full/*', function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n console.log(remoteURL);\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshot, function(remoteURL, screenshot) {\n res.sendfile(screenshot);\n });\n } else {\n res.send(404);\n }\n});\n\napp.get('/screenshot/part/', rewriter.rewrite('/screenshot/medium/viral/index.new.xhtml'));\n// app.get('/screenshot/part-:size', rewriter.rewrite('/screenshot/$1/viral/index.new.xhtml'));\n\napp.get(/^\\/screenshot\\/(medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var size = req.params[0];\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshotFull = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n\n switch(size) {\n case \"medium\":\n var convert = [\"-crop\", \"1024x768+0+0\", \"-background\", \"#ffffff\", screenshotFull, screenshot]\n break;\n case \"cropped\":\n var convert = [\"-trim\", screenshotFull, screenshot]\n break;\n case \"thumb\":\n var convert = [\"-trim\", \"-resize\", \"100x100\", screenshotFull, screenshot]\n break;\n }\n\n try {\n var stat = fs.lstatSync(screenshot);\n res.sendfile(screenshot);\n } catch(e) {\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshotFull, function(remoteURL, screenshotFull) {\n var job = {\n executable: \"/usr/bin/convert\",\n args: convert\n }\n convertQueue.enqueue(job, function(code) {\n res.sendfile(screenshot);\n });\n });\n } else {\n res.send(404);\n }\n }\n});\n\nfunction deleteFile(filePath) {\n fs.stat(filePath, function(err, stats) {\n if (!err) {\n if (stats.isFile()) {\n fs.unlink(filePath, function(err) {\n if (err) {\n console.log(JSON.stringify(err));\n } else {\n console.log(\"Removed \" + filePath);\n }\n });\n }\n } else {\n console.log(JSON.stringify(err));\n }\n });\n}\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n fs.readdir(cacheDir, function(err, files) {\n if (err) {\n res.finish(500);\n } else {\n __.each(files, function(file) {\n if (size == \"full\" || RegExp(\"_\" + size + \"\\.png$\").test(file)) {\n var filePath = cacheDir + \"/\" + file;\n deleteFile(filePath);\n }\n });\n }\n res.send(202);\n });\n});\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n deleteFile(screenshot);\n res.send(202);\n});\n\napp.post('/exec/*', function(req, res) {\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n\n phantomExec(remoteURL, req.body['script'], {\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) {\n res.end();\n }\n });\n});\n\napp.post('/cloud', function(req, res) {\n var remoteURL = req.body['url'];\n\n var jobId = phantomCloud(url, req.body['script'], {\n metadata: {\n url: remoteURL\n },\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) { }\n });\n\n res.json({\n jobId: jobId\n });\n});\n\napp.get('/cloud/:jobId', function(req, res) {\n var job = phantomQueue.getJobInfo(req.params.jobId);\n\n if (job && job.job) {\n var metadata = job.job.metadata ? job.job.metadata : new Object();\n res.json({\n status: job.status,\n metadata: metadata\n })\n } else {\n res.send(404);\n }\n});\n\napp.delete('/cloud/:jobId', function(req, res) {\n phantomQueue.kill(req.params.jobId);\n res.send(202);\n});\n\napp.get('/queues', function(req, res) {\n res.json({\n phantomjs: phantomQueue.getInfo(),\n exec: execQueue.getInfo(),\n convert: convertQueue.getInfo()\n });\n});\n\napp.listen(PhantomJSServer.port, \"localhost\");","doNotSerialize":["$$targetURL"],"doNotCopyProperties":["$$targetURL"],"_rootNode":{"__isSmartRef__":true,"id":3489},"Pane1Selection":{"__isSmartRef__":true,"id":3527},"pane1Selection":{"__isSmartRef__":true,"id":3527},"Pane2Selection":null,"pane2Selection":null,"Pane3Selection":null,"pane3Selection":null,"Pane4Selection":null,"pane4Selection":null,"Pane4Content":["-----"],"Pane3Content":["-----"],"Pane2Content":[{"__isSmartRef__":true,"id":3833},{"__isSmartRef__":true,"id":3835}],"Pane1Content":[{"__isSmartRef__":true,"id":3486},{"__isSmartRef__":true,"id":3740},{"__isSmartRef__":true,"id":3741},{"__isSmartRef__":true,"id":3742},{"__isSmartRef__":true,"id":3743},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3745},{"__isSmartRef__":true,"id":3746},{"__isSmartRef__":true,"id":3747},{"__isSmartRef__":true,"id":3748},{"__isSmartRef__":true,"id":3749},{"__isSmartRef__":true,"id":3750},{"__isSmartRef__":true,"id":3751},{"__isSmartRef__":true,"id":3752},{"__isSmartRef__":true,"id":3753},{"__isSmartRef__":true,"id":3754},{"__isSmartRef__":true,"id":3755},{"__isSmartRef__":true,"id":3756},{"__isSmartRef__":true,"id":3757},{"__isSmartRef__":true,"id":3758},{"__isSmartRef__":true,"id":3759},{"__isSmartRef__":true,"id":3760},{"__isSmartRef__":true,"id":3761},{"__isSmartRef__":true,"id":3762},{"__isSmartRef__":true,"id":3763},{"__isSmartRef__":true,"id":3764},{"__isSmartRef__":true,"id":3765},{"__isSmartRef__":true,"id":3766},{"__isSmartRef__":true,"id":3767},{"__isSmartRef__":true,"id":3768},{"__isSmartRef__":true,"id":3769},{"__isSmartRef__":true,"id":3770},{"__isSmartRef__":true,"id":3771},{"__isSmartRef__":true,"id":3772},{"__isSmartRef__":true,"id":3773},{"__isSmartRef__":true,"id":3774},{"__isSmartRef__":true,"id":3775},{"__isSmartRef__":true,"id":3776},{"__isSmartRef__":true,"id":3777},{"__isSmartRef__":true,"id":3778},{"__isSmartRef__":true,"id":3779},{"__isSmartRef__":true,"id":3780},{"__isSmartRef__":true,"id":3781},{"__isSmartRef__":true,"id":3782},{"__isSmartRef__":true,"id":3783},{"__isSmartRef__":true,"id":3784},{"__isSmartRef__":true,"id":3785},{"__isSmartRef__":true,"id":3786},{"__isSmartRef__":true,"id":3787},{"__isSmartRef__":true,"id":3788},{"__isSmartRef__":true,"id":3789},{"__isSmartRef__":true,"id":3790},{"__isSmartRef__":true,"id":3791}],"view":{"__isSmartRef__":true,"id":3204},"Pane1Menu":[["Add to world requirements"],["remove"],["reparse"],["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"Pane2Menu":[["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"Pane3Menu":[["-------"],["open in text editor"],["show versions"],["diff versions"],["get module part"]],"currentModuleName":"server/nodejs/PhantomJSServer.js","_statusMorph":{"__isSmartRef__":true,"id":3963},"__LivelyClassName__":"lively.ide.SystemBrowser","__SourceModuleName__":"Global.lively.ide.SystemCodeBrowser"},"3222":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3223},"__LivelyClassName__":"lively.ide.AddNewFileCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3223":{"submorphs":[{"__isSmartRef__":true,"id":3224}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3235},"derivationIds":[null],"id":"44DDD93B-2A87-4776-8C92-F8624605A988","renderContextTable":{"__isSmartRef__":true,"id":3249},"eventHandler":{"__isSmartRef__":true,"id":3250},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3251},"priorExtent":{"__isSmartRef__":true,"id":3252},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3253},"label":{"__isSmartRef__":true,"id":3224},"command":{"__isSmartRef__":true,"id":3222},"attributeConnections":[{"__isSmartRef__":true,"id":3262},{"__isSmartRef__":true,"id":3263}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3265},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3224":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3225},"derivationIds":[null],"id":"AD6910DA-E40F-428D-AB86-BDDA50EB84C8","renderContextTable":{"__isSmartRef__":true,"id":3230},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3231}],"eventHandler":{"__isSmartRef__":true,"id":3233},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3223},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3234},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3225":{"_Position":{"__isSmartRef__":true,"id":3226},"renderContextTable":{"__isSmartRef__":true,"id":3227},"_Extent":{"__isSmartRef__":true,"id":3228},"_Padding":{"__isSmartRef__":true,"id":3229},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3226":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3227":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3228":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3229":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3230":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3231":{"style":{"__isSmartRef__":true,"id":3232},"chunkOwner":{"__isSmartRef__":true,"id":3224},"storedString":"Add module","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3232":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3233":{"morph":{"__isSmartRef__":true,"id":3224},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3234":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3235":{"_Position":{"__isSmartRef__":true,"id":3236},"renderContextTable":{"__isSmartRef__":true,"id":3237},"_Extent":{"__isSmartRef__":true,"id":3234},"_Padding":{"__isSmartRef__":true,"id":3238},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3236":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3237":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3238":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3239":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3240":{"stops":[{"__isSmartRef__":true,"id":3241},{"__isSmartRef__":true,"id":3243},{"__isSmartRef__":true,"id":3245},{"__isSmartRef__":true,"id":3247}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3241":{"offset":0,"color":{"__isSmartRef__":true,"id":3242}},"3242":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3243":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3244}},"3244":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3245":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3246}},"3246":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3247":{"offset":1,"color":{"__isSmartRef__":true,"id":3248}},"3248":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3249":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3250":{"morph":{"__isSmartRef__":true,"id":3223},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3251":{"x":0,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3252":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3253":{"stops":[{"__isSmartRef__":true,"id":3254},{"__isSmartRef__":true,"id":3256},{"__isSmartRef__":true,"id":3258},{"__isSmartRef__":true,"id":3260}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3254":{"offset":0,"color":{"__isSmartRef__":true,"id":3255}},"3255":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3256":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3257}},"3257":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3258":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3259}},"3259":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3260":{"offset":1,"color":{"__isSmartRef__":true,"id":3261}},"3261":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3262":{"sourceObj":{"__isSmartRef__":true,"id":3223},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3222},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3263":{"sourceObj":{"__isSmartRef__":true,"id":3223},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3223},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3264},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3264":{"source":{"__isSmartRef__":true,"id":3223},"target":{"__isSmartRef__":true,"id":3223}},"3265":{"scaleVertical":true,"scaleHorizontal":true},"3266":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3267},"__LivelyClassName__":"lively.ide.AllModulesLoadCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3267":{"submorphs":[{"__isSmartRef__":true,"id":3268}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3279},"derivationIds":[null],"id":"06CC35F6-ED04-49D5-B2D2-866EEC86B67A","renderContextTable":{"__isSmartRef__":true,"id":3283},"eventHandler":{"__isSmartRef__":true,"id":3284},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3285},"priorExtent":{"__isSmartRef__":true,"id":3286},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3287},"label":{"__isSmartRef__":true,"id":3268},"command":{"__isSmartRef__":true,"id":3266},"attributeConnections":[{"__isSmartRef__":true,"id":3296},{"__isSmartRef__":true,"id":3297}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3299},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3268":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3269},"derivationIds":[null],"id":"CA25BBA8-16CF-4FAB-BB84-EA8A12F2547E","renderContextTable":{"__isSmartRef__":true,"id":3274},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3275}],"eventHandler":{"__isSmartRef__":true,"id":3277},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3267},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3278},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3269":{"_Position":{"__isSmartRef__":true,"id":3270},"renderContextTable":{"__isSmartRef__":true,"id":3271},"_Extent":{"__isSmartRef__":true,"id":3272},"_Padding":{"__isSmartRef__":true,"id":3273},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3270":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3271":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3272":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3273":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3274":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3275":{"style":{"__isSmartRef__":true,"id":3276},"chunkOwner":{"__isSmartRef__":true,"id":3268},"storedString":"Load all","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3276":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3277":{"morph":{"__isSmartRef__":true,"id":3268},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3278":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3279":{"_Position":{"__isSmartRef__":true,"id":3280},"renderContextTable":{"__isSmartRef__":true,"id":3281},"_Extent":{"__isSmartRef__":true,"id":3278},"_Padding":{"__isSmartRef__":true,"id":3282},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3280":{"x":0,"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"},"3282":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__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"},"3284":{"morph":{"__isSmartRef__":true,"id":3267},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3285":{"x":117.14285714285714,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3286":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3287":{"stops":[{"__isSmartRef__":true,"id":3288},{"__isSmartRef__":true,"id":3290},{"__isSmartRef__":true,"id":3292},{"__isSmartRef__":true,"id":3294}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3288":{"offset":0,"color":{"__isSmartRef__":true,"id":3289}},"3289":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3290":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3291}},"3291":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3292":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3293}},"3293":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3294":{"offset":1,"color":{"__isSmartRef__":true,"id":3295}},"3295":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3296":{"sourceObj":{"__isSmartRef__":true,"id":3267},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3266},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3297":{"sourceObj":{"__isSmartRef__":true,"id":3267},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3267},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3298},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3298":{"source":{"__isSmartRef__":true,"id":3267},"target":{"__isSmartRef__":true,"id":3267}},"3299":{"scaleVertical":true,"scaleHorizontal":true},"3300":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3301},"__LivelyClassName__":"lively.ide.ShowLineNumbersCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3301":{"submorphs":[{"__isSmartRef__":true,"id":3302}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3313},"derivationIds":[null],"id":"CCFA9ABB-4ABF-4743-87BC-3F3209D2A879","renderContextTable":{"__isSmartRef__":true,"id":3317},"eventHandler":{"__isSmartRef__":true,"id":3318},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3319},"priorExtent":{"__isSmartRef__":true,"id":3320},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3321},"label":{"__isSmartRef__":true,"id":3302},"command":{"__isSmartRef__":true,"id":3300},"attributeConnections":[{"__isSmartRef__":true,"id":3330},{"__isSmartRef__":true,"id":3331}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3333},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3302":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3303},"derivationIds":[null],"id":"2A0F1AF8-AA15-4BC8-BD38-980332A2E0B3","renderContextTable":{"__isSmartRef__":true,"id":3308},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3309}],"eventHandler":{"__isSmartRef__":true,"id":3311},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3301},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3312},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3303":{"_Position":{"__isSmartRef__":true,"id":3304},"renderContextTable":{"__isSmartRef__":true,"id":3305},"_Extent":{"__isSmartRef__":true,"id":3306},"_Padding":{"__isSmartRef__":true,"id":3307},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3304":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3305":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3306":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3307":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3308":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3309":{"style":{"__isSmartRef__":true,"id":3310},"chunkOwner":{"__isSmartRef__":true,"id":3302},"storedString":"LineNo","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3310":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3311":{"morph":{"__isSmartRef__":true,"id":3302},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3312":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3313":{"_Position":{"__isSmartRef__":true,"id":3314},"renderContextTable":{"__isSmartRef__":true,"id":3315},"_Extent":{"__isSmartRef__":true,"id":3312},"_Padding":{"__isSmartRef__":true,"id":3316},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3314":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3315":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3316":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3318":{"morph":{"__isSmartRef__":true,"id":3301},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3319":{"x":234.28571428571428,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3320":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3321":{"stops":[{"__isSmartRef__":true,"id":3322},{"__isSmartRef__":true,"id":3324},{"__isSmartRef__":true,"id":3326},{"__isSmartRef__":true,"id":3328}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3322":{"offset":0,"color":{"__isSmartRef__":true,"id":3323}},"3323":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3324":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3325}},"3325":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3326":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3327}},"3327":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3328":{"offset":1,"color":{"__isSmartRef__":true,"id":3329}},"3329":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3330":{"sourceObj":{"__isSmartRef__":true,"id":3301},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3300},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3331":{"sourceObj":{"__isSmartRef__":true,"id":3301},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3301},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3332},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3332":{"source":{"__isSmartRef__":true,"id":3301},"target":{"__isSmartRef__":true,"id":3301}},"3333":{"scaleVertical":true,"scaleHorizontal":true},"3334":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.ide.ParserDebugCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3335":{"submorphs":[{"__isSmartRef__":true,"id":3336}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3347},"derivationIds":[null],"id":"CB4CC137-0568-4113-BE98-92D3CE9CF6B1","renderContextTable":{"__isSmartRef__":true,"id":3351},"eventHandler":{"__isSmartRef__":true,"id":3352},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3353},"priorExtent":{"__isSmartRef__":true,"id":3354},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3355},"label":{"__isSmartRef__":true,"id":3336},"command":{"__isSmartRef__":true,"id":3334},"attributeConnections":[{"__isSmartRef__":true,"id":3364},{"__isSmartRef__":true,"id":3365}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3367},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3336":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3337},"derivationIds":[null],"id":"F98F402F-C0AE-4732-B57C-25C456E16B20","renderContextTable":{"__isSmartRef__":true,"id":3342},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3343}],"eventHandler":{"__isSmartRef__":true,"id":3345},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3335},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3346},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3337":{"_Position":{"__isSmartRef__":true,"id":3338},"renderContextTable":{"__isSmartRef__":true,"id":3339},"_Extent":{"__isSmartRef__":true,"id":3340},"_Padding":{"__isSmartRef__":true,"id":3341},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3338":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3339":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3340":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3341":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3342":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3343":{"style":{"__isSmartRef__":true,"id":3344},"chunkOwner":{"__isSmartRef__":true,"id":3336},"storedString":"Dbg errors is off","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3344":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3345":{"morph":{"__isSmartRef__":true,"id":3336},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3346":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3347":{"_Position":{"__isSmartRef__":true,"id":3348},"renderContextTable":{"__isSmartRef__":true,"id":3349},"_Extent":{"__isSmartRef__":true,"id":3346},"_Padding":{"__isSmartRef__":true,"id":3350},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3348":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3349":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3350":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3351":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3352":{"morph":{"__isSmartRef__":true,"id":3335},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3353":{"x":351.42857142857144,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3354":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3355":{"stops":[{"__isSmartRef__":true,"id":3356},{"__isSmartRef__":true,"id":3358},{"__isSmartRef__":true,"id":3360},{"__isSmartRef__":true,"id":3362}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3356":{"offset":0,"color":{"__isSmartRef__":true,"id":3357}},"3357":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3358":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3359}},"3359":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3360":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3361}},"3361":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3362":{"offset":1,"color":{"__isSmartRef__":true,"id":3363}},"3363":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3364":{"sourceObj":{"__isSmartRef__":true,"id":3335},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3334},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3365":{"sourceObj":{"__isSmartRef__":true,"id":3335},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3335},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3366},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3366":{"source":{"__isSmartRef__":true,"id":3335},"target":{"__isSmartRef__":true,"id":3335}},"3367":{"scaleVertical":true,"scaleHorizontal":true},"3368":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3369},"__LivelyClassName__":"lively.ide.EvaluateCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3369":{"submorphs":[{"__isSmartRef__":true,"id":3370}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3381},"derivationIds":[null],"id":"4E8BC542-67A1-45E2-B3CB-A02B393EF53C","renderContextTable":{"__isSmartRef__":true,"id":3385},"eventHandler":{"__isSmartRef__":true,"id":3386},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3387},"priorExtent":{"__isSmartRef__":true,"id":3388},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3389},"label":{"__isSmartRef__":true,"id":3370},"command":{"__isSmartRef__":true,"id":3368},"attributeConnections":[{"__isSmartRef__":true,"id":3398},{"__isSmartRef__":true,"id":3399}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3401},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3370":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3371},"derivationIds":[null],"id":"DB23853A-584E-4DCE-9753-8F1FC37303A6","renderContextTable":{"__isSmartRef__":true,"id":3376},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3377}],"eventHandler":{"__isSmartRef__":true,"id":3379},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3369},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3380},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3371":{"_Position":{"__isSmartRef__":true,"id":3372},"renderContextTable":{"__isSmartRef__":true,"id":3373},"_Extent":{"__isSmartRef__":true,"id":3374},"_Padding":{"__isSmartRef__":true,"id":3375},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3372":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3373":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3374":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3375":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3376":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3377":{"style":{"__isSmartRef__":true,"id":3378},"chunkOwner":{"__isSmartRef__":true,"id":3370},"storedString":"Eval on","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3378":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3379":{"morph":{"__isSmartRef__":true,"id":3370},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3380":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3381":{"_Position":{"__isSmartRef__":true,"id":3382},"renderContextTable":{"__isSmartRef__":true,"id":3383},"_Extent":{"__isSmartRef__":true,"id":3380},"_Padding":{"__isSmartRef__":true,"id":3384},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3382":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3383":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3384":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3385":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3386":{"morph":{"__isSmartRef__":true,"id":3369},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3387":{"x":468.57142857142856,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3388":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3389":{"stops":[{"__isSmartRef__":true,"id":3390},{"__isSmartRef__":true,"id":3392},{"__isSmartRef__":true,"id":3394},{"__isSmartRef__":true,"id":3396}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3390":{"offset":0,"color":{"__isSmartRef__":true,"id":3391}},"3391":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3392":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3393}},"3393":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3394":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3395}},"3395":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3396":{"offset":1,"color":{"__isSmartRef__":true,"id":3397}},"3397":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3398":{"sourceObj":{"__isSmartRef__":true,"id":3369},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3368},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3399":{"sourceObj":{"__isSmartRef__":true,"id":3369},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3369},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3400},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3400":{"source":{"__isSmartRef__":true,"id":3369},"target":{"__isSmartRef__":true,"id":3369}},"3401":{"scaleVertical":true,"scaleHorizontal":true},"3402":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3403},"__LivelyClassName__":"lively.ide.SortCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3403":{"submorphs":[{"__isSmartRef__":true,"id":3404}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3415},"derivationIds":[null],"id":"9E95F381-65DA-4476-8EED-5C414B23D65D","renderContextTable":{"__isSmartRef__":true,"id":3419},"eventHandler":{"__isSmartRef__":true,"id":3420},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3421},"priorExtent":{"__isSmartRef__":true,"id":3422},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3423},"label":{"__isSmartRef__":true,"id":3404},"command":{"__isSmartRef__":true,"id":3402},"attributeConnections":[{"__isSmartRef__":true,"id":3432},{"__isSmartRef__":true,"id":3433}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3435},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3404":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3405},"derivationIds":[null],"id":"51ADB013-CDA3-48FB-9076-EA656BE3F529","renderContextTable":{"__isSmartRef__":true,"id":3410},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3411}],"eventHandler":{"__isSmartRef__":true,"id":3413},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3403},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3414},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3405":{"_Position":{"__isSmartRef__":true,"id":3406},"renderContextTable":{"__isSmartRef__":true,"id":3407},"_Extent":{"__isSmartRef__":true,"id":3408},"_Padding":{"__isSmartRef__":true,"id":3409},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3406":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3407":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3408":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3409":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3410":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3411":{"style":{"__isSmartRef__":true,"id":3412},"chunkOwner":{"__isSmartRef__":true,"id":3404},"storedString":"Sort","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3412":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3413":{"morph":{"__isSmartRef__":true,"id":3404},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3414":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3415":{"_Position":{"__isSmartRef__":true,"id":3416},"renderContextTable":{"__isSmartRef__":true,"id":3417},"_Extent":{"__isSmartRef__":true,"id":3414},"_Padding":{"__isSmartRef__":true,"id":3418},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3416":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3417":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3418":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3419":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3420":{"morph":{"__isSmartRef__":true,"id":3403},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3421":{"x":585.7142857142857,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3422":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3423":{"stops":[{"__isSmartRef__":true,"id":3424},{"__isSmartRef__":true,"id":3426},{"__isSmartRef__":true,"id":3428},{"__isSmartRef__":true,"id":3430}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3424":{"offset":0,"color":{"__isSmartRef__":true,"id":3425}},"3425":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3426":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3427}},"3427":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3428":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3429}},"3429":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3430":{"offset":1,"color":{"__isSmartRef__":true,"id":3431}},"3431":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3432":{"sourceObj":{"__isSmartRef__":true,"id":3403},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3402},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3433":{"sourceObj":{"__isSmartRef__":true,"id":3403},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3403},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3434},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3434":{"source":{"__isSmartRef__":true,"id":3403},"target":{"__isSmartRef__":true,"id":3403}},"3435":{"scaleVertical":true,"scaleHorizontal":true},"3436":{"browser":{"__isSmartRef__":true,"id":3221},"button":{"__isSmartRef__":true,"id":3437},"__LivelyClassName__":"lively.ide.ViewSourceCommand","__SourceModuleName__":"Global.lively.ide.BrowserCommands"},"3437":{"submorphs":[{"__isSmartRef__":true,"id":3438}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3449},"derivationIds":[null],"id":"CCF727DD-9D89-4B2B-8D0A-E764C5A0DD18","renderContextTable":{"__isSmartRef__":true,"id":3453},"eventHandler":{"__isSmartRef__":true,"id":3454},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3455},"priorExtent":{"__isSmartRef__":true,"id":3456},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3457},"label":{"__isSmartRef__":true,"id":3438},"command":{"__isSmartRef__":true,"id":3436},"attributeConnections":[{"__isSmartRef__":true,"id":3466},{"__isSmartRef__":true,"id":3467}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3469},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3438":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3439},"derivationIds":[null],"id":"F54B3D57-BBFB-4338-9149-B7AF1CD1407F","renderContextTable":{"__isSmartRef__":true,"id":3444},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3445}],"eventHandler":{"__isSmartRef__":true,"id":3447},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":9,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3437},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3448},"_MaxTextWidth":117.14285714285714,"_MinTextWidth":117.14285714285714,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3439":{"_Position":{"__isSmartRef__":true,"id":3440},"renderContextTable":{"__isSmartRef__":true,"id":3441},"_Extent":{"__isSmartRef__":true,"id":3442},"_Padding":{"__isSmartRef__":true,"id":3443},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3440":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3441":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3442":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3443":{"x":0,"y":4,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3444":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3445":{"style":{"__isSmartRef__":true,"id":3446},"chunkOwner":{"__isSmartRef__":true,"id":3438},"storedString":"View as...","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3446":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3447":{"morph":{"__isSmartRef__":true,"id":3438},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3448":{"x":117.14285714285714,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3449":{"_Position":{"__isSmartRef__":true,"id":3450},"renderContextTable":{"__isSmartRef__":true,"id":3451},"_Extent":{"__isSmartRef__":true,"id":3448},"_Padding":{"__isSmartRef__":true,"id":3452},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3450":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3451":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3452":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3453":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3454":{"morph":{"__isSmartRef__":true,"id":3437},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3455":{"x":702.8571428571429,"y":220,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3456":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3457":{"stops":[{"__isSmartRef__":true,"id":3458},{"__isSmartRef__":true,"id":3460},{"__isSmartRef__":true,"id":3462},{"__isSmartRef__":true,"id":3464}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3458":{"offset":0,"color":{"__isSmartRef__":true,"id":3459}},"3459":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3460":{"offset":0.4,"color":{"__isSmartRef__":true,"id":3461}},"3461":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3462":{"offset":0.6,"color":{"__isSmartRef__":true,"id":3463}},"3463":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3464":{"offset":1,"color":{"__isSmartRef__":true,"id":3465}},"3465":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3466":{"sourceObj":{"__isSmartRef__":true,"id":3437},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3436},"targetMethodName":"trigger","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3467":{"sourceObj":{"__isSmartRef__":true,"id":3437},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3437},"targetMethodName":"setLabel","converter":null,"converterString":"function () { return this.getSourceObj().command.asString() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3468},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3468":{"source":{"__isSmartRef__":true,"id":3437},"target":{"__isSmartRef__":true,"id":3437}},"3469":{"scaleVertical":true,"scaleHorizontal":true},"3470":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3471":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3472":{"attributes":["isClassNode","isGrammarNode","isChangeNode","isFunctionNode","isObjectNode"],"__LivelyClassName__":"lively.ide.NodeTypeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3473":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3474":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3475":{"__LivelyClassName__":"lively.ide.NodeFilter","__SourceModuleName__":"Global.lively.ide.BrowserFramework"},"3476":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/server/nodejs/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3477":{"sourceObj":{"__isSmartRef__":true,"id":3221},"sourceAttrName":"setPane1Content","targetObj":{"__isSmartRef__":true,"id":3478},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3823},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3478":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3479},"derivationIds":[null],"id":"B9F49963-03AB-4575-99D1-4B8AD1053ABB","renderContextTable":{"__isSmartRef__":true,"id":3485},"itemList":[{"__isSmartRef__":true,"id":3486},{"__isSmartRef__":true,"id":3740},{"__isSmartRef__":true,"id":3741},{"__isSmartRef__":true,"id":3742},{"__isSmartRef__":true,"id":3743},{"__isSmartRef__":true,"id":3744},{"__isSmartRef__":true,"id":3745},{"__isSmartRef__":true,"id":3746},{"__isSmartRef__":true,"id":3747},{"__isSmartRef__":true,"id":3748},{"__isSmartRef__":true,"id":3749},{"__isSmartRef__":true,"id":3750},{"__isSmartRef__":true,"id":3751},{"__isSmartRef__":true,"id":3752},{"__isSmartRef__":true,"id":3753},{"__isSmartRef__":true,"id":3754},{"__isSmartRef__":true,"id":3755},{"__isSmartRef__":true,"id":3756},{"__isSmartRef__":true,"id":3757},{"__isSmartRef__":true,"id":3758},{"__isSmartRef__":true,"id":3759},{"__isSmartRef__":true,"id":3760},{"__isSmartRef__":true,"id":3761},{"__isSmartRef__":true,"id":3762},{"__isSmartRef__":true,"id":3763},{"__isSmartRef__":true,"id":3764},{"__isSmartRef__":true,"id":3765},{"__isSmartRef__":true,"id":3766},{"__isSmartRef__":true,"id":3767},{"__isSmartRef__":true,"id":3768},{"__isSmartRef__":true,"id":3769},{"__isSmartRef__":true,"id":3770},{"__isSmartRef__":true,"id":3771},{"__isSmartRef__":true,"id":3772},{"__isSmartRef__":true,"id":3773},{"__isSmartRef__":true,"id":3774},{"__isSmartRef__":true,"id":3775},{"__isSmartRef__":true,"id":3776},{"__isSmartRef__":true,"id":3777},{"__isSmartRef__":true,"id":3778},{"__isSmartRef__":true,"id":3779},{"__isSmartRef__":true,"id":3780},{"__isSmartRef__":true,"id":3781},{"__isSmartRef__":true,"id":3782},{"__isSmartRef__":true,"id":3783},{"__isSmartRef__":true,"id":3784},{"__isSmartRef__":true,"id":3785},{"__isSmartRef__":true,"id":3786},{"__isSmartRef__":true,"id":3787},{"__isSmartRef__":true,"id":3788},{"__isSmartRef__":true,"id":3789},{"__isSmartRef__":true,"id":3790},{"__isSmartRef__":true,"id":3791}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3792},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3793},"selection":{"__isSmartRef__":true,"id":3794},"selectedLineNo":36,"priorExtent":{"__isSmartRef__":true,"id":3795},"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3796},"attributeConnections":[{"__isSmartRef__":true,"id":3797},{"__isSmartRef__":true,"id":3802},{"__isSmartRef__":true,"id":3804},{"__isSmartRef__":true,"id":3806}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"prevScroll":[0,640],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3808},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3479":{"_Position":{"__isSmartRef__":true,"id":3480},"renderContextTable":{"__isSmartRef__":true,"id":3481},"_Extent":{"__isSmartRef__":true,"id":3482},"_Padding":{"__isSmartRef__":true,"id":3483},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":{"__isSmartRef__":true,"id":3484},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3480":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3481":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3482":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3483":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3484":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3485":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3486":{"isListItem":true,"string":"tests/","value":{"__isSmartRef__":true,"id":3487}},"3487":{"target":{"__isSmartRef__":true,"id":3488},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"localName":"tests/","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3488":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/server/nodejs/tests/","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3489":{"target":{"__isSmartRef__":true,"id":3490},"browser":{"__isSmartRef__":true,"id":3221},"parent":null,"allFiles":["../server/nodejs/EduChatServer.js","../server/nodejs/MasterServerStartup.js","../server/nodejs/GitDAVServer.js","../server/nodejs/OAuthServer.js","../server/nodejs/Base.js","../server/nodejs/SqueakEVServer.js","../server/nodejs/CommandLineServer.js","../server/nodejs/SocketChatServer.js","../server/nodejs/WhiteboardServer.js","../server/nodejs/StreamingTestServer.js","../server/nodejs/DatabaseQueryServer.js","../server/nodejs/ExampleServer.js","../server/nodejs/miniprototype.js","../server/nodejs/SocketIOExampleServer.js","../server/nodejs/SandboxServer.js","../server/nodejs/MyNewServer.js","../server/nodejs/CodeSearchServer.js","../server/nodejs/InstallShServer.js","../server/nodejs/simpleChat.js","../server/nodejs/TutorialServer.js","../server/nodejs/livelyServer.js","../server/nodejs/OMetaServer.js","../server/nodejs/AileenTest.js","../server/nodejs/ReleaseMaker.js","../server/nodejs/NewServer3.js","../server/nodejs/LaTeXServer.js","../server/nodejs/TestServer.js","../server/nodejs/ChatServer.js","../server/nodejs/FabiansPlayground.js","../server/nodejs/NodeJSProcesses.js","../server/nodejs/RemoteJSInterface.js","../server/nodejs/DemoTestServer.js","../server/nodejs/SqliteQueryServer.js","../server/nodejs/nodejs.json","../server/nodejs/NewServer.js","../server/nodejs/BenchmarkServer.js","../server/nodejs/MasterServer.js","../server/nodejs/MartinsPlayground.js","../server/nodejs/EventTrackerServer.js","../server/nodejs/PingServer.js","../server/nodejs/PDFCreator.js","../server/nodejs/CoreDiffInterfaceServer.js","../server/nodejs/DistributedDoitServer.js","../server/nodejs/HelloServer.js","../server/nodejs/PhantomJSServer.js","../server/nodejs/PongServer.js","../server/nodejs/LKLoader.js","../server/nodejs/WebInterface.js","../server/nodejs/AJMNodeJSServer.js","../server/nodejs/GridComputingServer.js","../server/nodejs/CopenhagenDemoServer.js"],"subNamespacePaths":[{"__isSmartRef__":true,"id":3488}],"parentNamespacePath":{"__isSmartRef__":true,"id":3491},"_childNodes":[{"__isSmartRef__":true,"id":3487},{"__isSmartRef__":true,"id":3492},{"__isSmartRef__":true,"id":3493},{"__isSmartRef__":true,"id":3494},{"__isSmartRef__":true,"id":3495},{"__isSmartRef__":true,"id":3496},{"__isSmartRef__":true,"id":3497},{"__isSmartRef__":true,"id":3498},{"__isSmartRef__":true,"id":3499},{"__isSmartRef__":true,"id":3500},{"__isSmartRef__":true,"id":3501},{"__isSmartRef__":true,"id":3502},{"__isSmartRef__":true,"id":3503},{"__isSmartRef__":true,"id":3504},{"__isSmartRef__":true,"id":3505},{"__isSmartRef__":true,"id":3506},{"__isSmartRef__":true,"id":3507},{"__isSmartRef__":true,"id":3508},{"__isSmartRef__":true,"id":3509},{"__isSmartRef__":true,"id":3510},{"__isSmartRef__":true,"id":3511},{"__isSmartRef__":true,"id":3512},{"__isSmartRef__":true,"id":3513},{"__isSmartRef__":true,"id":3514},{"__isSmartRef__":true,"id":3515},{"__isSmartRef__":true,"id":3516},{"__isSmartRef__":true,"id":3517},{"__isSmartRef__":true,"id":3518},{"__isSmartRef__":true,"id":3519},{"__isSmartRef__":true,"id":3520},{"__isSmartRef__":true,"id":3521},{"__isSmartRef__":true,"id":3522},{"__isSmartRef__":true,"id":3523},{"__isSmartRef__":true,"id":3524},{"__isSmartRef__":true,"id":3525},{"__isSmartRef__":true,"id":3526},{"__isSmartRef__":true,"id":3527},{"__isSmartRef__":true,"id":3539},{"__isSmartRef__":true,"id":3554},{"__isSmartRef__":true,"id":3602},{"__isSmartRef__":true,"id":3616},{"__isSmartRef__":true,"id":3652},{"__isSmartRef__":true,"id":3697},{"__isSmartRef__":true,"id":3709},{"__isSmartRef__":true,"id":3720},{"__isSmartRef__":true,"id":3731},{"__isSmartRef__":true,"id":3732},{"__isSmartRef__":true,"id":3733},{"__isSmartRef__":true,"id":3734},{"__isSmartRef__":true,"id":3735},{"__isSmartRef__":true,"id":3736},{"__isSmartRef__":true,"id":3737},{"__isSmartRef__":true,"id":3738}],"__LivelyClassName__":"lively.ide.SourceControlNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3490":{"__LivelyClassName__":"AnotherSourceDatabase","__SourceModuleName__":"Global.lively.ide.SourceDatabase"},"3491":{"protocol":"http:","hostname":"lively-kernel.org","pathname":"/repository/webwerkstatt/server/nodejs/../","__LivelyClassName__":"URL","__SourceModuleName__":"Global.lively.Network"},"3492":{"target":{"__isSmartRef__":true,"id":3491},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"localName":"../","__LivelyClassName__":"lively.ide.NamespaceNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3493":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/AileenTest.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3494":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/AJMNodeJSServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3495":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/Base.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3496":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/BenchmarkServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3497":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/ChatServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3498":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/CodeSearchServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3499":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/CommandLineServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3500":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/CopenhagenDemoServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3501":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/CoreDiffInterfaceServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3502":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/DatabaseQueryServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3503":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/DemoTestServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3504":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/DistributedDoitServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3505":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/EduChatServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3506":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/EventTrackerServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3507":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/ExampleServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3508":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/FabiansPlayground.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3509":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/GitDAVServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3510":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/GridComputingServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3511":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/HelloServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3512":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/InstallShServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3513":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/LaTeXServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3514":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/livelyServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3515":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/LKLoader.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3516":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/MartinsPlayground.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3517":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/MasterServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3518":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/MasterServerStartup.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3519":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/miniprototype.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3520":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/MyNewServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3521":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/NewServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3522":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/NewServer3.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3523":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/NodeJSProcesses.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3524":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/OAuthServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3525":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/OMetaServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3526":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/PDFCreator.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3527":{"target":{"__isSmartRef__":true,"id":3528},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/PhantomJSServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3528":{"name":"server/nodejs/PhantomJSServer.js","type":"completeFileDef","startIndex":0,"stopIndex":10349,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[{"__isSmartRef__":true,"id":3529},{"__isSmartRef__":true,"id":3532},{"__isSmartRef__":true,"id":3533},{"__isSmartRef__":true,"id":3534},{"__isSmartRef__":true,"id":3535},{"__isSmartRef__":true,"id":3536},{"__isSmartRef__":true,"id":3537},{"__isSmartRef__":true,"id":3538}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3529":{"name":"PhantomJSServer","type":"objectDef","startIndex":0,"stopIndex":37,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[{"__isSmartRef__":true,"id":3530}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3530":{"name":"port","type":"propertyDef","startIndex":20,"stopIndex":34,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3531},"_owner":{"__isSmartRef__":true,"id":3529},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3531":{"name":"default category","type":"categoryDef","startIndex":18,"stopIndex":37,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3530}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3532":{"name":"JobQueue","type":"functionDef","startIndex":38,"stopIndex":2874,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3533":{"name":null,"type":"unknown","startIndex":2875,"stopIndex":2911,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3534":{"name":null,"type":"unknown","startIndex":2912,"stopIndex":2944,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3535":{"name":null,"type":"unknown","startIndex":2945,"stopIndex":2981,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3536":{"name":null,"type":"comment","startIndex":2982,"stopIndex":2982,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3537":{"name":null,"type":"unknown","startIndex":2983,"stopIndex":3012,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3538":{"name":null,"type":"errorDef","startIndex":3013,"stopIndex":10349,"fileName":"server/nodejs/PhantomJSServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"fileString":"PhantomJSServer = {\n port: 8105\n}\n\nfunction JobQueue(concurrency) {\n var queue = [];\n var jobs = {}\n\n var lastJobId = 0;\n\n this.nextJobId = function(){\n return ++lastJobId;\n }\n\n this.getInfo = function() {\n return {\n running: Object.keys(jobs),\n queued: queue.length,\n concurrency: concurrency\n };\n }\n\n this.getJobInfo = function(jobId) {\n return jobs[jobId] || __.find(queue, function(e) {\n return e.jobId == jobId;\n });\n }\n\n this.enqueue = function(job, callback) {\n var self = this;\n\n var jobId = this.nextJobId();\n jobObj = {\n 'job': job,\n 'jobId': jobId,\n 'status': \"queued\",\n 'callback': function(code) {\n self._finished(jobId);\n return callback(code);\n }\n }\n\n if (Object.keys(jobs).length < concurrency) {\n this._startJob(jobObj);\n } else {\n queue.push(jobObj);\n }\n\n return jobId;\n }\n\n this.kill = function(jobId) {\n var job = jobs[jobId];\n if (typeof(job) != \"undefined\") {\n job.process.kill();\n return;\n }\n\n // job is still queued, remove it from the queue\n var index = __.find(queue, function(e, index) {\n if (e.jobId == jobId) {\n queue.split(i, 1);\n return true;\n }\n });\n }\n\n this._finished = function(jobId) {\n delete jobs[jobId];\n\n // start the next job in the queue\n if (queue.length > 0) {\n this._startJob(queue.shift())\n }\n }\n\n this._startJob = function(jobObj) {\n var job = jobObj.job;\n var callback = jobObj.callback;\n\n var sanitize = function(string) {\n return \"'\" + string.replace(/['\\\\]/g, '') + \"'\";\n }\n\n command = sanitize(job.executable);\n\n var args = __.map(job.args, function(arg) {\n var clean = sanitize(arg);\n if (clean == \"JOBID\") {\n return jobObj.jobId;\n } else {\n return clean;\n }\n });\n command = command + \" \" + args.join(\" \");\n\n var child = exec(command, job.options, function(error) {\n callback(error);\n });\n\n jobs[jobObj.jobId] = jobObj\n jobObj.process = child;\n jobObj.status = \"running\";\n\n if (job.stdin) {\n child.stdin.write(job.stdin);\n child.stdin.end();\n }\n\n if (job.stdout) {\n child.stdout.addListener('data', function(data) {\n job.stdout(data);\n });\n }\n if (job.stderr) {\n child.stderr.addListener('data', function(data) {\n job.stderr(data);\n });\n }\n }\n}\nvar phantomQueue = new JobQueue(10);\nvar execQueue = new JobQueue(3);\nvar convertQueue = new JobQueue(10);\n\nvar __ = require('underscore'),\n fs = require('fs'),\n crypto = require('crypto'),\n url = require('url'),\n http = require('http'),\n\n exec = require('child_process').exec,\n spawn = require('child_process').spawn;\n\nvar express = require('express'),\n rewriter = require('express-rewrite');\nvar app = express.createServer();\napp.configure(function() {\n app.use(express.logger());\n app.use(rewriter);\n app.use(express.bodyParser());\n app.use(app.router);\n});\n\nfunction withScreenshot(url, filename, callback) {\n try {\n var stat = fs.lstatSync(filename);\n callback(url, filename);\n } catch(e) {\n var script = 'var filename = phantom.args[1];' +\n 'page.render(filename);';\n\n\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n filename\n ],\n stdin: script,\n options: {\n timeout: 30000\n },\n }\n execQueue.enqueue(job, function(error) {\n callback(url, filename);\n });\n }\n}\n\nfunction phantomExec(url, script, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n ],\n stdin: script,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {\n timeout: 60000\n },\n }\n return execQueue.enqueue(job, callbacks.finish);\n}\n\nfunction phantomCloud(url, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/cloud.js\",\n url,\n \"JOBID\"\n ],\n stdin: callbacks.stdin,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {}\n }\n return phantomQueue.enqueue(job, callbacks.finish);\n}\n\napp.get('/screenshot/full/*', function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n console.log(remoteURL);\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshot, function(remoteURL, screenshot) {\n res.sendfile(screenshot);\n });\n } else {\n res.send(404);\n }\n});\n\napp.get('/screenshot/part/', rewriter.rewrite('/screenshot/medium/viral/index.new.xhtml'));\n// app.get('/screenshot/part-:size', rewriter.rewrite('/screenshot/$1/viral/index.new.xhtml'));\n\napp.get(/^\\/screenshot\\/(medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var size = req.params[0];\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshotFull = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n\n switch(size) {\n case \"medium\":\n var convert = [\"-crop\", \"1024x768+0+0\", \"-background\", \"#ffffff\", screenshotFull, screenshot]\n break;\n case \"cropped\":\n var convert = [\"-trim\", screenshotFull, screenshot]\n break;\n case \"thumb\":\n var convert = [\"-trim\", \"-resize\", \"100x100\", screenshotFull, screenshot]\n break;\n }\n\n try {\n var stat = fs.lstatSync(screenshot);\n res.sendfile(screenshot);\n } catch(e) {\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshotFull, function(remoteURL, screenshotFull) {\n var job = {\n executable: \"/usr/bin/convert\",\n args: convert\n }\n convertQueue.enqueue(job, function(code) {\n res.sendfile(screenshot);\n });\n });\n } else {\n res.send(404);\n }\n }\n});\n\nfunction deleteFile(filePath) {\n fs.stat(filePath, function(err, stats) {\n if (!err) {\n if (stats.isFile()) {\n fs.unlink(filePath, function(err) {\n if (err) {\n console.log(JSON.stringify(err));\n } else {\n console.log(\"Removed \" + filePath);\n }\n });\n }\n } else {\n console.log(JSON.stringify(err));\n }\n });\n}\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n fs.readdir(cacheDir, function(err, files) {\n if (err) {\n res.finish(500);\n } else {\n __.each(files, function(file) {\n if (size == \"full\" || RegExp(\"_\" + size + \"\\.png$\").test(file)) {\n var filePath = cacheDir + \"/\" + file;\n deleteFile(filePath);\n }\n });\n }\n res.send(202);\n });\n});\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n deleteFile(screenshot);\n res.send(202);\n});\n\napp.post('/exec/*', function(req, res) {\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n\n phantomExec(remoteURL, req.body['script'], {\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) {\n res.end();\n }\n });\n});\n\napp.post('/cloud', function(req, res) {\n var remoteURL = req.body['url'];\n\n var jobId = phantomCloud(url, req.body['script'], {\n metadata: {\n url: remoteURL\n },\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) { }\n });\n\n res.json({\n jobId: jobId\n });\n});\n\napp.get('/cloud/:jobId', function(req, res) {\n var job = phantomQueue.getJobInfo(req.params.jobId);\n\n if (job && job.job) {\n var metadata = job.job.metadata ? job.job.metadata : new Object();\n res.json({\n status: job.status,\n metadata: metadata\n })\n } else {\n res.send(404);\n }\n});\n\napp.delete('/cloud/:jobId', function(req, res) {\n phantomQueue.kill(req.params.jobId);\n res.send(202);\n});\n\napp.get('/queues', function(req, res) {\n res.json({\n phantomjs: phantomQueue.getInfo(),\n exec: execQueue.getInfo(),\n convert: convertQueue.getInfo()\n });\n});\n\napp.listen(PhantomJSServer.port, \"localhost\");","__LivelyClassName__":"lively.ide.ParseErrorFileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3539":{"target":{"__isSmartRef__":true,"id":3540},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/PingServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3540":{"name":"server/nodejs/PingServer.js","type":"completeFileDef","startIndex":0,"stopIndex":1215,"fileName":"server/nodejs/PingServer.js","_subElements":[{"__isSmartRef__":true,"id":3541},{"__isSmartRef__":true,"id":3542},{"__isSmartRef__":true,"id":3543},{"__isSmartRef__":true,"id":3544},{"__isSmartRef__":true,"id":3545},{"__isSmartRef__":true,"id":3546},{"__isSmartRef__":true,"id":3552},{"__isSmartRef__":true,"id":3553}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3541":{"name":null,"type":"unknown","startIndex":0,"stopIndex":25,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3542":{"name":null,"type":"unknown","startIndex":26,"stopIndex":71,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3543":{"name":null,"type":"unknown","startIndex":72,"stopIndex":129,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3544":{"name":null,"type":"unknown","startIndex":130,"stopIndex":156,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3545":{"name":null,"type":"unknown","startIndex":157,"stopIndex":175,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3546":{"name":"PingServer","type":"klassDef","startIndex":176,"stopIndex":1188,"fileName":"server/nodejs/PingServer.js","_subElements":[{"__isSmartRef__":true,"id":3547},{"__isSmartRef__":true,"id":3549},{"__isSmartRef__":true,"id":3551}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"livelyServer.AbstractHandler","categories":[{"__isSmartRef__":true,"id":3548},{"__isSmartRef__":true,"id":3550}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3547":{"name":"port","type":"propertyDef","startIndex":246,"stopIndex":260,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3548},"className":"PingServer","_owner":{"__isSmartRef__":true,"id":3546},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3548":{"name":"initializing","type":"categoryDef","startIndex":228,"stopIndex":263,"fileName":"server/nodejs/PingServer.js","_subElements":[{"__isSmartRef__":true,"id":3547}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3549":{"name":"test","type":"propertyDef","startIndex":287,"stopIndex":823,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3550},"className":"PingServer","_owner":{"__isSmartRef__":true,"id":3546},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3550":{"name":"request handlers","type":"categoryDef","startIndex":265,"stopIndex":1185,"fileName":"server/nodejs/PingServer.js","_subElements":[{"__isSmartRef__":true,"id":3549},{"__isSmartRef__":true,"id":3551}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3551":{"name":"shortAnswer","type":"propertyDef","startIndex":825,"stopIndex":1182,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3550},"className":"PingServer","_owner":{"__isSmartRef__":true,"id":3546},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3552":{"name":null,"type":"comment","startIndex":1189,"stopIndex":1189,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3553":{"name":null,"type":"unknown","startIndex":1190,"stopIndex":1215,"fileName":"server/nodejs/PingServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3554":{"target":{"__isSmartRef__":true,"id":3555},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/PongServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3555":{"name":"server/nodejs/PongServer.js","type":"completeFileDef","startIndex":0,"stopIndex":7835,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3556},{"__isSmartRef__":true,"id":3557},{"__isSmartRef__":true,"id":3558},{"__isSmartRef__":true,"id":3572},{"__isSmartRef__":true,"id":3573},{"__isSmartRef__":true,"id":3574},{"__isSmartRef__":true,"id":3575},{"__isSmartRef__":true,"id":3600},{"__isSmartRef__":true,"id":3601}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3556":{"name":null,"type":"unknown","startIndex":0,"stopIndex":25,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3557":{"name":null,"type":"unknown","startIndex":26,"stopIndex":71,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3558":{"name":"gameState","type":"objectDef","startIndex":72,"stopIndex":455,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3559},{"__isSmartRef__":true,"id":3561},{"__isSmartRef__":true,"id":3562},{"__isSmartRef__":true,"id":3563},{"__isSmartRef__":true,"id":3564},{"__isSmartRef__":true,"id":3565},{"__isSmartRef__":true,"id":3566},{"__isSmartRef__":true,"id":3567},{"__isSmartRef__":true,"id":3568},{"__isSmartRef__":true,"id":3569},{"__isSmartRef__":true,"id":3570},{"__isSmartRef__":true,"id":3571}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3559":{"name":"clients","type":"propertyDef","startIndex":90,"stopIndex":114,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3560":{"name":"default category","type":"categoryDef","startIndex":16,"stopIndex":381,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3559},{"__isSmartRef__":true,"id":3561},{"__isSmartRef__":true,"id":3562},{"__isSmartRef__":true,"id":3563},{"__isSmartRef__":true,"id":3564},{"__isSmartRef__":true,"id":3565},{"__isSmartRef__":true,"id":3566},{"__isSmartRef__":true,"id":3567},{"__isSmartRef__":true,"id":3568},{"__isSmartRef__":true,"id":3569},{"__isSmartRef__":true,"id":3570},{"__isSmartRef__":true,"id":3571}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3561":{"name":"size","type":"propertyDef","startIndex":116,"stopIndex":145,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3562":{"name":"ballPosition","type":"propertyDef","startIndex":147,"stopIndex":184,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3563":{"name":"leftBarPosition","type":"propertyDef","startIndex":186,"stopIndex":225,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3564":{"name":"rightBarPosition","type":"propertyDef","startIndex":227,"stopIndex":268,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3565":{"name":"barExtent","type":"propertyDef","startIndex":270,"stopIndex":302,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3566":{"name":"ballExtent","type":"propertyDef","startIndex":304,"stopIndex":337,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3567":{"name":"leftPoints","type":"propertyDef","startIndex":339,"stopIndex":356,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3568":{"name":"rightPoints","type":"propertyDef","startIndex":358,"stopIndex":376,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3569":{"name":"speed","type":"propertyDef","startIndex":378,"stopIndex":390,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3570":{"name":"ballDirection","type":"propertyDef","startIndex":392,"stopIndex":425,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3571":{"name":"timeoutId","type":"propertyDef","startIndex":427,"stopIndex":451,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3560},"_owner":{"__isSmartRef__":true,"id":3558},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3572":{"name":null,"type":"comment","startIndex":456,"stopIndex":456,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3573":{"name":null,"type":"unknown","startIndex":457,"stopIndex":483,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3574":{"name":null,"type":"unknown","startIndex":484,"stopIndex":502,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3575":{"name":"PongServer","type":"klassDef","startIndex":503,"stopIndex":7807,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3576},{"__isSmartRef__":true,"id":3578},{"__isSmartRef__":true,"id":3580},{"__isSmartRef__":true,"id":3581},{"__isSmartRef__":true,"id":3582},{"__isSmartRef__":true,"id":3583},{"__isSmartRef__":true,"id":3584},{"__isSmartRef__":true,"id":3586},{"__isSmartRef__":true,"id":3587},{"__isSmartRef__":true,"id":3588},{"__isSmartRef__":true,"id":3589},{"__isSmartRef__":true,"id":3590},{"__isSmartRef__":true,"id":3591},{"__isSmartRef__":true,"id":3593},{"__isSmartRef__":true,"id":3594},{"__isSmartRef__":true,"id":3595},{"__isSmartRef__":true,"id":3596},{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3598},{"__isSmartRef__":true,"id":3599}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"livelyServer.AbstractHandler","categories":[{"__isSmartRef__":true,"id":3577},{"__isSmartRef__":true,"id":3579},{"__isSmartRef__":true,"id":3585},{"__isSmartRef__":true,"id":3592}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3576":{"name":"port","type":"propertyDef","startIndex":573,"stopIndex":587,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3577},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3577":{"name":"initializing","type":"categoryDef","startIndex":555,"stopIndex":589,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3576}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3578":{"name":"respondOK","type":"propertyDef","startIndex":604,"stopIndex":745,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3579},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3579":{"name":"helpers","type":"categoryDef","startIndex":591,"stopIndex":3715,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3578},{"__isSmartRef__":true,"id":3580},{"__isSmartRef__":true,"id":3581},{"__isSmartRef__":true,"id":3582},{"__isSmartRef__":true,"id":3583}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3580":{"name":"moveBall","type":"propertyDef","startIndex":747,"stopIndex":1859,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3579},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3581":{"name":"updateClients","type":"propertyDef","startIndex":1861,"stopIndex":1986,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3579},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3582":{"name":"handleBarCollisions","type":"propertyDef","startIndex":1989,"stopIndex":3360,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3579},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3583":{"name":"completeGameState","type":"propertyDef","startIndex":3362,"stopIndex":3712,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3579},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3584":{"name":"setBallPosition","type":"propertyDef","startIndex":3732,"stopIndex":3893,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3585},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3585":{"name":"accessing","type":"categoryDef","startIndex":3717,"stopIndex":4632,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3584},{"__isSmartRef__":true,"id":3586},{"__isSmartRef__":true,"id":3587},{"__isSmartRef__":true,"id":3588},{"__isSmartRef__":true,"id":3589},{"__isSmartRef__":true,"id":3590}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3586":{"name":"setLeftBarPosition","type":"propertyDef","startIndex":3895,"stopIndex":4066,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3585},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3587":{"name":"setRightBarPosition","type":"propertyDef","startIndex":4068,"stopIndex":4242,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3585},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3588":{"name":"setSpeed","type":"propertyDef","startIndex":4244,"stopIndex":4323,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3585},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3589":{"name":"setLeftPoints","type":"propertyDef","startIndex":4325,"stopIndex":4475,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3585},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3590":{"name":"setRightPoints","type":"propertyDef","startIndex":4477,"stopIndex":4630,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3585},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3591":{"name":"resetGame","type":"propertyDef","startIndex":4656,"stopIndex":5595,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3592":{"name":"request handlers","type":"categoryDef","startIndex":4634,"stopIndex":7804,"fileName":"server/nodejs/PongServer.js","_subElements":[{"__isSmartRef__":true,"id":3591},{"__isSmartRef__":true,"id":3593},{"__isSmartRef__":true,"id":3594},{"__isSmartRef__":true,"id":3595},{"__isSmartRef__":true,"id":3596},{"__isSmartRef__":true,"id":3597},{"__isSmartRef__":true,"id":3598},{"__isSmartRef__":true,"id":3599}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3593":{"name":"leftBarUp","type":"propertyDef","startIndex":5598,"stopIndex":5981,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3594":{"name":"leftBarDown","type":"propertyDef","startIndex":5983,"stopIndex":6399,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3595":{"name":"rightBarUp","type":"propertyDef","startIndex":6401,"stopIndex":6789,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3596":{"name":"rightBarDown","type":"propertyDef","startIndex":6791,"stopIndex":7212,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3597":{"name":"pauseOrResume","type":"propertyDef","startIndex":7214,"stopIndex":7325,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3598":{"name":"connect","type":"propertyDef","startIndex":7327,"stopIndex":7696,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3599":{"name":"action","type":"propertyDef","startIndex":7698,"stopIndex":7800,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3592},"className":"PongServer","_owner":{"__isSmartRef__":true,"id":3575},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3600":{"name":null,"type":"comment","startIndex":7808,"stopIndex":7809,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3601":{"name":null,"type":"unknown","startIndex":7810,"stopIndex":7835,"fileName":"server/nodejs/PongServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3602":{"target":{"__isSmartRef__":true,"id":3603},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/ReleaseMaker.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3603":{"name":"server/nodejs/ReleaseMaker.js","type":"completeFileDef","startIndex":0,"stopIndex":547,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[{"__isSmartRef__":true,"id":3604},{"__isSmartRef__":true,"id":3605},{"__isSmartRef__":true,"id":3606},{"__isSmartRef__":true,"id":3607},{"__isSmartRef__":true,"id":3608},{"__isSmartRef__":true,"id":3609},{"__isSmartRef__":true,"id":3614},{"__isSmartRef__":true,"id":3615}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3604":{"name":null,"type":"unknown","startIndex":0,"stopIndex":25,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3605":{"name":null,"type":"unknown","startIndex":26,"stopIndex":71,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3606":{"name":null,"type":"comment","startIndex":72,"stopIndex":72,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3607":{"name":null,"type":"unknown","startIndex":73,"stopIndex":99,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3608":{"name":null,"type":"unknown","startIndex":100,"stopIndex":118,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3609":{"name":"ReleaseMaker","type":"klassDef","startIndex":119,"stopIndex":518,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[{"__isSmartRef__":true,"id":3610},{"__isSmartRef__":true,"id":3612}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"livelyServer.AbstractHandler","categories":[{"__isSmartRef__":true,"id":3611},{"__isSmartRef__":true,"id":3613}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3610":{"name":"port","type":"propertyDef","startIndex":191,"stopIndex":205,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3611},"className":"ReleaseMaker","_owner":{"__isSmartRef__":true,"id":3609},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3611":{"name":"initializing","type":"categoryDef","startIndex":173,"stopIndex":208,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[{"__isSmartRef__":true,"id":3610}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3612":{"name":"test","type":"propertyDef","startIndex":232,"stopIndex":513,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3613},"className":"ReleaseMaker","_owner":{"__isSmartRef__":true,"id":3609},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3613":{"name":"request handlers","type":"categoryDef","startIndex":210,"stopIndex":515,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[{"__isSmartRef__":true,"id":3612}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3614":{"name":null,"type":"comment","startIndex":519,"stopIndex":519,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3615":{"name":null,"type":"unknown","startIndex":520,"stopIndex":547,"fileName":"server/nodejs/ReleaseMaker.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3616":{"target":{"__isSmartRef__":true,"id":3617},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/RemoteJSInterface.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3617":{"name":"server.nodejs.RemoteJSInterface","type":"moduleDef","startIndex":0,"stopIndex":5785,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3618},{"__isSmartRef__":true,"id":3619},{"__isSmartRef__":true,"id":3634},{"__isSmartRef__":true,"id":3635},{"__isSmartRef__":true,"id":3646},{"__isSmartRef__":true,"id":3647},{"__isSmartRef__":true,"id":3651}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3618":{"name":null,"type":"comment","startIndex":88,"stopIndex":88,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3619":{"name":"server.nodejs.JSRemoteServer","type":"klassDef","startIndex":89,"stopIndex":2576,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3620},{"__isSmartRef__":true,"id":3622},{"__isSmartRef__":true,"id":3623},{"__isSmartRef__":true,"id":3624},{"__isSmartRef__":true,"id":3625},{"__isSmartRef__":true,"id":3626},{"__isSmartRef__":true,"id":3628},{"__isSmartRef__":true,"id":3629},{"__isSmartRef__":true,"id":3631},{"__isSmartRef__":true,"id":3632}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":3621},{"__isSmartRef__":true,"id":3627},{"__isSmartRef__":true,"id":3630},{"__isSmartRef__":true,"id":3633}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3620":{"name":"connections","type":"propertyDef","startIndex":157,"stopIndex":181,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3621},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3621":{"name":"initializing","type":"categoryDef","startIndex":138,"stopIndex":634,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3620},{"__isSmartRef__":true,"id":3622},{"__isSmartRef__":true,"id":3623},{"__isSmartRef__":true,"id":3624},{"__isSmartRef__":true,"id":3625}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3622":{"name":"initialize","type":"propertyDef","startIndex":184,"stopIndex":366,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3621},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3623":{"name":"reset","type":"propertyDef","startIndex":369,"stopIndex":447,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3621},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3624":{"name":"connectionURI","type":"propertyDef","startIndex":450,"stopIndex":535,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3621},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3625":{"name":"toString","type":"propertyDef","startIndex":538,"stopIndex":631,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3621},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3626":{"name":"evalOnServer","type":"propertyDef","startIndex":663,"stopIndex":1064,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3627},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3627":{"name":"server communication","type":"categoryDef","startIndex":637,"stopIndex":1165,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3626},{"__isSmartRef__":true,"id":3628}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3628":{"name":"evalOnServerAndWait","type":"propertyDef","startIndex":1067,"stopIndex":1161,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3627},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3629":{"name":"getWebResource","type":"propertyDef","startIndex":1182,"stopIndex":1329,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3630},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3630":{"name":"private","type":"categoryDef","startIndex":1168,"stopIndex":1765,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3629},{"__isSmartRef__":true,"id":3631}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3631":{"name":"processResult","type":"propertyDef","startIndex":1332,"stopIndex":1761,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3630},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3632":{"name":"example","type":"propertyDef","startIndex":1778,"stopIndex":2570,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3633},"className":"server.nodejs.JSRemoteServer","_owner":{"__isSmartRef__":true,"id":3619},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3633":{"name":"USAGE","type":"categoryDef","startIndex":1767,"stopIndex":2573,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3632}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3634":{"name":null,"type":"comment","startIndex":2577,"stopIndex":2577,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3635":{"name":"ServerSandBoxWorkspace","type":"klassDef","startIndex":2578,"stopIndex":4508,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3636},{"__isSmartRef__":true,"id":3638},{"__isSmartRef__":true,"id":3639},{"__isSmartRef__":true,"id":3640},{"__isSmartRef__":true,"id":3641},{"__isSmartRef__":true,"id":3642},{"__isSmartRef__":true,"id":3643},{"__isSmartRef__":true,"id":3644},{"__isSmartRef__":true,"id":3645}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"TextMorph","categories":[{"__isSmartRef__":true,"id":3637}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3636":{"name":"style","type":"propertyDef","startIndex":2626,"stopIndex":2687,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3637":{"name":"default category","type":"categoryDef","startIndex":2623,"stopIndex":4505,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3636},{"__isSmartRef__":true,"id":3638},{"__isSmartRef__":true,"id":3639},{"__isSmartRef__":true,"id":3640},{"__isSmartRef__":true,"id":3641},{"__isSmartRef__":true,"id":3642},{"__isSmartRef__":true,"id":3643},{"__isSmartRef__":true,"id":3644},{"__isSmartRef__":true,"id":3645}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3638":{"name":"initialize","type":"propertyDef","startIndex":2690,"stopIndex":2882,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3639":{"name":"evalSelection","type":"propertyDef","startIndex":2885,"stopIndex":3003,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3640":{"name":"boundEval","type":"propertyDef","startIndex":3006,"stopIndex":3098,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3641":{"name":"tryBoundEval","type":"propertyDef","startIndex":3104,"stopIndex":3564,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3642":{"name":"gotServerResult","type":"propertyDef","startIndex":3568,"stopIndex":3662,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3643":{"name":"gotServerResultAndPrintIt","type":"propertyDef","startIndex":3665,"stopIndex":3791,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3644":{"name":"open","type":"propertyDef","startIndex":3794,"stopIndex":4040,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3645":{"name":"morphMenuItems","type":"propertyDef","startIndex":4043,"stopIndex":4497,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3637},"className":"ServerSandBoxWorkspace","_owner":{"__isSmartRef__":true,"id":3635},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3646":{"name":null,"type":"comment","startIndex":4509,"stopIndex":4509,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3647":{"name":"server.nodejs.RemoteSearch","type":"objectDef","startIndex":4510,"stopIndex":5765,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[{"__isSmartRef__":true,"id":3648},{"__isSmartRef__":true,"id":3650}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3648":{"name":"doSearchOnServerString","type":"propertyDef","startIndex":4541,"stopIndex":4854,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3649},"_owner":{"__isSmartRef__":true,"id":3647},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3649":{"name":"default category","type":"categoryDef","startIndex":29,"stopIndex":1253,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3648},{"__isSmartRef__":true,"id":3650}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3650":{"name":"doSearchOnServer","type":"propertyDef","startIndex":4856,"stopIndex":5761,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3649},"_owner":{"__isSmartRef__":true,"id":3647},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3651":{"name":null,"type":"comment","startIndex":5766,"stopIndex":5766,"fileName":"server/nodejs/RemoteJSInterface.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3652":{"target":{"__isSmartRef__":true,"id":3653},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/SandboxServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3653":{"name":"server/nodejs/SandboxServer.js","type":"completeFileDef","startIndex":0,"stopIndex":6015,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3654},{"__isSmartRef__":true,"id":3655},{"__isSmartRef__":true,"id":3656},{"__isSmartRef__":true,"id":3657},{"__isSmartRef__":true,"id":3658},{"__isSmartRef__":true,"id":3659},{"__isSmartRef__":true,"id":3660},{"__isSmartRef__":true,"id":3661},{"__isSmartRef__":true,"id":3662},{"__isSmartRef__":true,"id":3663},{"__isSmartRef__":true,"id":3664},{"__isSmartRef__":true,"id":3665},{"__isSmartRef__":true,"id":3666},{"__isSmartRef__":true,"id":3667},{"__isSmartRef__":true,"id":3670},{"__isSmartRef__":true,"id":3673},{"__isSmartRef__":true,"id":3674},{"__isSmartRef__":true,"id":3675},{"__isSmartRef__":true,"id":3676},{"__isSmartRef__":true,"id":3679},{"__isSmartRef__":true,"id":3680},{"__isSmartRef__":true,"id":3681},{"__isSmartRef__":true,"id":3688},{"__isSmartRef__":true,"id":3689},{"__isSmartRef__":true,"id":3695},{"__isSmartRef__":true,"id":3696}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3654":{"name":null,"type":"unknown","startIndex":0,"stopIndex":25,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3655":{"name":null,"type":"unknown","startIndex":26,"stopIndex":54,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3656":{"name":null,"type":"unknown","startIndex":55,"stopIndex":100,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3657":{"name":null,"type":"unknown","startIndex":101,"stopIndex":146,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3658":{"name":null,"type":"comment","startIndex":147,"stopIndex":147,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3659":{"name":null,"type":"unknown","startIndex":148,"stopIndex":178,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3660":{"name":null,"type":"unknown","startIndex":179,"stopIndex":247,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3661":{"name":null,"type":"comment","startIndex":248,"stopIndex":264,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3662":{"name":null,"type":"unknown","startIndex":265,"stopIndex":303,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3663":{"name":null,"type":"unknown","startIndex":304,"stopIndex":774,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3664":{"name":null,"type":"comment","startIndex":775,"stopIndex":821,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3665":{"name":null,"type":"unknown","startIndex":822,"stopIndex":838,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3666":{"name":null,"type":"comment","startIndex":839,"stopIndex":839,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3667":{"name":"JSLoader","type":"objectDef","startIndex":840,"stopIndex":1756,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3668}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3668":{"name":"loadJs","type":"propertyDef","startIndex":857,"stopIndex":1751,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3669},"_owner":{"__isSmartRef__":true,"id":3667},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3669":{"name":"default category","type":"categoryDef","startIndex":15,"stopIndex":916,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3668}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3670":{"name":"Global","type":"klassExtensionDef","startIndex":1757,"stopIndex":2424,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3671}],"sourceControl":{"__isSmartRef__":true,"id":3490},"categories":[{"__isSmartRef__":true,"id":3672}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3671":{"name":"lkModuleLoad","type":"propertyDef","startIndex":1781,"stopIndex":2420,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3672},"className":"Global","_owner":{"__isSmartRef__":true,"id":3670},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3672":{"name":"default category","type":"categoryDef","startIndex":1779,"stopIndex":2421,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3671}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3673":{"name":null,"type":"unknown","startIndex":2425,"stopIndex":2450,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3674":{"name":null,"type":"unknown","startIndex":2451,"stopIndex":2497,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3675":{"name":null,"type":"unknown","startIndex":2498,"stopIndex":2518,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3676":{"name":"Strings","type":"objectDef","startIndex":2519,"stopIndex":2757,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3677}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3677":{"name":"indent","type":"propertyDef","startIndex":2535,"stopIndex":2753,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3678},"_owner":{"__isSmartRef__":true,"id":3676},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3678":{"name":"default category","type":"categoryDef","startIndex":14,"stopIndex":238,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3677}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3679":{"name":"sandboxes","type":"objectDef","startIndex":2758,"stopIndex":2777,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3680":{"name":null,"type":"comment","startIndex":2778,"stopIndex":2778,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3681":{"name":"Sandbox","type":"klassDef","startIndex":2779,"stopIndex":4609,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3682},{"__isSmartRef__":true,"id":3684},{"__isSmartRef__":true,"id":3685},{"__isSmartRef__":true,"id":3686},{"__isSmartRef__":true,"id":3687}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"Object","categories":[{"__isSmartRef__":true,"id":3683}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3682":{"name":"initialize","type":"propertyDef","startIndex":2809,"stopIndex":2891,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3683},"className":"Sandbox","_owner":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3683":{"name":"default category","type":"categoryDef","startIndex":2806,"stopIndex":4606,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3682},{"__isSmartRef__":true,"id":3684},{"__isSmartRef__":true,"id":3685},{"__isSmartRef__":true,"id":3686},{"__isSmartRef__":true,"id":3687}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3684":{"name":"setupContext","type":"propertyDef","startIndex":2894,"stopIndex":3229,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3683},"className":"Sandbox","_owner":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3685":{"name":"eval","type":"propertyDef","startIndex":3232,"stopIndex":4296,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3683},"className":"Sandbox","_owner":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3686":{"name":"evalAndAnswer","type":"propertyDef","startIndex":4300,"stopIndex":4531,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3683},"className":"Sandbox","_owner":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3687":{"name":"toString","type":"propertyDef","startIndex":4533,"stopIndex":4601,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3683},"className":"Sandbox","_owner":{"__isSmartRef__":true,"id":3681},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3688":{"name":null,"type":"comment","startIndex":4610,"stopIndex":4610,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3689":{"name":"SandboxHandler","type":"klassDef","startIndex":4611,"stopIndex":5983,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3690},{"__isSmartRef__":true,"id":3692},{"__isSmartRef__":true,"id":3693},{"__isSmartRef__":true,"id":3694}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"livelyServer.AbstractHandler","categories":[{"__isSmartRef__":true,"id":3691}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3690":{"name":"port","type":"propertyDef","startIndex":4670,"stopIndex":4684,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3691},"className":"SandboxHandler","_owner":{"__isSmartRef__":true,"id":3689},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3691":{"name":"default category","type":"categoryDef","startIndex":4667,"stopIndex":5980,"fileName":"server/nodejs/SandboxServer.js","_subElements":[{"__isSmartRef__":true,"id":3690},{"__isSmartRef__":true,"id":3692},{"__isSmartRef__":true,"id":3693},{"__isSmartRef__":true,"id":3694}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3692":{"name":"run","type":"propertyDef","startIndex":4691,"stopIndex":4805,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3691},"className":"SandboxHandler","_owner":{"__isSmartRef__":true,"id":3689},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3693":{"name":"runAsync","type":"propertyDef","startIndex":4807,"stopIndex":4927,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3691},"className":"SandboxHandler","_owner":{"__isSmartRef__":true,"id":3689},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3694":{"name":"invokeSandbox","type":"propertyDef","startIndex":4929,"stopIndex":5971,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3691},"className":"SandboxHandler","_owner":{"__isSmartRef__":true,"id":3689},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3695":{"name":null,"type":"comment","startIndex":5984,"stopIndex":5984,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3696":{"name":null,"type":"unknown","startIndex":5985,"stopIndex":6015,"fileName":"server/nodejs/SandboxServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3697":{"target":{"__isSmartRef__":true,"id":3698},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/simpleChat.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3698":{"name":"server/nodejs/simpleChat.js","type":"completeFileDef","startIndex":0,"stopIndex":972,"fileName":"server/nodejs/simpleChat.js","_subElements":[{"__isSmartRef__":true,"id":3699},{"__isSmartRef__":true,"id":3700},{"__isSmartRef__":true,"id":3701},{"__isSmartRef__":true,"id":3707},{"__isSmartRef__":true,"id":3708}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3699":{"name":null,"type":"unknown","startIndex":0,"stopIndex":25,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3700":{"name":null,"type":"unknown","startIndex":26,"stopIndex":71,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3701":{"name":"ChatHandler","type":"klassDef","startIndex":72,"stopIndex":941,"fileName":"server/nodejs/simpleChat.js","_subElements":[{"__isSmartRef__":true,"id":3702},{"__isSmartRef__":true,"id":3704},{"__isSmartRef__":true,"id":3705},{"__isSmartRef__":true,"id":3706}],"sourceControl":{"__isSmartRef__":true,"id":3490},"superclassName":"livelyServer.AbstractHandler","categories":[{"__isSmartRef__":true,"id":3703}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3702":{"name":"port","type":"propertyDef","startIndex":128,"stopIndex":139,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3703},"className":"ChatHandler","_owner":{"__isSmartRef__":true,"id":3701},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3703":{"name":"default category","type":"categoryDef","startIndex":125,"stopIndex":938,"fileName":"server/nodejs/simpleChat.js","_subElements":[{"__isSmartRef__":true,"id":3702},{"__isSmartRef__":true,"id":3704},{"__isSmartRef__":true,"id":3705},{"__isSmartRef__":true,"id":3706}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3704":{"name":"initialize","type":"propertyDef","startIndex":142,"stopIndex":220,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3703},"className":"ChatHandler","_owner":{"__isSmartRef__":true,"id":3701},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3705":{"name":"register","type":"propertyDef","startIndex":224,"stopIndex":563,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3703},"className":"ChatHandler","_owner":{"__isSmartRef__":true,"id":3701},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3706":{"name":"broadcast","type":"propertyDef","startIndex":567,"stopIndex":936,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":false,"category":{"__isSmartRef__":true,"id":3703},"className":"ChatHandler","_owner":{"__isSmartRef__":true,"id":3701},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3707":{"name":null,"type":"comment","startIndex":942,"stopIndex":945,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3708":{"name":null,"type":"unknown","startIndex":946,"stopIndex":972,"fileName":"server/nodejs/simpleChat.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3709":{"target":{"__isSmartRef__":true,"id":3710},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/SocketChatServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3710":{"name":"server/nodejs/SocketChatServer.js","type":"completeFileDef","startIndex":0,"stopIndex":860,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[{"__isSmartRef__":true,"id":3711},{"__isSmartRef__":true,"id":3714},{"__isSmartRef__":true,"id":3715},{"__isSmartRef__":true,"id":3716},{"__isSmartRef__":true,"id":3717},{"__isSmartRef__":true,"id":3718},{"__isSmartRef__":true,"id":3719}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3711":{"name":"SocketChatServer","type":"objectDef","startIndex":0,"stopIndex":39,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[{"__isSmartRef__":true,"id":3712}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3712":{"name":"port","type":"propertyDef","startIndex":21,"stopIndex":35,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3713},"_owner":{"__isSmartRef__":true,"id":3711},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3713":{"name":"default category","type":"categoryDef","startIndex":19,"stopIndex":39,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3712}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3714":{"name":null,"type":"unknown","startIndex":40,"stopIndex":100,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3715":{"name":null,"type":"comment","startIndex":101,"stopIndex":174,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3716":{"name":null,"type":"unknown","startIndex":175,"stopIndex":213,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3717":{"name":null,"type":"unknown","startIndex":214,"stopIndex":264,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3718":{"name":null,"type":"unknown","startIndex":265,"stopIndex":858,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3719":{"name":null,"type":"comment","startIndex":859,"stopIndex":860,"fileName":"server/nodejs/SocketChatServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3720":{"target":{"__isSmartRef__":true,"id":3721},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/SocketIOExampleServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3721":{"name":"server/nodejs/SocketIOExampleServer.js","type":"completeFileDef","startIndex":0,"stopIndex":707,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[{"__isSmartRef__":true,"id":3722},{"__isSmartRef__":true,"id":3725},{"__isSmartRef__":true,"id":3726},{"__isSmartRef__":true,"id":3727},{"__isSmartRef__":true,"id":3728},{"__isSmartRef__":true,"id":3729},{"__isSmartRef__":true,"id":3730}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3722":{"name":"SocketIOExampleServer","type":"objectDef","startIndex":0,"stopIndex":42,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[{"__isSmartRef__":true,"id":3723}],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3723":{"name":"port","type":"propertyDef","startIndex":26,"stopIndex":40,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"_isStatic":true,"category":{"__isSmartRef__":true,"id":3724},"_owner":{"__isSmartRef__":true,"id":3722},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3724":{"name":"default category","type":"categoryDef","startIndex":24,"stopIndex":42,"fileName":null,"_subElements":[{"__isSmartRef__":true,"id":3723}],"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3725":{"name":null,"type":"unknown","startIndex":43,"stopIndex":108,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3726":{"name":null,"type":"comment","startIndex":109,"stopIndex":182,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3727":{"name":null,"type":"unknown","startIndex":183,"stopIndex":221,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3728":{"name":null,"type":"unknown","startIndex":222,"stopIndex":272,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3729":{"name":null,"type":"unknown","startIndex":273,"stopIndex":706,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3730":{"name":null,"type":"comment","startIndex":707,"stopIndex":707,"fileName":"server/nodejs/SocketIOExampleServer.js","_subElements":[],"sourceControl":{"__isSmartRef__":true,"id":3490},"__LivelyClassName__":"lively.ide.FileFragment","__SourceModuleName__":"Global.lively.ide.FileParsing"},"3731":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/SqliteQueryServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3732":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/SqueakEVServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3733":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/StreamingTestServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3734":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/TestServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3735":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/TutorialServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3736":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/WebInterface.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3737":{"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/WhiteboardServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3738":{"target":{"__isSmartRef__":true,"id":3739},"browser":{"__isSmartRef__":true,"id":3221},"__LivelyClassName__":"lively.ide.ChangeSetNode","__SourceModuleName__":"Global.lively.ide.LocalBrowser"},"3739":{"name":"Local code","__LivelyClassName__":"ChangeSet","__SourceModuleName__":"Global.lively.ChangeSet"},"3740":{"isListItem":true,"string":"../","value":{"__isSmartRef__":true,"id":3492}},"3741":{"isListItem":true,"string":"AileenTest.js (not parsed)","value":{"__isSmartRef__":true,"id":3493}},"3742":{"isListItem":true,"string":"AJMNodeJSServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3494}},"3743":{"isListItem":true,"string":"Base.js (not parsed)","value":{"__isSmartRef__":true,"id":3495}},"3744":{"isListItem":true,"string":"BenchmarkServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3496}},"3745":{"isListItem":true,"string":"ChatServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3497}},"3746":{"isListItem":true,"string":"CodeSearchServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3498}},"3747":{"isListItem":true,"string":"CommandLineServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3499}},"3748":{"isListItem":true,"string":"CopenhagenDemoServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3500}},"3749":{"isListItem":true,"string":"CoreDiffInterfaceServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3501}},"3750":{"isListItem":true,"string":"DatabaseQueryServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3502}},"3751":{"isListItem":true,"string":"DemoTestServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3503}},"3752":{"isListItem":true,"string":"DistributedDoitServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3504}},"3753":{"isListItem":true,"string":"EduChatServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3505}},"3754":{"isListItem":true,"string":"EventTrackerServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3506}},"3755":{"isListItem":true,"string":"ExampleServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3507}},"3756":{"isListItem":true,"string":"FabiansPlayground.js (not parsed)","value":{"__isSmartRef__":true,"id":3508}},"3757":{"isListItem":true,"string":"GitDAVServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3509}},"3758":{"isListItem":true,"string":"GridComputingServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3510}},"3759":{"isListItem":true,"string":"HelloServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3511}},"3760":{"isListItem":true,"string":"InstallShServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3512}},"3761":{"isListItem":true,"string":"LaTeXServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3513}},"3762":{"isListItem":true,"string":"livelyServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3514}},"3763":{"isListItem":true,"string":"LKLoader.js (not parsed)","value":{"__isSmartRef__":true,"id":3515}},"3764":{"isListItem":true,"string":"MartinsPlayground.js (not parsed)","value":{"__isSmartRef__":true,"id":3516}},"3765":{"isListItem":true,"string":"MasterServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3517}},"3766":{"isListItem":true,"string":"MasterServerStartup.js (not parsed)","value":{"__isSmartRef__":true,"id":3518}},"3767":{"isListItem":true,"string":"miniprototype.js (not parsed)","value":{"__isSmartRef__":true,"id":3519}},"3768":{"isListItem":true,"string":"MyNewServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3520}},"3769":{"isListItem":true,"string":"NewServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3521}},"3770":{"isListItem":true,"string":"NewServer3.js (not parsed)","value":{"__isSmartRef__":true,"id":3522}},"3771":{"isListItem":true,"string":"NodeJSProcesses.js (not parsed)","value":{"__isSmartRef__":true,"id":3523}},"3772":{"isListItem":true,"string":"OAuthServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3524}},"3773":{"isListItem":true,"string":"OMetaServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3525}},"3774":{"isListItem":true,"string":"PDFCreator.js (not parsed)","value":{"__isSmartRef__":true,"id":3526}},"3775":{"isListItem":true,"string":"PhantomJSServer.js","value":{"__isSmartRef__":true,"id":3527}},"3776":{"isListItem":true,"string":"PingServer.js","value":{"__isSmartRef__":true,"id":3539}},"3777":{"isListItem":true,"string":"PongServer.js","value":{"__isSmartRef__":true,"id":3554}},"3778":{"isListItem":true,"string":"ReleaseMaker.js","value":{"__isSmartRef__":true,"id":3602}},"3779":{"isListItem":true,"string":"RemoteJSInterface.js","value":{"__isSmartRef__":true,"id":3616}},"3780":{"isListItem":true,"string":"SandboxServer.js","value":{"__isSmartRef__":true,"id":3652}},"3781":{"isListItem":true,"string":"simpleChat.js","value":{"__isSmartRef__":true,"id":3697}},"3782":{"isListItem":true,"string":"SocketChatServer.js","value":{"__isSmartRef__":true,"id":3709}},"3783":{"isListItem":true,"string":"SocketIOExampleServer.js","value":{"__isSmartRef__":true,"id":3720}},"3784":{"isListItem":true,"string":"SqliteQueryServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3731}},"3785":{"isListItem":true,"string":"SqueakEVServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3732}},"3786":{"isListItem":true,"string":"StreamingTestServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3733}},"3787":{"isListItem":true,"string":"TestServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3734}},"3788":{"isListItem":true,"string":"TutorialServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3735}},"3789":{"isListItem":true,"string":"WebInterface.js (not parsed)","value":{"__isSmartRef__":true,"id":3736}},"3790":{"isListItem":true,"string":"WhiteboardServer.js (not parsed)","value":{"__isSmartRef__":true,"id":3737}},"3791":{"isListItem":true,"string":"Local code","value":{"__isSmartRef__":true,"id":3738}},"3792":{"morph":{"__isSmartRef__":true,"id":3478},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3793":{"x":0,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3794":{"target":{"__isSmartRef__":true,"id":3528},"browser":{"__isSmartRef__":true,"id":3221},"parent":{"__isSmartRef__":true,"id":3489},"moduleName":"../server/nodejs/PhantomJSServer.js","showAll":false,"__LivelyClassName__":"lively.ide.CompleteFileFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3795":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3796":{"scaleVertical":true,"scaleHorizontal":true},"3797":{"sourceObj":{"__isSmartRef__":true,"id":3478},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setPane1Selection","converter":null,"converterString":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3798},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3799},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3798":{"source":{"__isSmartRef__":true,"id":3478},"target":{"__isSmartRef__":true,"id":3221}},"3799":{"updater":{"__isSmartRef__":true,"id":3800}},"3800":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3798},"source":"function ($upd, v) { $upd(v, this.sourceObj) }","funcProperties":{"__isSmartRef__":true,"id":3801},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3801":{},"3802":{"sourceObj":{"__isSmartRef__":true,"id":3478},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane1Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3803},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3803":{"source":{"__isSmartRef__":true,"id":3478},"target":{"__isSmartRef__":true,"id":3221}},"3804":{"sourceObj":{"__isSmartRef__":true,"id":3478},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane1Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3805},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3805":{"source":{"__isSmartRef__":true,"id":3478},"target":{"__isSmartRef__":true,"id":3221}},"3806":{"sourceObj":{"__isSmartRef__":true,"id":3478},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane1Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3807},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3807":{"source":{"__isSmartRef__":true,"id":3478},"target":{"__isSmartRef__":true,"id":3221}},"3808":{"onDownPressed":{"__isSmartRef__":true,"id":3809},"onUpPressed":{"__isSmartRef__":true,"id":3816}},"3809":{"varMapping":{"__isSmartRef__":true,"id":3810},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3815},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3810":{"this":{"__isSmartRef__":true,"id":3478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3811}},"3811":{"$super":{"__isSmartRef__":true,"id":3812}},"3812":{"varMapping":{"__isSmartRef__":true,"id":3813},"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":3814},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3813":{"obj":{"__isSmartRef__":true,"id":3478},"name":"onDownPressed"},"3814":{},"3815":{},"3816":{"varMapping":{"__isSmartRef__":true,"id":3817},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3822},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3817":{"this":{"__isSmartRef__":true,"id":3478},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3818}},"3818":{"$super":{"__isSmartRef__":true,"id":3819}},"3819":{"varMapping":{"__isSmartRef__":true,"id":3820},"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":3821},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3820":{"obj":{"__isSmartRef__":true,"id":3478},"name":"onUpPressed"},"3821":{},"3822":{},"3823":{"source":{"__isSmartRef__":true,"id":3221},"target":{"__isSmartRef__":true,"id":3478}},"3824":{"sourceObj":{"__isSmartRef__":true,"id":3221},"sourceAttrName":"setPane2Content","targetObj":{"__isSmartRef__":true,"id":3825},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3864},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3825":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3826},"derivationIds":[null],"id":"E31C7939-5B8E-4CE5-8878-D148ABE087E5","renderContextTable":{"__isSmartRef__":true,"id":3832},"itemList":[{"__isSmartRef__":true,"id":3833},{"__isSmartRef__":true,"id":3835}],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3837},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3838},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":3839},"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3840},"attributeConnections":[{"__isSmartRef__":true,"id":3841},{"__isSmartRef__":true,"id":3843},{"__isSmartRef__":true,"id":3845},{"__isSmartRef__":true,"id":3847}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3849},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3826":{"_Position":{"__isSmartRef__":true,"id":3827},"renderContextTable":{"__isSmartRef__":true,"id":3828},"_Extent":{"__isSmartRef__":true,"id":3829},"_Padding":{"__isSmartRef__":true,"id":3830},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":{"__isSmartRef__":true,"id":3831},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3827":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3828":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3829":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3830":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3831":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3832":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3833":{"isListItem":true,"string":"PhantomJSServer (object)","value":{"__isSmartRef__":true,"id":3834}},"3834":{"target":{"__isSmartRef__":true,"id":3529},"browser":{"__isSmartRef__":true,"id":3221},"__LivelyClassName__":"lively.ide.ObjectFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3835":{"isListItem":true,"string":"JobQueue (function)","value":{"__isSmartRef__":true,"id":3836}},"3836":{"target":{"__isSmartRef__":true,"id":3532},"browser":{"__isSmartRef__":true,"id":3221},"__LivelyClassName__":"lively.ide.FunctionFragmentNode","__SourceModuleName__":"Global.lively.ide.SystemBrowserNodes"},"3837":{"morph":{"__isSmartRef__":true,"id":3825},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3838":{"x":205,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3839":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3840":{"scaleVertical":true,"scaleHorizontal":true},"3841":{"sourceObj":{"__isSmartRef__":true,"id":3825},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3842},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3842":{"source":{"__isSmartRef__":true,"id":3825},"target":{"__isSmartRef__":true,"id":3221}},"3843":{"sourceObj":{"__isSmartRef__":true,"id":3825},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane2Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3844},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3844":{"source":{"__isSmartRef__":true,"id":3825},"target":{"__isSmartRef__":true,"id":3221}},"3845":{"sourceObj":{"__isSmartRef__":true,"id":3825},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane2Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3846},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3846":{"source":{"__isSmartRef__":true,"id":3825},"target":{"__isSmartRef__":true,"id":3221}},"3847":{"sourceObj":{"__isSmartRef__":true,"id":3825},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane2Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3848},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3848":{"source":{"__isSmartRef__":true,"id":3825},"target":{"__isSmartRef__":true,"id":3221}},"3849":{"onDownPressed":{"__isSmartRef__":true,"id":3850},"onUpPressed":{"__isSmartRef__":true,"id":3857}},"3850":{"varMapping":{"__isSmartRef__":true,"id":3851},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3856},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3851":{"this":{"__isSmartRef__":true,"id":3825},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3852}},"3852":{"$super":{"__isSmartRef__":true,"id":3853}},"3853":{"varMapping":{"__isSmartRef__":true,"id":3854},"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":3855},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3854":{"obj":{"__isSmartRef__":true,"id":3825},"name":"onDownPressed"},"3855":{},"3856":{},"3857":{"varMapping":{"__isSmartRef__":true,"id":3858},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3863},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3858":{"this":{"__isSmartRef__":true,"id":3825},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3859}},"3859":{"$super":{"__isSmartRef__":true,"id":3860}},"3860":{"varMapping":{"__isSmartRef__":true,"id":3861},"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":3862},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3861":{"obj":{"__isSmartRef__":true,"id":3825},"name":"onUpPressed"},"3862":{},"3863":{},"3864":{"source":{"__isSmartRef__":true,"id":3221},"target":{"__isSmartRef__":true,"id":3825}},"3865":{"sourceObj":{"__isSmartRef__":true,"id":3221},"sourceAttrName":"setPane3Content","targetObj":{"__isSmartRef__":true,"id":3866},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3901},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3866":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3867},"derivationIds":[null],"id":"B4369EA2-3480-4AD5-8F1B-2DBCB20C34B7","renderContextTable":{"__isSmartRef__":true,"id":3873},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3874},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3875},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":3876},"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3877},"attributeConnections":[{"__isSmartRef__":true,"id":3878},{"__isSmartRef__":true,"id":3880},{"__isSmartRef__":true,"id":3882},{"__isSmartRef__":true,"id":3884}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3886},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3867":{"_Position":{"__isSmartRef__":true,"id":3868},"renderContextTable":{"__isSmartRef__":true,"id":3869},"_Extent":{"__isSmartRef__":true,"id":3870},"_Padding":{"__isSmartRef__":true,"id":3871},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":{"__isSmartRef__":true,"id":3872},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3868":{"x":0,"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"},"3870":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3871":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3872":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3873":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3874":{"morph":{"__isSmartRef__":true,"id":3866},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3875":{"x":410,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3876":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3877":{"scaleVertical":true,"scaleHorizontal":true},"3878":{"sourceObj":{"__isSmartRef__":true,"id":3866},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3879},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3879":{"source":{"__isSmartRef__":true,"id":3866},"target":{"__isSmartRef__":true,"id":3221}},"3880":{"sourceObj":{"__isSmartRef__":true,"id":3866},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane3Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3881},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3881":{"source":{"__isSmartRef__":true,"id":3866},"target":{"__isSmartRef__":true,"id":3221}},"3882":{"sourceObj":{"__isSmartRef__":true,"id":3866},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane3Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3883},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3883":{"source":{"__isSmartRef__":true,"id":3866},"target":{"__isSmartRef__":true,"id":3221}},"3884":{"sourceObj":{"__isSmartRef__":true,"id":3866},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane3Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3885},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3885":{"source":{"__isSmartRef__":true,"id":3866},"target":{"__isSmartRef__":true,"id":3221}},"3886":{"onDownPressed":{"__isSmartRef__":true,"id":3887},"onUpPressed":{"__isSmartRef__":true,"id":3894}},"3887":{"varMapping":{"__isSmartRef__":true,"id":3888},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3893},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3888":{"this":{"__isSmartRef__":true,"id":3866},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3889}},"3889":{"$super":{"__isSmartRef__":true,"id":3890}},"3890":{"varMapping":{"__isSmartRef__":true,"id":3891},"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":3892},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3891":{"obj":{"__isSmartRef__":true,"id":3866},"name":"onDownPressed"},"3892":{},"3893":{},"3894":{"varMapping":{"__isSmartRef__":true,"id":3895},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3900},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3895":{"this":{"__isSmartRef__":true,"id":3866},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3896}},"3896":{"$super":{"__isSmartRef__":true,"id":3897}},"3897":{"varMapping":{"__isSmartRef__":true,"id":3898},"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":3899},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3898":{"obj":{"__isSmartRef__":true,"id":3866},"name":"onUpPressed"},"3899":{},"3900":{},"3901":{"source":{"__isSmartRef__":true,"id":3221},"target":{"__isSmartRef__":true,"id":3866}},"3902":{"sourceObj":{"__isSmartRef__":true,"id":3221},"sourceAttrName":"setPane4Content","targetObj":{"__isSmartRef__":true,"id":3903},"targetMethodName":"updateList","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3938},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3903":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3904},"derivationIds":[null],"id":"60DD635E-C76F-47BD-818A-F64E7AADF4E0","renderContextTable":{"__isSmartRef__":true,"id":3910},"itemList":["-----"],"_FontFamily":"Helvetica","eventHandler":{"__isSmartRef__":true,"id":3911},"grabbingEnabled":false,"droppingEnabled":true,"halosEnabled":true,"_ClipMode":"auto","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":3912},"selection":null,"selectedLineNo":-1,"priorExtent":{"__isSmartRef__":true,"id":3913},"owner":{"__isSmartRef__":true,"id":3205},"layout":{"__isSmartRef__":true,"id":3914},"attributeConnections":[{"__isSmartRef__":true,"id":3915},{"__isSmartRef__":true,"id":3917},{"__isSmartRef__":true,"id":3919},{"__isSmartRef__":true,"id":3921}],"doNotSerialize":["$$selection"],"doNotCopyProperties":["$$selection"],"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3923},"__LivelyClassName__":"lively.morphic.List","__SourceModuleName__":"Global.lively.morphic.Core"},"3904":{"_Position":{"__isSmartRef__":true,"id":3905},"renderContextTable":{"__isSmartRef__":true,"id":3906},"_Extent":{"__isSmartRef__":true,"id":3907},"_Padding":{"__isSmartRef__":true,"id":3908},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":{"__isSmartRef__":true,"id":3909},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3905":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3906":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3907":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3908":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3909":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3910":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML","updateListContent":"updateListContentHTML","resizeList":"resizeListHTML","getItemIndexFromEvent":"getItemIndexFromEventHTML","getListExtent":"getListExtentHTML","setSize":"setSizeHTML","renderAsDropDownList":"renderAsDropDownListHTML","setFontSize":"setFontSizeHTML","setFontFamily":"setFontFamilyHTML","getSelectedIndexes":"getSelectedIndexesHTML","enableMultipleSelections":"enableMultipleSelectionsHTML","selectAllAt":"selectAllAtHTML","clearSelections":"clearSelectionsHTML","deselectAt":"deselectAtHTML"},"3911":{"morph":{"__isSmartRef__":true,"id":3903},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3912":{"x":615,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3913":{"x":205,"y":203.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3914":{"scaleVertical":true,"scaleHorizontal":true},"3915":{"sourceObj":{"__isSmartRef__":true,"id":3903},"sourceAttrName":"selection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":"function ($upd, v) { $upd(v, this.sourceObj) }","varMapping":{"__isSmartRef__":true,"id":3916},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3916":{"source":{"__isSmartRef__":true,"id":3903},"target":{"__isSmartRef__":true,"id":3221}},"3917":{"sourceObj":{"__isSmartRef__":true,"id":3903},"sourceAttrName":"getSelection","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane4Selection","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3918},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3918":{"source":{"__isSmartRef__":true,"id":3903},"target":{"__isSmartRef__":true,"id":3221}},"3919":{"sourceObj":{"__isSmartRef__":true,"id":3903},"sourceAttrName":"getList","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane4Content","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3920},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3920":{"source":{"__isSmartRef__":true,"id":3903},"target":{"__isSmartRef__":true,"id":3221}},"3921":{"sourceObj":{"__isSmartRef__":true,"id":3903},"sourceAttrName":"getMenu","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"getPane4Menu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3922},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3922":{"source":{"__isSmartRef__":true,"id":3903},"target":{"__isSmartRef__":true,"id":3221}},"3923":{"onDownPressed":{"__isSmartRef__":true,"id":3924},"onUpPressed":{"__isSmartRef__":true,"id":3931}},"3924":{"varMapping":{"__isSmartRef__":true,"id":3925},"source":"function onDownPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3930},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3925":{"this":{"__isSmartRef__":true,"id":3903},"__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":3903},"name":"onDownPressed"},"3929":{},"3930":{},"3931":{"varMapping":{"__isSmartRef__":true,"id":3932},"source":"function onUpPressed(evt) {\n $super(evt);\n this.focus.bind(this).delay(0);\n return true;\n }","funcProperties":{"__isSmartRef__":true,"id":3937},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3932":{"this":{"__isSmartRef__":true,"id":3903},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3933}},"3933":{"$super":{"__isSmartRef__":true,"id":3934}},"3934":{"varMapping":{"__isSmartRef__":true,"id":3935},"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":3936},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3935":{"obj":{"__isSmartRef__":true,"id":3903},"name":"onUpPressed"},"3936":{},"3937":{},"3938":{"source":{"__isSmartRef__":true,"id":3221},"target":{"__isSmartRef__":true,"id":3903}},"3939":{"sourceObj":{"__isSmartRef__":true,"id":3221},"sourceAttrName":"setSourceString","targetObj":{"__isSmartRef__":true,"id":3940},"targetMethodName":"setTextString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3957},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3940":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3941},"derivationIds":[null],"id":"4E28252C-3627-48CF-98BB-183E963E4269","renderContextTable":{"__isSmartRef__":true,"id":3947},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3948}],"eventHandler":{"__isSmartRef__":true,"id":3950},"_ClipMode":"auto","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Courier","_FontSize":10,"evalEnabled":false,"_Position":{"__isSmartRef__":true,"id":3951},"priorExtent":{"__isSmartRef__":true,"id":3952},"_MaxTextWidth":793,"_MinTextWidth":793,"_MaxTextHeight":null,"_MinTextHeight":null,"owner":{"__isSmartRef__":true,"id":3205},"accessibleInInactiveWindow":true,"layout":{"__isSmartRef__":true,"id":3953},"noEval":true,"syntaxHighlightingWhileTyping":true,"attributeConnections":[{"__isSmartRef__":true,"id":3954},{"__isSmartRef__":true,"id":3955}],"doNotSerialize":["$$textString","$$savedTextString"],"doNotCopyProperties":["$$textString","$$savedTextString"],"textString":"PhantomJSServer = {\n port: 8105\n}\n\nfunction JobQueue(concurrency) {\n var queue = [];\n var jobs = {}\n\n var lastJobId = 0;\n\n this.nextJobId = function(){\n return ++lastJobId;\n }\n\n this.getInfo = function() {\n return {\n running: Object.keys(jobs),\n queued: queue.length,\n concurrency: concurrency\n };\n }\n\n this.getJobInfo = function(jobId) {\n return jobs[jobId] || __.find(queue, function(e) {\n return e.jobId == jobId;\n });\n }\n\n this.enqueue = function(job, callback) {\n var self = this;\n\n var jobId = this.nextJobId();\n jobObj = {\n 'job': job,\n 'jobId': jobId,\n 'status': \"queued\",\n 'callback': function(code) {\n self._finished(jobId);\n return callback(code);\n }\n }\n\n if (Object.keys(jobs).length < concurrency) {\n this._startJob(jobObj);\n } else {\n queue.push(jobObj);\n }\n\n return jobId;\n }\n\n this.kill = function(jobId) {\n var job = jobs[jobId];\n if (typeof(job) != \"undefined\") {\n job.process.kill();\n return;\n }\n\n // job is still queued, remove it from the queue\n var index = __.find(queue, function(e, index) {\n if (e.jobId == jobId) {\n queue.split(i, 1);\n return true;\n }\n });\n }\n\n this._finished = function(jobId) {\n delete jobs[jobId];\n\n // start the next job in the queue\n if (queue.length > 0) {\n this._startJob(queue.shift())\n }\n }\n\n this._startJob = function(jobObj) {\n var job = jobObj.job;\n var callback = jobObj.callback;\n\n var sanitize = function(string) {\n return \"'\" + string.replace(/['\\\\]/g, '') + \"'\";\n }\n\n command = sanitize(job.executable);\n\n var args = __.map(job.args, function(arg) {\n var clean = sanitize(arg);\n if (clean == \"JOBID\") {\n return jobObj.jobId;\n } else {\n return clean;\n }\n });\n command = command + \" \" + args.join(\" \");\n\n var child = exec(command, job.options, function(error) {\n callback(error);\n });\n\n jobs[jobObj.jobId] = jobObj\n jobObj.process = child;\n jobObj.status = \"running\";\n\n if (job.stdin) {\n child.stdin.write(job.stdin);\n child.stdin.end();\n }\n\n if (job.stdout) {\n child.stdout.addListener('data', function(data) {\n job.stdout(data);\n });\n }\n if (job.stderr) {\n child.stderr.addListener('data', function(data) {\n job.stderr(data);\n });\n }\n }\n}\nvar phantomQueue = new JobQueue(10);\nvar execQueue = new JobQueue(3);\nvar convertQueue = new JobQueue(10);\n\nvar __ = require('underscore'),\n fs = require('fs'),\n crypto = require('crypto'),\n url = require('url'),\n http = require('http'),\n\n exec = require('child_process').exec,\n spawn = require('child_process').spawn;\n\nvar express = require('express'),\n rewriter = require('express-rewrite');\nvar app = express.createServer();\napp.configure(function() {\n app.use(express.logger());\n app.use(rewriter);\n app.use(express.bodyParser());\n app.use(app.router);\n});\n\nfunction withScreenshot(url, filename, callback) {\n try {\n var stat = fs.lstatSync(filename);\n callback(url, filename);\n } catch(e) {\n var script = 'var filename = phantom.args[1];' +\n 'page.render(filename);';\n\n\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n filename\n ],\n stdin: script,\n options: {\n timeout: 30000\n },\n }\n execQueue.enqueue(job, function(error) {\n callback(url, filename);\n });\n }\n}\n\nfunction phantomExec(url, script, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n ],\n stdin: script,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {\n timeout: 60000\n },\n }\n return execQueue.enqueue(job, callbacks.finish);\n}\n\nfunction phantomCloud(url, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/cloud.js\",\n url,\n \"JOBID\"\n ],\n stdin: callbacks.stdin,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {}\n }\n return phantomQueue.enqueue(job, callbacks.finish);\n}\n\napp.get('/screenshot/full/*', function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n console.log(remoteURL);\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshot, function(remoteURL, screenshot) {\n res.sendfile(screenshot);\n });\n } else {\n res.send(404);\n }\n});\n\napp.get('/screenshot/part', rewriter.rewrite('/screenshot/medium/viral/index.new.xhtml'));\n// app.get('/screenshot/part-:size', rewriter.rewrite('/screenshot/$1/viral/index.new.xhtml'));\n\napp.get(/^\\/screenshot\\/(medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var size = req.params[0];\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshotFull = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n\n switch(size) {\n case \"medium\":\n var convert = [\"-crop\", \"1024x768+0+0\", \"-background\", \"#ffffff\", screenshotFull, screenshot]\n break;\n case \"cropped\":\n var convert = [\"-trim\", screenshotFull, screenshot]\n break;\n case \"thumb\":\n var convert = [\"-trim\", \"-resize\", \"100x100\", screenshotFull, screenshot]\n break;\n }\n\n try {\n var stat = fs.lstatSync(screenshot);\n res.sendfile(screenshot);\n } catch(e) {\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshotFull, function(remoteURL, screenshotFull) {\n var job = {\n executable: \"/usr/bin/convert\",\n args: convert\n }\n convertQueue.enqueue(job, function(code) {\n res.sendfile(screenshot);\n });\n });\n } else {\n res.send(404);\n }\n }\n});\n\nfunction deleteFile(filePath) {\n fs.stat(filePath, function(err, stats) {\n if (!err) {\n if (stats.isFile()) {\n fs.unlink(filePath, function(err) {\n if (err) {\n console.log(JSON.stringify(err));\n } else {\n console.log(\"Removed \" + filePath);\n }\n });\n }\n } else {\n console.log(JSON.stringify(err));\n }\n });\n}\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n fs.readdir(cacheDir, function(err, files) {\n if (err) {\n res.finish(500);\n } else {\n __.each(files, function(file) {\n if (size == \"full\" || RegExp(\"_\" + size + \"\\.png$\").test(file)) {\n var filePath = cacheDir + \"/\" + file;\n deleteFile(filePath);\n }\n });\n }\n res.send(202);\n });\n});\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n deleteFile(screenshot);\n res.send(202);\n});\n\napp.post('/exec/*', function(req, res) {\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n\n phantomExec(remoteURL, req.body['script'], {\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) {\n res.end();\n }\n });\n});\n\napp.post('/cloud', function(req, res) {\n var remoteURL = req.body['url'];\n\n var jobId = phantomCloud(url, req.body['script'], {\n metadata: {\n url: remoteURL\n },\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) { }\n });\n\n res.json({\n jobId: jobId\n });\n});\n\napp.get('/cloud/:jobId', function(req, res) {\n var job = phantomQueue.getJobInfo(req.params.jobId);\n\n if (job && job.job) {\n var metadata = job.job.metadata ? job.job.metadata : new Object();\n res.json({\n status: job.status,\n metadata: metadata\n })\n } else {\n res.send(404);\n }\n});\n\napp.delete('/cloud/:jobId', function(req, res) {\n phantomQueue.kill(req.params.jobId);\n res.send(202);\n});\n\napp.get('/queues', function(req, res) {\n res.json({\n phantomjs: phantomQueue.getInfo(),\n exec: execQueue.getInfo(),\n convert: convertQueue.getInfo()\n });\n});\n\napp.listen(PhantomJSServer.port, \"localhost\");","lastSyntaxHighlightTime":1337186100231,"savedTextString":"PhantomJSServer = {\n port: 8105\n}\n\nfunction JobQueue(concurrency) {\n var queue = [];\n var jobs = {}\n\n var lastJobId = 0;\n\n this.nextJobId = function(){\n return ++lastJobId;\n }\n\n this.getInfo = function() {\n return {\n running: Object.keys(jobs),\n queued: queue.length,\n concurrency: concurrency\n };\n }\n\n this.getJobInfo = function(jobId) {\n return jobs[jobId] || __.find(queue, function(e) {\n return e.jobId == jobId;\n });\n }\n\n this.enqueue = function(job, callback) {\n var self = this;\n\n var jobId = this.nextJobId();\n jobObj = {\n 'job': job,\n 'jobId': jobId,\n 'status': \"queued\",\n 'callback': function(code) {\n self._finished(jobId);\n return callback(code);\n }\n }\n\n if (Object.keys(jobs).length < concurrency) {\n this._startJob(jobObj);\n } else {\n queue.push(jobObj);\n }\n\n return jobId;\n }\n\n this.kill = function(jobId) {\n var job = jobs[jobId];\n if (typeof(job) != \"undefined\") {\n job.process.kill();\n return;\n }\n\n // job is still queued, remove it from the queue\n var index = __.find(queue, function(e, index) {\n if (e.jobId == jobId) {\n queue.split(i, 1);\n return true;\n }\n });\n }\n\n this._finished = function(jobId) {\n delete jobs[jobId];\n\n // start the next job in the queue\n if (queue.length > 0) {\n this._startJob(queue.shift())\n }\n }\n\n this._startJob = function(jobObj) {\n var job = jobObj.job;\n var callback = jobObj.callback;\n\n var sanitize = function(string) {\n return \"'\" + string.replace(/['\\\\]/g, '') + \"'\";\n }\n\n command = sanitize(job.executable);\n\n var args = __.map(job.args, function(arg) {\n var clean = sanitize(arg);\n if (clean == \"JOBID\") {\n return jobObj.jobId;\n } else {\n return clean;\n }\n });\n command = command + \" \" + args.join(\" \");\n\n var child = exec(command, job.options, function(error) {\n callback(error);\n });\n\n jobs[jobObj.jobId] = jobObj\n jobObj.process = child;\n jobObj.status = \"running\";\n\n if (job.stdin) {\n child.stdin.write(job.stdin);\n child.stdin.end();\n }\n\n if (job.stdout) {\n child.stdout.addListener('data', function(data) {\n job.stdout(data);\n });\n }\n if (job.stderr) {\n child.stderr.addListener('data', function(data) {\n job.stderr(data);\n });\n }\n }\n}\nvar phantomQueue = new JobQueue(10);\nvar execQueue = new JobQueue(3);\nvar convertQueue = new JobQueue(10);\n\nvar __ = require('underscore'),\n fs = require('fs'),\n crypto = require('crypto'),\n url = require('url'),\n http = require('http'),\n\n exec = require('child_process').exec,\n spawn = require('child_process').spawn;\n\nvar express = require('express'),\n rewriter = require('express-rewrite');\nvar app = express.createServer();\napp.configure(function() {\n app.use(express.logger());\n app.use(rewriter);\n app.use(express.bodyParser());\n app.use(app.router);\n});\n\nfunction withScreenshot(url, filename, callback) {\n try {\n var stat = fs.lstatSync(filename);\n callback(url, filename);\n } catch(e) {\n var script = 'var filename = phantom.args[1];' +\n 'page.render(filename);';\n\n\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n filename\n ],\n stdin: script,\n options: {\n timeout: 30000\n },\n }\n execQueue.enqueue(job, function(error) {\n callback(url, filename);\n });\n }\n}\n\nfunction phantomExec(url, script, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n ],\n stdin: script,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {\n timeout: 60000\n },\n }\n return execQueue.enqueue(job, callbacks.finish);\n}\n\nfunction phantomCloud(url, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/cloud.js\",\n url,\n \"JOBID\"\n ],\n stdin: callbacks.stdin,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {}\n }\n return phantomQueue.enqueue(job, callbacks.finish);\n}\n\napp.get('/screenshot/full/*', function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n console.log(remoteURL);\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshot, function(remoteURL, screenshot) {\n res.sendfile(screenshot);\n });\n } else {\n res.send(404);\n }\n});\n\napp.get('/screenshot/part/', rewriter.rewrite('/screenshot/medium/viral/index.new.xhtml'));\n// app.get('/screenshot/part-:size', rewriter.rewrite('/screenshot/$1/viral/index.new.xhtml'));\n\napp.get(/^\\/screenshot\\/(medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var size = req.params[0];\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshotFull = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n\n switch(size) {\n case \"medium\":\n var convert = [\"-crop\", \"1024x768+0+0\", \"-background\", \"#ffffff\", screenshotFull, screenshot]\n break;\n case \"cropped\":\n var convert = [\"-trim\", screenshotFull, screenshot]\n break;\n case \"thumb\":\n var convert = [\"-trim\", \"-resize\", \"100x100\", screenshotFull, screenshot]\n break;\n }\n\n try {\n var stat = fs.lstatSync(screenshot);\n res.sendfile(screenshot);\n } catch(e) {\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshotFull, function(remoteURL, screenshotFull) {\n var job = {\n executable: \"/usr/bin/convert\",\n args: convert\n }\n convertQueue.enqueue(job, function(code) {\n res.sendfile(screenshot);\n });\n });\n } else {\n res.send(404);\n }\n }\n});\n\nfunction deleteFile(filePath) {\n fs.stat(filePath, function(err, stats) {\n if (!err) {\n if (stats.isFile()) {\n fs.unlink(filePath, function(err) {\n if (err) {\n console.log(JSON.stringify(err));\n } else {\n console.log(\"Removed \" + filePath);\n }\n });\n }\n } else {\n console.log(JSON.stringify(err));\n }\n });\n}\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n fs.readdir(cacheDir, function(err, files) {\n if (err) {\n res.finish(500);\n } else {\n __.each(files, function(file) {\n if (size == \"full\" || RegExp(\"_\" + size + \"\\.png$\").test(file)) {\n var filePath = cacheDir + \"/\" + file;\n deleteFile(filePath);\n }\n });\n }\n res.send(202);\n });\n});\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n deleteFile(screenshot);\n res.send(202);\n});\n\napp.post('/exec/*', function(req, res) {\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n\n phantomExec(remoteURL, req.body['script'], {\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) {\n res.end();\n }\n });\n});\n\napp.post('/cloud', function(req, res) {\n var remoteURL = req.body['url'];\n\n var jobId = phantomCloud(url, req.body['script'], {\n metadata: {\n url: remoteURL\n },\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) { }\n });\n\n res.json({\n jobId: jobId\n });\n});\n\napp.get('/cloud/:jobId', function(req, res) {\n var job = phantomQueue.getJobInfo(req.params.jobId);\n\n if (job && job.job) {\n var metadata = job.job.metadata ? job.job.metadata : new Object();\n res.json({\n status: job.status,\n metadata: metadata\n })\n } else {\n res.send(404);\n }\n});\n\napp.delete('/cloud/:jobId', function(req, res) {\n phantomQueue.kill(req.params.jobId);\n res.send(202);\n});\n\napp.get('/queues', function(req, res) {\n res.json({\n phantomjs: phantomQueue.getInfo(),\n exec: execQueue.getInfo(),\n convert: convertQueue.getInfo()\n });\n});\n\napp.listen(PhantomJSServer.port, \"localhost\");","styleClass":["Browser_codePaneText"],"focusHaloBorderWidth":0.5,"previousSelection":[5944,5944],"showsHalos":false,"charsReplaced":"","lastFindLoc":5647,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3941":{"_Position":{"__isSmartRef__":true,"id":3942},"renderContextTable":{"__isSmartRef__":true,"id":3943},"_Extent":{"__isSmartRef__":true,"id":3944},"_Padding":{"__isSmartRef__":true,"id":3945},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3946},"_Fill":{"__isSmartRef__":true,"id":2054},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3942":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3943":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3944":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3945":{"x":5,"y":5,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3946":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3947":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3948":{"style":{"__isSmartRef__":true,"id":3949},"chunkOwner":{"__isSmartRef__":true,"id":3940},"storedString":"PhantomJSServer = {\n port: 8105\n}\n\nfunction JobQueue(concurrency) {\n var queue = [];\n var jobs = {}\n\n var lastJobId = 0;\n\n this.nextJobId = function(){\n return ++lastJobId;\n }\n\n this.getInfo = function() {\n return {\n running: Object.keys(jobs),\n queued: queue.length,\n concurrency: concurrency\n };\n }\n\n this.getJobInfo = function(jobId) {\n return jobs[jobId] || __.find(queue, function(e) {\n return e.jobId == jobId;\n });\n }\n\n this.enqueue = function(job, callback) {\n var self = this;\n\n var jobId = this.nextJobId();\n jobObj = {\n 'job': job,\n 'jobId': jobId,\n 'status': \"queued\",\n 'callback': function(code) {\n self._finished(jobId);\n return callback(code);\n }\n }\n\n if (Object.keys(jobs).length < concurrency) {\n this._startJob(jobObj);\n } else {\n queue.push(jobObj);\n }\n\n return jobId;\n }\n\n this.kill = function(jobId) {\n var job = jobs[jobId];\n if (typeof(job) != \"undefined\") {\n job.process.kill();\n return;\n }\n\n // job is still queued, remove it from the queue\n var index = __.find(queue, function(e, index) {\n if (e.jobId == jobId) {\n queue.split(i, 1);\n return true;\n }\n });\n }\n\n this._finished = function(jobId) {\n delete jobs[jobId];\n\n // start the next job in the queue\n if (queue.length > 0) {\n this._startJob(queue.shift())\n }\n }\n\n this._startJob = function(jobObj) {\n var job = jobObj.job;\n var callback = jobObj.callback;\n\n var sanitize = function(string) {\n return \"'\" + string.replace(/['\\\\]/g, '') + \"'\";\n }\n\n command = sanitize(job.executable);\n\n var args = __.map(job.args, function(arg) {\n var clean = sanitize(arg);\n if (clean == \"JOBID\") {\n return jobObj.jobId;\n } else {\n return clean;\n }\n });\n command = command + \" \" + args.join(\" \");\n\n var child = exec(command, job.options, function(error) {\n callback(error);\n });\n\n jobs[jobObj.jobId] = jobObj\n jobObj.process = child;\n jobObj.status = \"running\";\n\n if (job.stdin) {\n child.stdin.write(job.stdin);\n child.stdin.end();\n }\n\n if (job.stdout) {\n child.stdout.addListener('data', function(data) {\n job.stdout(data);\n });\n }\n if (job.stderr) {\n child.stderr.addListener('data', function(data) {\n job.stderr(data);\n });\n }\n }\n}\nvar phantomQueue = new JobQueue(10);\nvar execQueue = new JobQueue(3);\nvar convertQueue = new JobQueue(10);\n\nvar __ = require('underscore'),\n fs = require('fs'),\n crypto = require('crypto'),\n url = require('url'),\n http = require('http'),\n\n exec = require('child_process').exec,\n spawn = require('child_process').spawn;\n\nvar express = require('express'),\n rewriter = require('express-rewrite');\nvar app = express.createServer();\napp.configure(function() {\n app.use(express.logger());\n app.use(rewriter);\n app.use(express.bodyParser());\n app.use(app.router);\n});\n\nfunction withScreenshot(url, filename, callback) {\n try {\n var stat = fs.lstatSync(filename);\n callback(url, filename);\n } catch(e) {\n var script = 'var filename = phantom.args[1];' +\n 'page.render(filename);';\n\n\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n filename\n ],\n stdin: script,\n options: {\n timeout: 30000\n },\n }\n execQueue.enqueue(job, function(error) {\n callback(url, filename);\n });\n }\n}\n\nfunction phantomExec(url, script, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/doit.js\",\n url,\n ],\n stdin: script,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {\n timeout: 60000\n },\n }\n return execQueue.enqueue(job, callbacks.finish);\n}\n\nfunction phantomCloud(url, callbacks) {\n var job = {\n executable: \"/usr/local/bin/phantomjs\",\n args: [ \"/home/nodejs/phantomjs/cloud.js\",\n url,\n \"JOBID\"\n ],\n stdin: callbacks.stdin,\n stdout: callbacks.stdout,\n stderr: callbacks.stderr,\n options: {}\n }\n return phantomQueue.enqueue(job, callbacks.finish);\n}\n\napp.get('/screenshot/full/*', function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n console.log(remoteURL);\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshot, function(remoteURL, screenshot) {\n res.sendfile(screenshot);\n });\n } else {\n res.send(404);\n }\n});\n\napp.get('/screenshot/part', rewriter.rewrite('/screenshot/medium/viral/index.new.xhtml'));\n// app.get('/screenshot/part-:size', rewriter.rewrite('/screenshot/$1/viral/index.new.xhtml'));\n\napp.get(/^\\/screenshot\\/(medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var size = req.params[0];\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshotFull = cacheDir + \"/\" + urlMD5 + \"_full.png\";\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n\n switch(size) {\n case \"medium\":\n var convert = [\"-crop\", \"1024x768+0+0\", \"-background\", \"#ffffff\", screenshotFull, screenshot]\n break;\n case \"cropped\":\n var convert = [\"-trim\", screenshotFull, screenshot]\n break;\n case \"thumb\":\n var convert = [\"-trim\", \"-resize\", \"100x100\", screenshotFull, screenshot]\n break;\n }\n\n try {\n var stat = fs.lstatSync(screenshot);\n res.sendfile(screenshot);\n } catch(e) {\n if (/^[^?]+\\.x?html(\\?.*)?$/.test(remoteURL)) {\n withScreenshot(remoteURL, screenshotFull, function(remoteURL, screenshotFull) {\n var job = {\n executable: \"/usr/bin/convert\",\n args: convert\n }\n convertQueue.enqueue(job, function(code) {\n res.sendfile(screenshot);\n });\n });\n } else {\n res.send(404);\n }\n }\n});\n\nfunction deleteFile(filePath) {\n fs.stat(filePath, function(err, stats) {\n if (!err) {\n if (stats.isFile()) {\n fs.unlink(filePath, function(err) {\n if (err) {\n console.log(JSON.stringify(err));\n } else {\n console.log(\"Removed \" + filePath);\n }\n });\n }\n } else {\n console.log(JSON.stringify(err));\n }\n });\n}\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n fs.readdir(cacheDir, function(err, files) {\n if (err) {\n res.finish(500);\n } else {\n __.each(files, function(file) {\n if (size == \"full\" || RegExp(\"_\" + size + \"\\.png$\").test(file)) {\n var filePath = cacheDir + \"/\" + file;\n deleteFile(filePath);\n }\n });\n }\n res.send(202);\n });\n});\n\napp.delete(/^\\/screenshot\\/(full|medium|cropped|thumb)\\/(.+)$/, function(req, res) {\n var size = req.params[0];\n var cacheDir = '/home/nodejs/phantomjs/screenshots';\n\n var remoteURL = 'http://lively-kernel.org/' + req.params[1];\n remoteURL += (url.parse(req.url, true).search || \"\");\n\n var md5sum = crypto.createHash('md5');\n md5sum.update(remoteURL);\n var urlMD5 = md5sum.digest('hex');\n\n var screenshot = cacheDir + \"/\" + urlMD5 + \"_\" + size + \".png\";\n deleteFile(screenshot);\n res.send(202);\n});\n\napp.post('/exec/*', function(req, res) {\n var remoteURL = 'http://lively-kernel.org/' + req.params[0];\n\n phantomExec(remoteURL, req.body['script'], {\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) {\n res.end();\n }\n });\n});\n\napp.post('/cloud', function(req, res) {\n var remoteURL = req.body['url'];\n\n var jobId = phantomCloud(url, req.body['script'], {\n metadata: {\n url: remoteURL\n },\n stdout: function(data) { res.write(data); },\n stderr: function(data) { res.write(data); },\n finish: function(error) { }\n });\n\n res.json({\n jobId: jobId\n });\n});\n\napp.get('/cloud/:jobId', function(req, res) {\n var job = phantomQueue.getJobInfo(req.params.jobId);\n\n if (job && job.job) {\n var metadata = job.job.metadata ? job.job.metadata : new Object();\n res.json({\n status: job.status,\n metadata: metadata\n })\n } else {\n res.send(404);\n }\n});\n\napp.delete('/cloud/:jobId', function(req, res) {\n phantomQueue.kill(req.params.jobId);\n res.send(202);\n});\n\napp.get('/queues', function(req, res) {\n res.json({\n phantomjs: phantomQueue.getInfo(),\n exec: execQueue.getInfo(),\n convert: convertQueue.getInfo()\n });\n});\n\napp.listen(PhantomJSServer.port, \"localhost\");","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3949":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3950":{"morph":{"__isSmartRef__":true,"id":3940},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3951":{"x":0,"y":247.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3952":{"x":820,"y":302.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3953":{"scaleVertical":true,"scaleHorizontal":true},"3954":{"sourceObj":{"__isSmartRef__":true,"id":3940},"sourceAttrName":"textString","targetObj":{"__isSmartRef__":true,"id":3940},"targetMethodName":"highlightJavaScriptSyntax","__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3955":{"sourceObj":{"__isSmartRef__":true,"id":3940},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setSourceString","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":3956},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3956":{"source":{"__isSmartRef__":true,"id":3940},"target":{"__isSmartRef__":true,"id":3221}},"3957":{"source":{"__isSmartRef__":true,"id":3221},"target":{"__isSmartRef__":true,"id":3940}},"3958":{"sourceObj":{"__isSmartRef__":true,"id":3221},"sourceAttrName":"targetURL","targetObj":{"__isSmartRef__":true,"id":3206},"targetMethodName":"setTextString","converter":null,"converterString":null,"updaterString":"function ($upd, value) { value && $upd(String(value)) }","varMapping":{"__isSmartRef__":true,"id":3959},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":3960},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"3959":{"source":{"__isSmartRef__":true,"id":3221},"target":{"__isSmartRef__":true,"id":3206}},"3960":{"updater":{"__isSmartRef__":true,"id":3961}},"3961":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":3959},"source":"function ($upd, value) { value && $upd(String(value)) }","funcProperties":{"__isSmartRef__":true,"id":3962},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"3962":{},"3963":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3964},"derivationIds":[null],"id":"5E23AE96-5B59-45C8-A75F-D9A55EFA3340","renderContextTable":{"__isSmartRef__":true,"id":3970},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3971}],"eventHandler":{"__isSmartRef__":true,"id":3973},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"owner":null,"priorExtent":{"__isSmartRef__":true,"id":3974},"_MaxTextWidth":292,"_MinTextWidth":292,"_MaxTextHeight":null,"_MinTextHeight":null,"_TextColor":{"__isSmartRef__":true,"id":3212},"_Position":{"__isSmartRef__":true,"id":3975},"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3964":{"_Position":{"__isSmartRef__":true,"id":3965},"renderContextTable":{"__isSmartRef__":true,"id":3966},"_Extent":{"__isSmartRef__":true,"id":3967},"_Padding":{"__isSmartRef__":true,"id":3968},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":{"__isSmartRef__":true,"id":3969},"_StrokeOpacity":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3965":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3966":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3967":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3968":{"x":4,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3969":{"r":0.9529411764705882,"g":0.9529411764705882,"b":0.9529411764705882,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3970":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3971":{"style":{"__isSmartRef__":true,"id":3972},"chunkOwner":{"__isSmartRef__":true,"id":3963},"storedString":"Saving server/nodejs/PhantomJSServer.js...\nSuccessfully saved\nEval disabled for server/nodejs/PhantomJSServer.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3972":{"__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3973":{"morph":{"__isSmartRef__":true,"id":3963},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3974":{"x":300,"y":30,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3975":{"x":260,"y":136.25,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3976":{"source":{"__isSmartRef__":true,"id":3206},"target":{"__isSmartRef__":true,"id":3221}},"3977":{"submorphs":[{"__isSmartRef__":true,"id":3978}],"scripts":[],"shape":{"__isSmartRef__":true,"id":3989},"derivationIds":[null],"id":"92305524-9E6E-4DA5-9908-73802CA8F24D","renderContextTable":{"__isSmartRef__":true,"id":3993},"eventHandler":{"__isSmartRef__":true,"id":3994},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":3995},"priorExtent":{"__isSmartRef__":true,"id":3996},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":3997},"label":{"__isSmartRef__":true,"id":3978},"owner":{"__isSmartRef__":true,"id":3205},"attributeConnections":[{"__isSmartRef__":true,"id":4006}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":4008},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"3978":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":3979},"derivationIds":[null],"id":"721843F0-6397-4FC1-80F7-0970EDE2AB84","renderContextTable":{"__isSmartRef__":true,"id":3984},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":3985}],"eventHandler":{"__isSmartRef__":true,"id":3987},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":3977},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":3988},"_MaxTextWidth":94.39999999999999,"_MinTextWidth":94.39999999999999,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3979":{"_Position":{"__isSmartRef__":true,"id":3980},"renderContextTable":{"__isSmartRef__":true,"id":3981},"_Extent":{"__isSmartRef__":true,"id":3982},"_Padding":{"__isSmartRef__":true,"id":3983},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3980":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3981":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3982":{"x":98.39999999999999,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3983":{"x":2,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3984":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"3985":{"style":{"__isSmartRef__":true,"id":3986},"chunkOwner":{"__isSmartRef__":true,"id":3978},"storedString":"codebase","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3986":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"3987":{"morph":{"__isSmartRef__":true,"id":3978},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3988":{"x":98.39999999999999,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3989":{"_Position":{"__isSmartRef__":true,"id":3990},"renderContextTable":{"__isSmartRef__":true,"id":3991},"_Extent":{"__isSmartRef__":true,"id":3988},"_Padding":{"__isSmartRef__":true,"id":3992},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3990":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3991":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"3992":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3993":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"3994":{"morph":{"__isSmartRef__":true,"id":3977},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"3995":{"x":656,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3996":{"x":98.39999999999999,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"3997":{"stops":[{"__isSmartRef__":true,"id":3998},{"__isSmartRef__":true,"id":4000},{"__isSmartRef__":true,"id":4002},{"__isSmartRef__":true,"id":4004}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"3998":{"offset":0,"color":{"__isSmartRef__":true,"id":3999}},"3999":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4000":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4001}},"4001":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4002":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4003}},"4003":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4004":{"offset":1,"color":{"__isSmartRef__":true,"id":4005}},"4005":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4006":{"sourceObj":{"__isSmartRef__":true,"id":3977},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.codeBase.withFilename('lively/')}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4007},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4007":{"source":{"__isSmartRef__":true,"id":3977},"target":{"__isSmartRef__":true,"id":3221}},"4008":{"scaleVertical":true,"scaleHorizontal":true},"4009":{"submorphs":[{"__isSmartRef__":true,"id":4010}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4021},"derivationIds":[null],"id":"1C8B3B1B-34EA-404D-8418-5E0785CF49C7","renderContextTable":{"__isSmartRef__":true,"id":4025},"eventHandler":{"__isSmartRef__":true,"id":4026},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4027},"priorExtent":{"__isSmartRef__":true,"id":4028},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":4029},"label":{"__isSmartRef__":true,"id":4010},"owner":{"__isSmartRef__":true,"id":3205},"attributeConnections":[{"__isSmartRef__":true,"id":4038}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"layout":{"__isSmartRef__":true,"id":4040},"__LivelyClassName__":"lively.morphic.Button","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4010":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4011},"derivationIds":[null],"id":"B63C738A-C51B-4396-8784-428C42D10374","renderContextTable":{"__isSmartRef__":true,"id":4016},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4017}],"eventHandler":{"__isSmartRef__":true,"id":4019},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4009},"isLabel":true,"_HandStyle":"default","_TextColor":{"__isSmartRef__":true,"id":3212},"_Align":"center","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4020},"_MaxTextWidth":61.599999999999994,"_MinTextWidth":61.599999999999994,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4011":{"_Position":{"__isSmartRef__":true,"id":4012},"renderContextTable":{"__isSmartRef__":true,"id":4013},"_Extent":{"__isSmartRef__":true,"id":4014},"_Padding":{"__isSmartRef__":true,"id":4015},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4012":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4013":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4014":{"x":65.6,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4015":{"x":2,"y":2,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4016":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4017":{"style":{"__isSmartRef__":true,"id":4018},"chunkOwner":{"__isSmartRef__":true,"id":4010},"storedString":"local","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4018":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4019":{"morph":{"__isSmartRef__":true,"id":4010},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4020":{"x":65.6,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4021":{"_Position":{"__isSmartRef__":true,"id":4022},"renderContextTable":{"__isSmartRef__":true,"id":4023},"_Extent":{"__isSmartRef__":true,"id":4020},"_Padding":{"__isSmartRef__":true,"id":4024},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4022":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4023":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4024":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4025":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4026":{"morph":{"__isSmartRef__":true,"id":4009},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4027":{"x":754.4,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4028":{"x":65.6,"y":16.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4029":{"stops":[{"__isSmartRef__":true,"id":4030},{"__isSmartRef__":true,"id":4032},{"__isSmartRef__":true,"id":4034},{"__isSmartRef__":true,"id":4036}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4030":{"offset":0,"color":{"__isSmartRef__":true,"id":4031}},"4031":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4032":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4033}},"4033":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4034":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4035}},"4035":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4036":{"offset":1,"color":{"__isSmartRef__":true,"id":4037}},"4037":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4038":{"sourceObj":{"__isSmartRef__":true,"id":4009},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3221},"targetMethodName":"setTargetURL","converter":null,"converterString":"function () { return URL.source.getDirectory() }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4039},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4039":{"source":{"__isSmartRef__":true,"id":4009},"target":{"__isSmartRef__":true,"id":3221}},"4040":{"scaleVertical":true,"scaleHorizontal":true},"4041":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4042},"derivationIds":[null],"id":"7E9A252F-80A7-4C8D-8325-AC42F3A7B8D8","renderContextTable":{"__isSmartRef__":true,"id":4054},"eventHandler":{"__isSmartRef__":true,"id":4055},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"draggingEnabled":true,"_Position":{"__isSmartRef__":true,"id":4056},"fixed":[{"__isSmartRef__":true,"id":3223},{"__isSmartRef__":true,"id":3267},{"__isSmartRef__":true,"id":3301},{"__isSmartRef__":true,"id":3335},{"__isSmartRef__":true,"id":3369},{"__isSmartRef__":true,"id":3403},{"__isSmartRef__":true,"id":3437}],"scalingBelow":[{"__isSmartRef__":true,"id":3940}],"scalingAbove":[{"__isSmartRef__":true,"id":3478},{"__isSmartRef__":true,"id":3825},{"__isSmartRef__":true,"id":3866},{"__isSmartRef__":true,"id":3903}],"minHeight":20,"pointerConnection":null,"priorExtent":{"__isSmartRef__":true,"id":4057},"owner":{"__isSmartRef__":true,"id":3205},"styleClass":["Browser_resizer"],"layout":{"__isSmartRef__":true,"id":4058},"__LivelyClassName__":"lively.morphic.HorizontalDivider","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4042":{"_Position":{"__isSmartRef__":true,"id":4043},"renderContextTable":{"__isSmartRef__":true,"id":4044},"_Extent":{"__isSmartRef__":true,"id":4045},"_Padding":{"__isSmartRef__":true,"id":4046},"_Fill":{"__isSmartRef__":true,"id":4047},"_BorderRadius":3,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4043":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4044":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4045":{"x":820,"y":5.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4046":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4047":{"stops":[{"__isSmartRef__":true,"id":4048},{"__isSmartRef__":true,"id":4050},{"__isSmartRef__":true,"id":4052}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4048":{"offset":0,"color":{"__isSmartRef__":true,"id":4049}},"4049":{"r":0.92,"g":0.92,"b":0.92,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4050":{"offset":0.5,"color":{"__isSmartRef__":true,"id":4051}},"4051":{"r":0.8400000000000001,"g":0.8400000000000001,"b":0.8400000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4052":{"offset":1,"color":{"__isSmartRef__":true,"id":4053}},"4053":{"r":0.7200000000000001,"g":0.7200000000000001,"b":0.7200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4054":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4055":{"morph":{"__isSmartRef__":true,"id":4041},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4056":{"x":0,"y":242,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4057":{"x":820,"y":5.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4058":{"scaleVertical":true,"scaleHorizontal":true},"4059":{"_Position":{"__isSmartRef__":true,"id":4060},"renderContextTable":{"__isSmartRef__":true,"id":4061},"_Extent":{"__isSmartRef__":true,"id":4062},"_Padding":{"__isSmartRef__":true,"id":4063},"_Fill":{"__isSmartRef__":true,"id":4064},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4060":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4061":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4062":{"x":820,"y":550,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4063":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4064":{"r":0.9019607843137255,"g":0.9019607843137255,"b":0.9019607843137255,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4065":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4066":{"morph":{"__isSmartRef__":true,"id":3205},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4067":{"resizeWidth":true,"resizeHeight":true,"adjustForNewBounds":true},"4068":{"x":0,"y":21,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4069":{"submorphs":[{"__isSmartRef__":true,"id":4070},{"__isSmartRef__":true,"id":4083},{"__isSmartRef__":true,"id":4117},{"__isSmartRef__":true,"id":4150}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4184},"derivationIds":[null],"id":"BD2A17D0-288E-48CA-A2EF-5A85DAB69C6F","renderContextTable":{"__isSmartRef__":true,"id":4194},"eventHandler":{"__isSmartRef__":true,"id":4195},"_ClipMode":"visible","droppingEnabled":false,"halosEnabled":true,"layout":{"__isSmartRef__":true,"id":4196},"_Position":{"__isSmartRef__":true,"id":4197},"windowMorph":{"__isSmartRef__":true,"id":3204},"label":{"__isSmartRef__":true,"id":4070},"closeButton":{"__isSmartRef__":true,"id":4083},"menuButton":{"__isSmartRef__":true,"id":4117},"collapseButton":{"__isSmartRef__":true,"id":4150},"priorExtent":{"__isSmartRef__":true,"id":4198},"owner":{"__isSmartRef__":true,"id":3204},"__LivelyClassName__":"lively.morphic.TitleBar","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4070":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4071},"derivationIds":[null],"id":"CC449E1F-2E30-4928-9393-1D7247B13E2A","renderContextTable":{"__isSmartRef__":true,"id":4076},"_WhiteSpaceHandling":"pre-wrap","textChunks":[{"__isSmartRef__":true,"id":4077}],"eventHandler":{"__isSmartRef__":true,"id":4079},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"evalEnabled":false,"isLabel":true,"_HandStyle":"default","layout":{"__isSmartRef__":true,"id":4080},"_TextColor":{"__isSmartRef__":true,"id":3946},"_Align":"center","eventsAreIgnored":true,"owner":{"__isSmartRef__":true,"id":4069},"_Position":{"__isSmartRef__":true,"id":4081},"priorExtent":{"__isSmartRef__":true,"id":4082},"_MaxTextWidth":761,"_MinTextWidth":761,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4071":{"_Position":{"__isSmartRef__":true,"id":4072},"renderContextTable":{"__isSmartRef__":true,"id":4073},"_Extent":{"__isSmartRef__":true,"id":4074},"_Padding":{"__isSmartRef__":true,"id":4075},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"_BorderRadius":0,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4072":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4073":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4074":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4075":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4076":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4077":{"style":{"__isSmartRef__":true,"id":4078},"chunkOwner":{"__isSmartRef__":true,"id":4070},"storedString":"PhantomJSServer.js","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4078":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","fontWeight":"bold","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4079":{"morph":{"__isSmartRef__":true,"id":4070},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4080":{"resizeWidth":true},"4081":{"x":20,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4082":{"x":761,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4083":{"submorphs":[{"__isSmartRef__":true,"id":4084}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4094},"derivationIds":[null],"id":"C9550123-32DB-4E2A-9967-533AF2968B37","renderContextTable":{"__isSmartRef__":true,"id":4099},"eventHandler":{"__isSmartRef__":true,"id":4100},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4101},"priorExtent":{"__isSmartRef__":true,"id":4102},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":4103},"label":{"__isSmartRef__":true,"id":4084},"owner":{"__isSmartRef__":true,"id":4069},"layout":{"__isSmartRef__":true,"id":4112},"attributeConnections":[{"__isSmartRef__":true,"id":4113},{"__isSmartRef__":true,"id":4115}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4084":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4085},"derivationIds":[null],"id":"2C83B1AF-4B4E-4EA5-BE3F-DB24299423F3","renderContextTable":{"__isSmartRef__":true,"id":4089},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4090}],"eventHandler":{"__isSmartRef__":true,"id":4092},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4083},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4093},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4085":{"_Position":{"__isSmartRef__":true,"id":4086},"renderContextTable":{"__isSmartRef__":true,"id":4087},"_Extent":{"__isSmartRef__":true,"id":4088},"_Padding":{"__isSmartRef__":true,"id":3968},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4086":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4087":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4088":{"x":15,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4089":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4090":{"style":{"__isSmartRef__":true,"id":4091},"chunkOwner":{"__isSmartRef__":true,"id":4084},"storedString":"X","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4091":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4092":{"morph":{"__isSmartRef__":true,"id":4084},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4093":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4094":{"_Position":{"__isSmartRef__":true,"id":4095},"renderContextTable":{"__isSmartRef__":true,"id":4096},"_Extent":{"__isSmartRef__":true,"id":4097},"_Padding":{"__isSmartRef__":true,"id":4098},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4095":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4096":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4097":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4098":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4099":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4100":{"morph":{"__isSmartRef__":true,"id":4083},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4101":{"x":800,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4102":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4103":{"stops":[{"__isSmartRef__":true,"id":4104},{"__isSmartRef__":true,"id":4106},{"__isSmartRef__":true,"id":4108},{"__isSmartRef__":true,"id":4110}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4104":{"offset":0,"color":{"__isSmartRef__":true,"id":4105}},"4105":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4106":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4107}},"4107":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4108":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4109}},"4109":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4110":{"offset":1,"color":{"__isSmartRef__":true,"id":4111}},"4111":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4112":{"moveHorizontal":true},"4113":{"sourceObj":{"__isSmartRef__":true,"id":4083},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3204},"targetMethodName":"getCloseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4114},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4114":{"source":{"__isSmartRef__":true,"id":4083},"target":{"__isSmartRef__":true,"id":3204}},"4115":{"sourceObj":{"__isSmartRef__":true,"id":4083},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3204},"targetMethodName":"initiateShutdown","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4116},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4116":{"source":{"__isSmartRef__":true,"id":4083},"target":{"__isSmartRef__":true,"id":3204}},"4117":{"submorphs":[{"__isSmartRef__":true,"id":4118}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4128},"derivationIds":[null],"id":"3E91D367-DBDE-46B2-852B-6E5D213FDBC4","renderContextTable":{"__isSmartRef__":true,"id":4133},"eventHandler":{"__isSmartRef__":true,"id":4134},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4135},"priorExtent":{"__isSmartRef__":true,"id":4136},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":4137},"label":{"__isSmartRef__":true,"id":4118},"owner":{"__isSmartRef__":true,"id":4069},"attributeConnections":[{"__isSmartRef__":true,"id":4146},{"__isSmartRef__":true,"id":4148}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4118":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4119},"derivationIds":[null],"id":"5D8ACC78-93E9-436D-AD41-C852894F4C03","renderContextTable":{"__isSmartRef__":true,"id":4123},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4124}],"eventHandler":{"__isSmartRef__":true,"id":4126},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4117},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4127},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__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":3968},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4120":{"x":0,"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"},"4122":{"x":17,"y":17,"__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","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":"M","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4125":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4126":{"morph":{"__isSmartRef__":true,"id":4118},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4127":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4128":{"_Position":{"__isSmartRef__":true,"id":4129},"renderContextTable":{"__isSmartRef__":true,"id":4130},"_Extent":{"__isSmartRef__":true,"id":4131},"_Padding":{"__isSmartRef__":true,"id":4132},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4129":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4130":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4131":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4132":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4133":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4134":{"morph":{"__isSmartRef__":true,"id":4117},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4135":{"x":3,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4136":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4137":{"stops":[{"__isSmartRef__":true,"id":4138},{"__isSmartRef__":true,"id":4140},{"__isSmartRef__":true,"id":4142},{"__isSmartRef__":true,"id":4144}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4138":{"offset":0,"color":{"__isSmartRef__":true,"id":4139}},"4139":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4140":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4141}},"4141":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4142":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4143}},"4143":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4144":{"offset":1,"color":{"__isSmartRef__":true,"id":4145}},"4145":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4146":{"sourceObj":{"__isSmartRef__":true,"id":4117},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3204},"targetMethodName":"getMenuHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4147},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4147":{"source":{"__isSmartRef__":true,"id":4117},"target":{"__isSmartRef__":true,"id":3204}},"4148":{"sourceObj":{"__isSmartRef__":true,"id":4117},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3204},"targetMethodName":"showTargetMorphMenu","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4149},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4149":{"source":{"__isSmartRef__":true,"id":4117},"target":{"__isSmartRef__":true,"id":3204}},"4150":{"submorphs":[{"__isSmartRef__":true,"id":4151}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4161},"derivationIds":[null],"id":"D55A5C7E-53CE-4A92-BC17-13886DAAE68C","renderContextTable":{"__isSmartRef__":true,"id":4166},"eventHandler":{"__isSmartRef__":true,"id":4167},"_ClipMode":"visible","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"accessibleInInactiveWindow":true,"_Position":{"__isSmartRef__":true,"id":4168},"priorExtent":{"__isSmartRef__":true,"id":4169},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":3240},"lighterFill":{"__isSmartRef__":true,"id":4170},"label":{"__isSmartRef__":true,"id":4151},"owner":{"__isSmartRef__":true,"id":4069},"layout":{"__isSmartRef__":true,"id":4179},"attributeConnections":[{"__isSmartRef__":true,"id":4180},{"__isSmartRef__":true,"id":4182}],"doNotSerialize":["$$getHelpText","$$fire"],"doNotCopyProperties":["$$getHelpText","$$fire"],"__LivelyClassName__":"lively.morphic.WindowControl","__SourceModuleName__":"Global.lively.morphic.Widgets"},"4151":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4152},"derivationIds":[null],"id":"3626B055-AB20-4D9D-B4FF-F10331D5216E","renderContextTable":{"__isSmartRef__":true,"id":4156},"_WhiteSpaceHandling":"pre","textChunks":[{"__isSmartRef__":true,"id":4157}],"eventHandler":{"__isSmartRef__":true,"id":4159},"_ClipMode":"hidden","grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":false,"fixedHeight":true,"_InputAllowed":false,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":8,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4150},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"priorExtent":{"__isSmartRef__":true,"id":4160},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"__LivelyClassName__":"lively.morphic.Text","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4152":{"_Position":{"__isSmartRef__":true,"id":4153},"renderContextTable":{"__isSmartRef__":true,"id":4154},"_Extent":{"__isSmartRef__":true,"id":4155},"_Padding":{"__isSmartRef__":true,"id":3968},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3212},"_Fill":null,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4153":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4154":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4155":{"x":14,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4156":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4157":{"style":{"__isSmartRef__":true,"id":4158},"chunkOwner":{"__isSmartRef__":true,"id":4151},"storedString":"–","__LivelyClassName__":"lively.morphic.TextChunk","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4158":{"textShadow":"0px 1px 0 rgba(255,255,255,1)","__LivelyClassName__":"lively.morphic.TextEmphasis","__SourceModuleName__":"Global.lively.morphic.TextCore"},"4159":{"morph":{"__isSmartRef__":true,"id":4151},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4160":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4161":{"_Position":{"__isSmartRef__":true,"id":4162},"renderContextTable":{"__isSmartRef__":true,"id":4163},"_Extent":{"__isSmartRef__":true,"id":4164},"_Padding":{"__isSmartRef__":true,"id":4165},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":3239},"_Fill":{"__isSmartRef__":true,"id":3240},"_StrokeOpacity":0,"_BorderRadius":5,"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4162":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4163":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4164":{"x":17,"y":17,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4165":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4166":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4167":{"morph":{"__isSmartRef__":true,"id":4150},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4168":{"x":781,"y":3,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4169":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4170":{"stops":[{"__isSmartRef__":true,"id":4171},{"__isSmartRef__":true,"id":4173},{"__isSmartRef__":true,"id":4175},{"__isSmartRef__":true,"id":4177}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4171":{"offset":0,"color":{"__isSmartRef__":true,"id":4172}},"4172":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4173":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4174}},"4174":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4175":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4176}},"4176":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4177":{"offset":1,"color":{"__isSmartRef__":true,"id":4178}},"4178":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4179":{"moveHorizontal":true},"4180":{"sourceObj":{"__isSmartRef__":true,"id":4150},"sourceAttrName":"getHelpText","targetObj":{"__isSmartRef__":true,"id":3204},"targetMethodName":"getCollapseHelp","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4181},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4181":{"source":{"__isSmartRef__":true,"id":4150},"target":{"__isSmartRef__":true,"id":3204}},"4182":{"sourceObj":{"__isSmartRef__":true,"id":4150},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":3204},"targetMethodName":"toggleCollapse","converter":null,"converterString":null,"updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4183},"__LivelyClassName__":"AttributeConnection","__SourceModuleName__":"Global.lively.bindings"},"4183":{"source":{"__isSmartRef__":true,"id":4150},"target":{"__isSmartRef__":true,"id":3204}},"4184":{"_Position":{"__isSmartRef__":true,"id":4185},"renderContextTable":{"__isSmartRef__":true,"id":4186},"_Extent":{"__isSmartRef__":true,"id":4187},"_Padding":{"__isSmartRef__":true,"id":4188},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":3946},"_Fill":{"__isSmartRef__":true,"id":4189},"_StrokeOpacity":1,"_BorderRadius":"8px 8px 0px 0px","__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4185":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4186":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4187":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4188":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4189":{"stops":[{"__isSmartRef__":true,"id":4190},{"__isSmartRef__":true,"id":4192}],"vector":{"__isSmartRef__":true,"id":2057},"__LivelyClassName__":"lively.morphic.LinearGradient","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4190":{"offset":0,"color":{"__isSmartRef__":true,"id":4191}},"4191":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4192":{"offset":1,"color":{"__isSmartRef__":true,"id":4193}},"4193":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4194":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4195":{"morph":{"__isSmartRef__":true,"id":4069},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4196":{"resizeWidth":true,"adjustForNewBounds":true},"4197":{"x":0,"y":0,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4198":{"x":820,"y":22,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4199":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4200},"derivationIds":[null],"id":"01844546-1F47-4B1B-BDA9-D806BB6E89FA","renderContextTable":{"__isSmartRef__":true,"id":4209},"eventHandler":{"__isSmartRef__":true,"id":4210},"_ClipMode":"visible","droppingEnabled":true,"halosEnabled":true,"owner":{"__isSmartRef__":true,"id":3204},"_Position":{"__isSmartRef__":true,"id":4211},"_Rotation":0,"_Scale":1,"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4212},"__LivelyClassName__":"lively.morphic.Path","__SourceModuleName__":"Global.lively.morphic.AdditionalMorphs"},"4200":{"dontChangeShape":false,"cachedVertices":null,"_PathElements":[{"__isSmartRef__":true,"id":4201},{"__isSmartRef__":true,"id":4202},{"__isSmartRef__":true,"id":4203}],"renderContextTable":{"__isSmartRef__":true,"id":4204},"_Position":{"__isSmartRef__":true,"id":4205},"_Extent":{"__isSmartRef__":true,"id":4206},"_Padding":{"__isSmartRef__":true,"id":4207},"_BorderWidth":0,"_BorderColor":null,"_Fill":{"__isSmartRef__":true,"id":4208},"__LivelyClassName__":"lively.morphic.Shapes.Path","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"4201":{"isAbsolute":true,"x":14,"y":0,"__LivelyClassName__":"lively.morphic.Shapes.MoveTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"4202":{"isAbsolute":true,"x":14,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"4203":{"isAbsolute":true,"x":0,"y":14,"__LivelyClassName__":"lively.morphic.Shapes.LineTo","__SourceModuleName__":"Global.lively.morphic.PathShapes"},"4204":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","getPathNode":"getPathNodeHTML","setPathElements":"setPathElementsHTML","getPathBounds":"getPathBoundsHTML","getTotalLength":"getTotalLengthHTML","getPointAtTotalLength":"getPointAtTotalLengthHTML"},"4205":{"x":-1,"y":-1,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4206":{"x":15,"y":15,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4207":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4208":{"r":0.8,"g":0.8,"b":0.8,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4209":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4210":{"morph":{"__isSmartRef__":true,"id":4199},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4211":{"x":806,"y":557,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4212":{"onDragStart":{"__isSmartRef__":true,"id":4213},"onDrag":{"__isSmartRef__":true,"id":4220},"onDragEnd":{"__isSmartRef__":true,"id":4227}},"4213":{"varMapping":{"__isSmartRef__":true,"id":4214},"source":"function onDragStart(evt) {\n this.dragStartPoint = evt.mousePoint;\n this.originalTargetExtent = this.owner.getExtent();\n }","funcProperties":{"__isSmartRef__":true,"id":4219},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4214":{"this":{"__isSmartRef__":true,"id":4199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4215}},"4215":{"$super":{"__isSmartRef__":true,"id":4216}},"4216":{"varMapping":{"__isSmartRef__":true,"id":4217},"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":4218},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4217":{"obj":{"__isSmartRef__":true,"id":4199},"name":"onDragStart"},"4218":{},"4219":{},"4220":{"varMapping":{"__isSmartRef__":true,"id":4221},"source":"function onDrag(evt) {\n var moveDelta = evt.mousePoint.subPt(this.dragStartPoint)\n if (evt.isShiftDown()) {\n var maxDelta = Math.max(moveDelta.x, moveDelta.y);\n\t moveDelta = pt(maxDelta, maxDelta);\n };\n this.owner.setExtent(this.originalTargetExtent.addPt(moveDelta));\n this.align(this.bounds().bottomRight(), this.owner.getExtent());\n }","funcProperties":{"__isSmartRef__":true,"id":4226},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4221":{"this":{"__isSmartRef__":true,"id":4199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4222}},"4222":{"$super":{"__isSmartRef__":true,"id":4223}},"4223":{"varMapping":{"__isSmartRef__":true,"id":4224},"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":4225},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4224":{"obj":{"__isSmartRef__":true,"id":4199},"name":"onDrag"},"4225":{},"4226":{},"4227":{"varMapping":{"__isSmartRef__":true,"id":4228},"source":"function onDragEnd(evt) {\n this.dragStartPoint = null;\n this.originalTargetExtent = null;\n }","funcProperties":{"__isSmartRef__":true,"id":4233},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4228":{"this":{"__isSmartRef__":true,"id":4199},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4229}},"4229":{"$super":{"__isSmartRef__":true,"id":4230}},"4230":{"varMapping":{"__isSmartRef__":true,"id":4231},"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":4232},"__LivelyClassName__":"lively.Closure","__SourceModuleName__":"Global.lively.lang.Closure"},"4231":{"obj":{"__isSmartRef__":true,"id":4199},"name":"onDragEnd"},"4232":{},"4233":{},"4234":{"renderContextTable":{"__isSmartRef__":true,"id":4235},"_Padding":{"__isSmartRef__":true,"id":4236},"_BorderWidth":0,"_Fill":null,"_StrokeOpacity":0,"_BorderRadius":0,"_Extent":{"__isSmartRef__":true,"id":4237},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle","__SourceModuleName__":"Global.lively.morphic.Shapes"},"4235":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4236":{"x":0,"y":0,"width":0,"height":0,"__LivelyClassName__":"Rectangle","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4237":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4238":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4239":{"morph":{"__isSmartRef__":true,"id":3204},"__LivelyClassName__":"lively.morphic.EventHandler","__SourceModuleName__":"Global.lively.morphic.Events"},"4240":{"adjustForNewBounds":true},"4241":{"x":222.5,"y":707.5,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4242":{"x":820,"y":571,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4243":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4244},"id":2,"renderContextTable":{"__isSmartRef__":true,"id":4250},"eventHandler":{"__isSmartRef__":true,"id":4251},"droppingEnabled":false,"halosEnabled":false,"_world":{"__isSmartRef__":true,"id":0},"eventsAreIgnored":true,"_HandStyle":"default","_PointerEvents":"none","_Position":{"__isSmartRef__":true,"id":4252},"priorExtent":{"__isSmartRef__":true,"id":4253},"owner":{"__isSmartRef__":true,"id":0},"_Rotation":0,"_Scale":1,"__SourceModuleName__":"Global.lively.morphic.Events","clickedOnMorph":{"__isSmartRef__":true,"id":4254},"internalClickedOnMorph":{"__isSmartRef__":true,"id":3940},"scrollFocusMorph":{"__isSmartRef__":true,"id":3940},"carriesGrabbedMorphs":false,"_ClipMode":"visible","lastScrollTime":1337187004249,"__LivelyClassName__":"lively.morphic.HandMorph","withLayers":["Global.NoMagnetsLayer"]},"4244":{"_Position":{"__isSmartRef__":true,"id":4245},"renderContextTable":{"__isSmartRef__":true,"id":4246},"_Extent":{"__isSmartRef__":true,"id":4247},"_Fill":{"__isSmartRef__":true,"id":4248},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4249},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4245":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4246":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4247":{"x":2,"y":2,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4248":{"r":0.8,"g":0,"b":0,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4249":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4250":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4251":{"morph":{"__isSmartRef__":true,"id":4243},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4252":{"x":386,"y":1134,"__LivelyClassName__":"Point","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4253":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4254":{"submorphs":[{"__isSmartRef__":true,"id":4255}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4268},"id":73,"renderContextTable":{"__isSmartRef__":true,"id":4283},"eventHandler":{"__isSmartRef__":true,"id":4284},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4285},"priorExtent":{"__isSmartRef__":true,"id":4286},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4287},"lighterFill":{"__isSmartRef__":true,"id":4273},"label":{"__isSmartRef__":true,"id":4255},"layout":{"__isSmartRef__":true,"id":4296},"owner":{"__isSmartRef__":true,"id":4297},"attributeConnections":[{"__isSmartRef__":true,"id":4383},{"__isSmartRef__":true,"id":4384}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"4255":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4256},"id":74,"renderContextTable":{"__isSmartRef__":true,"id":4262},"textChunks":[{"__isSmartRef__":true,"id":4263}],"eventHandler":{"__isSmartRef__":true,"id":4265},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4266},"priorExtent":{"__isSmartRef__":true,"id":4267},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4254},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"4256":{"_Position":{"__isSmartRef__":true,"id":4257},"renderContextTable":{"__isSmartRef__":true,"id":4258},"_Extent":{"__isSmartRef__":true,"id":4259},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4260},"_Fill":null,"_Padding":{"__isSmartRef__":true,"id":4261},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4257":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4258":{"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"},"4259":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4260":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4261":{"x":0,"y":3,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4262":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4263":{"style":{"__isSmartRef__":true,"id":4264},"chunkOwner":{"__isSmartRef__":true,"id":4255},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4264":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4265":{"morph":{"__isSmartRef__":true,"id":4255},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4266":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4267":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4268":{"_Position":{"__isSmartRef__":true,"id":4269},"renderContextTable":{"__isSmartRef__":true,"id":4270},"_Extent":{"__isSmartRef__":true,"id":4271},"_ClipMode":"visible","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4272},"_Fill":{"__isSmartRef__":true,"id":4273},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4269":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4270":{"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"},"4271":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4272":{"r":0.7411764705882353,"g":0.7450980392156863,"b":0.7529411764705882,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4273":{"stops":[{"__isSmartRef__":true,"id":4274},{"__isSmartRef__":true,"id":4276},{"__isSmartRef__":true,"id":4278},{"__isSmartRef__":true,"id":4280}],"vector":{"__isSmartRef__":true,"id":4282},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4274":{"offset":0,"color":{"__isSmartRef__":true,"id":4275}},"4275":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4276":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4277}},"4277":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4278":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4279}},"4279":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4280":{"offset":1,"color":{"__isSmartRef__":true,"id":4281}},"4281":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4282":{"x":0,"y":0,"width":0,"height":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4283":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4284":{"morph":{"__isSmartRef__":true,"id":4254},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4285":{"x":184,"y":56,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4286":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4287":{"stops":[{"__isSmartRef__":true,"id":4288},{"__isSmartRef__":true,"id":4290},{"__isSmartRef__":true,"id":4292},{"__isSmartRef__":true,"id":4294}],"vector":{"__isSmartRef__":true,"id":4282},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4288":{"offset":0,"color":{"__isSmartRef__":true,"id":4289}},"4289":{"r":0.9600000000000001,"g":0.9600000000000001,"b":0.9600000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4290":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4291}},"4291":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4292":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4293}},"4293":{"r":0.8200000000000001,"g":0.8200000000000001,"b":0.8200000000000001,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4294":{"offset":1,"color":{"__isSmartRef__":true,"id":4295}},"4295":{"r":0.94,"g":0.94,"b":0.94,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4296":{"moveVertical":true,"moveHorizontal":true},"4297":{"submorphs":[{"__isSmartRef__":true,"id":4298},{"__isSmartRef__":true,"id":4311},{"__isSmartRef__":true,"id":4254},{"__isSmartRef__":true,"id":4344}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4361},"id":69,"renderContextTable":{"__isSmartRef__":true,"id":4367},"eventHandler":{"__isSmartRef__":true,"id":4368},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4369},"isLockOwner":true,"layout":{"__isSmartRef__":true,"id":4370},"attributeConnections":[{"__isSmartRef__":true,"id":4371},{"__isSmartRef__":true,"id":4373}],"ownerApp":{"__isSmartRef__":true,"id":4342},"owner":null,"__SourceModuleName__":"Global.lively.morphic.Core","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4375},"__LivelyClassName__":"lively.morphic.Box","withoutLayers":["Global.lively.morphic.GrabbingLayer"]},"4298":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4299},"id":70,"renderContextTable":{"__isSmartRef__":true,"id":4305},"textChunks":[{"__isSmartRef__":true,"id":4306}],"eventHandler":{"__isSmartRef__":true,"id":4308},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":false,"_WhiteSpaceHandling":"pre","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4309},"priorExtent":{"__isSmartRef__":true,"id":4310},"_MaxTextWidth":null,"_MinTextWidth":null,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4297},"isLabel":true,"_HandStyle":"default","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"4299":{"_Position":{"__isSmartRef__":true,"id":4300},"renderContextTable":{"__isSmartRef__":true,"id":4301},"_Extent":{"__isSmartRef__":true,"id":4302},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4260},"_Fill":{"__isSmartRef__":true,"id":4303},"_Padding":{"__isSmartRef__":true,"id":4304},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4300":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4301":{"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"},"4302":{"x":235,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4303":{"r":1,"g":1,"b":1,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4304":{"x":4,"y":2,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4305":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4306":{"style":{"__isSmartRef__":true,"id":4307},"chunkOwner":{"__isSmartRef__":true,"id":4298},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4307":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4308":{"morph":{"__isSmartRef__":true,"id":4298},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4309":{"x":4,"y":4,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4310":{"x":308,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4311":{"submorphs":[{"__isSmartRef__":true,"id":4312}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4323},"id":71,"renderContextTable":{"__isSmartRef__":true,"id":4327},"eventHandler":{"__isSmartRef__":true,"id":4328},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4329},"priorExtent":{"__isSmartRef__":true,"id":4330},"value":false,"toggle":false,"isActive":true,"normalFill":{"__isSmartRef__":true,"id":4287},"lighterFill":{"__isSmartRef__":true,"id":4331},"label":{"__isSmartRef__":true,"id":4312},"layout":{"__isSmartRef__":true,"id":4340},"owner":{"__isSmartRef__":true,"id":4297},"attributeConnections":[{"__isSmartRef__":true,"id":4341},{"__isSmartRef__":true,"id":4359}],"doNotSerialize":["$$fire"],"doNotCopyProperties":["$$fire"],"__SourceModuleName__":"Global.lively.morphic.Widgets","__LivelyClassName__":"lively.morphic.Button"},"4312":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4313},"id":72,"renderContextTable":{"__isSmartRef__":true,"id":4317},"textChunks":[{"__isSmartRef__":true,"id":4318}],"eventHandler":{"__isSmartRef__":true,"id":4320},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":false,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4321},"priorExtent":{"__isSmartRef__":true,"id":4322},"_MaxTextWidth":60,"_MinTextWidth":60,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"owner":{"__isSmartRef__":true,"id":4311},"isLabel":true,"_HandStyle":"default","_Align":"center","eventsAreIgnored":true,"_PointerEvents":"none","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.Text"},"4313":{"_Position":{"__isSmartRef__":true,"id":4314},"renderContextTable":{"__isSmartRef__":true,"id":4315},"_Extent":{"__isSmartRef__":true,"id":4316},"_ClipMode":"hidden","_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4260},"_Fill":null,"_Padding":{"__isSmartRef__":true,"id":4261},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4314":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4315":{"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"},"4316":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4317":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4318":{"style":{"__isSmartRef__":true,"id":4319},"chunkOwner":{"__isSmartRef__":true,"id":4312},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4319":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4320":{"morph":{"__isSmartRef__":true,"id":4312},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4321":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4322":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4323":{"_Position":{"__isSmartRef__":true,"id":4324},"renderContextTable":{"__isSmartRef__":true,"id":4325},"_Extent":{"__isSmartRef__":true,"id":4326},"_ClipMode":"visible","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4272},"_Fill":{"__isSmartRef__":true,"id":4287},"_BorderRadius":5,"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4324":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4325":{"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"},"4326":{"x":60,"y":30,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4327":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4328":{"morph":{"__isSmartRef__":true,"id":4311},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4329":{"x":248,"y":56,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4330":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4331":{"stops":[{"__isSmartRef__":true,"id":4332},{"__isSmartRef__":true,"id":4334},{"__isSmartRef__":true,"id":4336},{"__isSmartRef__":true,"id":4338}],"vector":{"__isSmartRef__":true,"id":4282},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.LinearGradient"},"4332":{"offset":0,"color":{"__isSmartRef__":true,"id":4333}},"4333":{"r":0.98,"g":0.98,"b":0.98,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4334":{"offset":0.4,"color":{"__isSmartRef__":true,"id":4335}},"4335":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4336":{"offset":0.6,"color":{"__isSmartRef__":true,"id":4337}},"4337":{"r":0.91,"g":0.91,"b":0.91,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4338":{"offset":1,"color":{"__isSmartRef__":true,"id":4339}},"4339":{"r":0.97,"g":0.97,"b":0.97,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4340":{"moveVertical":true,"moveHorizontal":true},"4341":{"sourceObj":{"__isSmartRef__":true,"id":4311},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4342":{"message":"Please enter a relative or absolute path","attributeConnections":[{"__isSmartRef__":true,"id":4343}],"doNotSerialize":["$$result"],"doNotCopyProperties":["$$result"],"defaultInput":"blank.xhtml","panel":{"__isSmartRef__":true,"id":4297},"label":{"__isSmartRef__":true,"id":4298},"cancelButton":{"__isSmartRef__":true,"id":4311},"okButton":{"__isSmartRef__":true,"id":4254},"inputText":{"__isSmartRef__":true,"id":4344},"view":{"__isSmartRef__":true,"id":4297},"__SourceModuleName__":"Global.lively.morphic.Widgets","result":"/users/hjust/blank.xhtml","__LivelyClassName__":"lively.morphic.PromptDialog"},"4343":{"sourceObj":{"__isSmartRef__":true,"id":4342},"sourceAttrName":"result","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"triggerCallback","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4344":{"submorphs":[],"scripts":[],"shape":{"__isSmartRef__":true,"id":4345},"id":75,"renderContextTable":{"__isSmartRef__":true,"id":4350},"textChunks":[{"__isSmartRef__":true,"id":4351}],"eventHandler":{"__isSmartRef__":true,"id":4353},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"_ClipMode":"hidden","fixedWidth":true,"_WhiteSpaceHandling":"pre-wrap","fixedHeight":true,"allowInput":true,"_FontFamily":"Helvetica","_FontSize":10,"_Position":{"__isSmartRef__":true,"id":4354},"priorExtent":{"__isSmartRef__":true,"id":4355},"_MaxTextWidth":298,"_MinTextWidth":298,"_MaxTextHeight":null,"_MinTextHeight":null,"evalEnabled":false,"isInputLine":true,"attributeConnections":[{"__isSmartRef__":true,"id":4356},{"__isSmartRef__":true,"id":4357}],"doNotSerialize":["$$savedTextString"],"doNotCopyProperties":["$$savedTextString"],"owner":{"__isSmartRef__":true,"id":4297},"priorSelectionRange":[1,1],"previousSelection":[0,11],"__SourceModuleName__":"Global.lively.morphic.TextCore","savedTextString":"/users/hjust/blank.xhtml","__LivelyClassName__":"lively.morphic.Text"},"4345":{"_Position":{"__isSmartRef__":true,"id":4346},"renderContextTable":{"__isSmartRef__":true,"id":4347},"_Extent":{"__isSmartRef__":true,"id":4348},"_ClipMode":"hidden","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4260},"_Fill":{"__isSmartRef__":true,"id":4349},"_Padding":{"__isSmartRef__":true,"id":4304},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4346":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4347":{"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"},"4348":{"x":308,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4349":{"r":0.95,"g":0.95,"b":0.95,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4350":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4351":{"style":{"__isSmartRef__":true,"id":4352},"chunkOwner":{"__isSmartRef__":true,"id":4344},"storedString":"","__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextChunk"},"4352":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4353":{"morph":{"__isSmartRef__":true,"id":4344},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4354":{"x":4,"y":24,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4355":{"x":308,"y":20,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4356":{"sourceObj":{"__isSmartRef__":true,"id":4344},"sourceAttrName":"savedTextString","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"result","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4357":{"sourceObj":{"__isSmartRef__":true,"id":4344},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4358},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4358":{"source":{"__isSmartRef__":true,"id":4344},"target":{"__isSmartRef__":true,"id":4342}},"4359":{"sourceObj":{"__isSmartRef__":true,"id":4311},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"result","converter":null,"converterString":"function () { return null }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4360},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4360":{"source":{"__isSmartRef__":true,"id":4311},"target":{"__isSmartRef__":true,"id":4342}},"4361":{"_Position":{"__isSmartRef__":true,"id":4362},"renderContextTable":{"__isSmartRef__":true,"id":4363},"_Extent":{"__isSmartRef__":true,"id":4364},"_ClipMode":"visible","_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4365},"_Fill":{"__isSmartRef__":true,"id":4366},"__SourceModuleName__":"Global.lively.morphic.Shapes","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4362":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4363":{"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"},"4364":{"x":300,"y":90,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4365":{"r":0.4,"g":0.4,"b":0.4,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4366":{"r":0.8235294117647058,"g":0.8235294117647058,"b":0.8235294117647058,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4367":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","setOrigin":"setOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4368":{"morph":{"__isSmartRef__":true,"id":4297},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4369":{"x":356,"y":339,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4370":{"adjustForNewBounds":true},"4371":{"sourceObj":{"__isSmartRef__":true,"id":4297},"sourceAttrName":"onEscPressed","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"result","converter":null,"converterString":"function () { return null}","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4372},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4372":{"source":{"__isSmartRef__":true,"id":4297},"target":{"__isSmartRef__":true,"id":4342}},"4373":{"sourceObj":{"__isSmartRef__":true,"id":4297},"sourceAttrName":"onEnterPressed","targetObj":{"__isSmartRef__":true,"id":4344},"targetMethodName":"doSave","converter":null,"converterString":"function (arg) { return arg }","updater":null,"updaterString":null,"varMapping":{"__isSmartRef__":true,"id":4374},"__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4374":{"source":{"__isSmartRef__":true,"id":4297},"target":{"__isSmartRef__":true,"id":4344}},"4375":{"$$onEnterPressed":{"__isSmartRef__":true,"id":4376}},"4376":{"varMapping":{"__isSmartRef__":true,"id":4377},"source":"function onEnterPressed(evt) {\n evt.stop();\n }","funcProperties":{"__isSmartRef__":true,"id":4382},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4377":{"this":{"__isSmartRef__":true,"id":4297},"__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4378}},"4378":{"$super":{"__isSmartRef__":true,"id":4379}},"4379":{"varMapping":{"__isSmartRef__":true,"id":4380},"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":4381},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4380":{"obj":{"__isSmartRef__":true,"id":4297},"name":"onEnterPressed"},"4381":{},"4382":{},"4383":{"sourceObj":{"__isSmartRef__":true,"id":4254},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4342},"targetMethodName":"removeTopLevel","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4384":{"sourceObj":{"__isSmartRef__":true,"id":4254},"sourceAttrName":"fire","targetObj":{"__isSmartRef__":true,"id":4344},"targetMethodName":"doSave","__SourceModuleName__":"Global.lively.bindings","__LivelyClassName__":"AttributeConnection"},"4385":{"_Position":{"__isSmartRef__":true,"id":4386},"renderContextTable":{"__isSmartRef__":true,"id":4387},"_Extent":{"__isSmartRef__":true,"id":4388},"_Fill":{"__isSmartRef__":true,"id":4389},"__SourceModuleName__":"Global.lively.morphic.Shapes","_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4390},"__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4386":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4387":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4388":{"x":10240,"y":7680,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4389":{"r":1,"g":1,"b":1,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4390":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"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","setScroll":"setScrollHTML"},"4392":{"morph":{"__isSmartRef__":true,"id":0},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4393":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4394":{"x":1024,"y":768,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4395":{"submorphs":[{"__isSmartRef__":true,"id":4396}],"scripts":[],"id":"3B3622ED-E1F8-4B30-A477-C4F3A950DB04","shape":{"__isSmartRef__":true,"id":4425},"droppingEnabled":true,"halosEnabled":true,"registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4432},"showsHalos":false,"name":"LoadingMorph","partsBinMetaInfo":{"__isSmartRef__":true,"id":4433},"__SourceModuleName__":"Global.lively.morphic.Core","renderContextTable":{"__isSmartRef__":true,"id":4530},"eventHandler":{"__isSmartRef__":true,"id":4531},"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":4532},"layout":{"__isSmartRef__":true,"id":4533},"distanceToDragEvent":{"__isSmartRef__":true,"id":4534},"prevScroll":[0,0],"moved":true,"_Rotation":0,"_Scale":1,"headRevision":146469,"_ClipMode":"visible","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4535},"__LivelyClassName__":"lively.morphic.Box"},"4396":{"submorphs":[{"__isSmartRef__":true,"id":4397}],"scripts":[],"shape":{"__isSmartRef__":true,"id":4413},"id":"0DFE0A6D-B486-4F03-874B-C3C411726E2D","renderContextTable":{"__isSmartRef__":true,"id":4418},"eventHandler":{"__isSmartRef__":true,"id":4419},"droppingEnabled":true,"halosEnabled":true,"_Position":{"__isSmartRef__":true,"id":4420},"name":"ProgressIndicator","priorExtent":{"__isSmartRef__":true,"id":4421},"showsHalos":false,"distanceToDragEvent":{"__isSmartRef__":true,"id":4422},"partsBinMetaInfo":{"__isSmartRef__":true,"id":4423},"__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":4395},"isBeingDragged":false,"layout":{"__isSmartRef__":true,"id":4424},"prevScroll":[0,0],"_Rotation":0,"_Scale":1,"_ClipMode":"visible","__LivelyClassName__":"lively.morphic.Image"},"4397":{"submorphs":[],"scripts":[],"id":"865EE903-E7A1-4E14-B457-09F44A5128BF","shape":{"__isSmartRef__":true,"id":4398},"grabbingEnabled":false,"droppingEnabled":false,"halosEnabled":true,"fixedWidth":true,"fixedHeight":false,"allowsInput":true,"_FontFamily":"Arial, sans-serif","registeredForMouseEvents":true,"_Position":{"__isSmartRef__":true,"id":4404},"_MaxTextWidth":257,"_MaxTextHeight":null,"textColor":{"__isSmartRef__":true,"id":4401},"showsHalos":false,"_FontSize":14,"__SourceModuleName__":"Global.lively.morphic.TextCore","name":"loadedMorphName","partsBinMetaInfo":{"__isSmartRef__":true,"id":4405},"textChunks":[{"__isSmartRef__":true,"id":4406}],"charsReplaced":"MorphName","lastFindLoc":18,"priorSelectionRange":[9,0],"prevScroll":[0,0],"priorExtent":{"__isSmartRef__":true,"id":4408},"renderContextTable":{"__isSmartRef__":true,"id":4409},"eventHandler":{"__isSmartRef__":true,"id":4410},"attributeConnections":[],"doNotSerialize":[],"doNotCopyProperties":[],"_Padding":{"__isSmartRef__":true,"id":4411},"_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":4396},"_MinTextWidth":257,"_MinTextHeight":null,"previousSelection":[6,6],"_Align":"center","distanceToDragEvent":{"__isSmartRef__":true,"id":4412},"isBeingDragged":false,"_Rotation":0,"_Scale":1,"__LivelyClassName__":"lively.morphic.Text"},"4398":{"fill":null,"__SourceModuleName__":"Global.lively.morphic.Shapes","_Position":{"__isSmartRef__":true,"id":4399},"_Extent":{"__isSmartRef__":true,"id":4400},"_BorderWidth":0,"_BorderColor":{"__isSmartRef__":true,"id":4401},"renderContextTable":{"__isSmartRef__":true,"id":4402},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4403},"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4399":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4400":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4401":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4402":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4403":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4404":{"x":-109,"y":38,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4405":{"partsSpaceName":"PartsBin/Basic","__SourceModuleName__":"Global.lively.PartsBin","migrationLevel":4,"comment":"a simple text morph","partName":"Text","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4406":{"style":{"__isSmartRef__":true,"id":4407},"chunkOwner":{"__isSmartRef__":true,"id":4397},"__SourceModuleName__":"Global.lively.morphic.TextCore","storedString":"loading part","__LivelyClassName__":"lively.morphic.TextChunk"},"4407":{"__SourceModuleName__":"Global.lively.morphic.TextCore","__LivelyClassName__":"lively.morphic.TextEmphasis"},"4408":{"x":257,"y":23,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4409":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","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","setFontWeight":"setFontWeightHTML","setFontStyle":"setFontStyleHTML","setTextDecoration":"setTextDecorationHTML","setPadding":"setPaddingHTML","setAlign":"setAlignHTML","setVerticalAlign":"setVerticalAlignHTML","setDisplay":"setDisplayHTML","setWhiteSpaceHandling":"setWhiteSpaceHandlingHTML","focusMorph":"focusMorphHTML","setInputAllowed":"setInputAllowedHTML"},"4410":{"morph":{"__isSmartRef__":true,"id":4397},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4411":{"x":5,"y":5,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4412":{"x":179,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4413":{"_Position":{"__isSmartRef__":true,"id":4414},"renderContextTable":{"__isSmartRef__":true,"id":4415},"_Extent":{"__isSmartRef__":true,"id":4416},"_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":4417},"_BorderWidth":0,"_BorderRadius":0,"_Opacity":1,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Image"},"4414":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4415":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML","setImageURL":"setImageURLHTML","getNativeExtent":"getNativeExtentHTML"},"4416":{"x":31,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4417":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4418":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4419":{"morph":{"__isSmartRef__":true,"id":4396},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4420":{"x":113.5,"y":81,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4421":{"x":30,"y":31,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4422":{"x":39,"y":-11,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4423":{"partName":"ProgressIndicator","requiredModules":[],"migrationLevel":2,"partsSpaceName":"PartsBin/Widgets/","__SourceModuleName__":"Global.lively.PartsBin","__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4424":{"centeredHorizontal":true,"centeredVertical":true},"4425":{"position":{"__isSmartRef__":true,"id":4426},"_Extent":{"__isSmartRef__":true,"id":4427},"_BorderWidth":1,"_BorderColor":{"__isSmartRef__":true,"id":4428},"_Fill":{"__isSmartRef__":true,"id":4429},"__SourceModuleName__":"Global.lively.morphic.Shapes","renderContextTable":{"__isSmartRef__":true,"id":4430},"_ClipMode":"visible","_Padding":{"__isSmartRef__":true,"id":4431},"_BorderRadius":8.515,"_Opacity":0.8146,"_BorderStyle":"solid","__LivelyClassName__":"lively.morphic.Shapes.Rectangle"},"4426":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4427":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4428":{"r":0,"g":0,"b":0,"a":1,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Color"},"4429":{"r":0.839,"g":0.839,"b":0.839,"a":1,"__LivelyClassName__":"Color","__SourceModuleName__":"Global.lively.morphic.Graphics"},"4430":{"init":"initHTML","appendShape":"renderHTML","setPosition":"setPositionHTML","setExtent":"setExtentHTML","setPadding":"setPaddingHTML","setFill":"setFillHTML","setBorderColor":"setBorderColorHTML","setBorderWidth":"setBorderWidthHTML","setStrokeOpacity":"setStrokeOpacityHTML","setBorderRadius":"setBorderRadiusHTML","setBorderStyle":"setBorderStyleHTML","setOpacity":"setOpacityHTML"},"4431":{"x":0,"y":0,"width":0,"height":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Rectangle"},"4432":{"x":0,"y":0,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4433":{"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":4434},{"__isSmartRef__":true,"id":4436},{"__isSmartRef__":true,"id":4438},{"__isSmartRef__":true,"id":4440},{"__isSmartRef__":true,"id":4442},{"__isSmartRef__":true,"id":4444},{"__isSmartRef__":true,"id":4446},{"__isSmartRef__":true,"id":4448},{"__isSmartRef__":true,"id":4450},{"__isSmartRef__":true,"id":4452},{"__isSmartRef__":true,"id":4454},{"__isSmartRef__":true,"id":4456},{"__isSmartRef__":true,"id":4458},{"__isSmartRef__":true,"id":4460},{"__isSmartRef__":true,"id":4462},{"__isSmartRef__":true,"id":4464},{"__isSmartRef__":true,"id":4466},{"__isSmartRef__":true,"id":4468},{"__isSmartRef__":true,"id":4470},{"__isSmartRef__":true,"id":4472},{"__isSmartRef__":true,"id":4474},{"__isSmartRef__":true,"id":4476},{"__isSmartRef__":true,"id":4478},{"__isSmartRef__":true,"id":4480},{"__isSmartRef__":true,"id":4482},{"__isSmartRef__":true,"id":4484},{"__isSmartRef__":true,"id":4486},{"__isSmartRef__":true,"id":4488},{"__isSmartRef__":true,"id":4490},{"__isSmartRef__":true,"id":4492},{"__isSmartRef__":true,"id":4494},{"__isSmartRef__":true,"id":4496},{"__isSmartRef__":true,"id":4498},{"__isSmartRef__":true,"id":4500},{"__isSmartRef__":true,"id":4502},{"__isSmartRef__":true,"id":4504},{"__isSmartRef__":true,"id":4506},{"__isSmartRef__":true,"id":4508},{"__isSmartRef__":true,"id":4510},{"__isSmartRef__":true,"id":4512},{"__isSmartRef__":true,"id":4514},{"__isSmartRef__":true,"id":4516},{"__isSmartRef__":true,"id":4518},{"__isSmartRef__":true,"id":4520},{"__isSmartRef__":true,"id":4522},{"__isSmartRef__":true,"id":4524},{"__isSmartRef__":true,"id":4526},{"__isSmartRef__":true,"id":4528}],"revisionOnLoad":151069,"__LivelyClassName__":"lively.PartsBin.PartsBinMetaInfo"},"4434":{"date":{"__isSmartRef__":true,"id":4435},"author":"sstamm","message":"","id":"1C1391AE-5722-4707-BE52-F0094FC56829"},"4435":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:02:04 GMT+0100 (CET)"},"4436":{"date":{"__isSmartRef__":true,"id":4437},"author":"sstamm","message":"","id":"663F147A-9084-4AC3-81A7-1E7BA6547F08"},"4437":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:43:10 GMT+0100 (CET)"},"4438":{"date":{"__isSmartRef__":true,"id":4439},"author":"sstamm","message":"","id":"F72B746E-B170-4EFB-9074-5E8770640B8A"},"4439":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:36:14 GMT+0100 (CET)"},"4440":{"date":{"__isSmartRef__":true,"id":4441},"author":"sstamm","message":"","id":"568D2EFD-C535-43AE-8944-6D8B967129F5"},"4441":{"isSerializedDate":true,"string":"Wed Feb 22 2012 12:23:04 GMT+0100 (CET)"},"4442":{"date":{"__isSmartRef__":true,"id":4443},"author":"sstamm","message":"","id":"AB2484A6-0707-4E13-845E-F0A5F48BBA3D"},"4443":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:45 GMT+0100 (CET)"},"4444":{"date":{"__isSmartRef__":true,"id":4445},"author":"sstamm","message":"","id":"97D20633-F76C-46A5-A32A-FFE9BC83CAB3"},"4445":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:59:10 GMT+0100 (CET)"},"4446":{"date":{"__isSmartRef__":true,"id":4447},"author":"sstamm","message":"","id":"8A697DF5-9A45-4A84-B709-9719BF55083E"},"4447":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:56:54 GMT+0100 (CET)"},"4448":{"date":{"__isSmartRef__":true,"id":4449},"author":"sstamm","message":"","id":"F2157D66-1571-4B9A-B325-6FA96488260F"},"4449":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:51:05 GMT+0100 (CET)"},"4450":{"date":{"__isSmartRef__":true,"id":4451},"author":"sstamm","message":"","id":"E5E808CA-06AB-47DC-A9C9-CA7967591545"},"4451":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:47:19 GMT+0100 (CET)"},"4452":{"date":{"__isSmartRef__":true,"id":4453},"author":"sstamm","message":"","id":"009DC4E0-23CA-485A-A796-801AA0F75049"},"4453":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:46:25 GMT+0100 (CET)"},"4454":{"date":{"__isSmartRef__":true,"id":4455},"author":"sstamm","message":"","id":"C0CE1397-6E2E-4E8C-AEFF-9017E24BB7E4"},"4455":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:45:05 GMT+0100 (CET)"},"4456":{"date":{"__isSmartRef__":true,"id":4457},"author":"sstamm","message":"","id":"FFE16986-548D-4AC2-A627-CF6416282BC4"},"4457":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:37:15 GMT+0100 (CET)"},"4458":{"date":{"__isSmartRef__":true,"id":4459},"author":"sstamm","message":"","id":"57213D63-7147-4057-ADC9-30994443B066"},"4459":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:35:29 GMT+0100 (CET)"},"4460":{"date":{"__isSmartRef__":true,"id":4461},"author":"sstamm","message":"","id":"75A31364-B380-4312-BB5B-F8F2DA1CE824"},"4461":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:31:52 GMT+0100 (CET)"},"4462":{"date":{"__isSmartRef__":true,"id":4463},"author":"sstamm","message":"","id":"5AA50B7E-7D33-44C4-807B-BF1ABA31D530"},"4463":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:14:10 GMT+0100 (CET)"},"4464":{"date":{"__isSmartRef__":true,"id":4465},"author":"sstamm","message":"","id":"BCDCC505-534C-45E5-9BB2-5238959A5AD0"},"4465":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:02:56 GMT+0100 (CET)"},"4466":{"date":{"__isSmartRef__":true,"id":4467},"author":"sstamm","message":"","id":"890D14F4-E89D-4E05-BFB9-875D6AB6C765"},"4467":{"isSerializedDate":true,"string":"Wed Feb 22 2012 11:01:50 GMT+0100 (CET)"},"4468":{"date":{"__isSmartRef__":true,"id":4469},"author":"sstamm","message":"","id":"B6FE0805-0D24-4267-8238-8B332352617E"},"4469":{"isSerializedDate":true,"string":"Wed Feb 22 2012 10:55:44 GMT+0100 (CET)"},"4470":{"date":{"__isSmartRef__":true,"id":4471},"author":"sstamm","message":"callbacks are working","id":"9348260A-3B55-4659-BC85-440BFBD98EA4"},"4471":{"isSerializedDate":true,"string":"Fri Feb 10 2012 09:45:55 GMT+0100 (CET)"},"4472":{"date":{"__isSmartRef__":true,"id":4473},"author":"sstamm","message":"made it more opaque","id":"1B84264C-2822-407F-A58F-19217BCD2762"},"4473":{"isSerializedDate":true,"string":"Wed Feb 08 2012 11:41:50 GMT+0100 (CET)"},"4474":{"date":{"__isSmartRef__":true,"id":4475},"author":"sstamm","message":"","id":"0FB41D7D-2A52-4782-814B-A66C24FCE569"},"4475":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:13:49 GMT+0100 (CET)"},"4476":{"date":{"__isSmartRef__":true,"id":4477},"author":"sstamm","message":"","id":"A0C2D7C1-04AF-493A-A7D7-70750F7D3E2F"},"4477":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:22:07 GMT+0100 (CET)"},"4478":{"date":{"__isSmartRef__":true,"id":4479},"author":"sstamm","message":"trollolol","id":"F6CFAD78-AC72-4DE2-9F38-79776C2E9462"},"4479":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:55:14 GMT+0100 (CET)"},"4480":{"date":{"__isSmartRef__":true,"id":4481},"author":"sstamm","message":"should be centered now","id":"EE366B4D-C272-477F-8C28-4EAE5A7EC7CB"},"4481":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:54:35 GMT+0100 (CET)"},"4482":{"date":{"__isSmartRef__":true,"id":4483},"author":"sstamm","message":"initial commit","id":"8920D925-DD16-4667-B8C7-FB74D78C2424"},"4483":{"isSerializedDate":true,"string":"Thu Feb 02 2012 13:26:01 GMT+0100 (CET)"},"4484":{"date":{"__isSmartRef__":true,"id":4485},"author":"sstamm","message":"changed text morph name","id":"80E88A3C-5AF3-48F2-A600-710877630997"},"4485":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:04:01 GMT+0100 (CET)"},"4486":{"date":{"__isSmartRef__":true,"id":4487},"author":"sstamm","message":"added loading script","id":"EE9B8F4D-1F03-4232-82E6-794046974F8F"},"4487":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:28:30 GMT+0100 (CET)"},"4488":{"date":{"__isSmartRef__":true,"id":4489},"author":"sstamm","message":"added disconnection","id":"11F19267-924E-4087-99ED-998245576BD2"},"4489":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:32:58 GMT+0100 (CET)"},"4490":{"date":{"__isSmartRef__":true,"id":4491},"author":"sstamm","message":"removed connections before deletion","id":"35A88218-6864-4D52-83A2-BFF7B9A6907C"},"4491":{"isSerializedDate":true,"string":"Thu Feb 02 2012 14:41:00 GMT+0100 (CET)"},"4492":{"date":{"__isSmartRef__":true,"id":4493},"author":"sstamm","message":"now able to load parts by name and category as well as per partItem","id":"F36A5782-461D-4813-95F8-0207990A261C"},"4493":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:24:30 GMT+0100 (CET)"},"4494":{"date":{"__isSmartRef__":true,"id":4495},"author":"sstamm","message":"now with round corners","id":"F42C39CB-CC37-467D-BF10-D362241F047E"},"4495":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:26:23 GMT+0100 (CET)"},"4496":{"date":{"__isSmartRef__":true,"id":4497},"author":"sstamm","message":"loadingMorph is sync now","id":"12ACFFC9-BA53-4A2A-ABD4-894A5ECE1145"},"4497":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:48:04 GMT+0100 (CET)"},"4498":{"date":{"__isSmartRef__":true,"id":4499},"author":"sstamm","message":"display the loadingMorph in new thread","id":"2BA51E30-F02B-4AF0-B3BE-52DD4ED522CC"},"4499":{"isSerializedDate":true,"string":"Thu Feb 02 2012 15:53:49 GMT+0100 (CET)"},"4500":{"date":{"__isSmartRef__":true,"id":4501},"author":"sstamm","message":"","id":"DF0AE4EA-1B08-4556-8BBE-E6488F23B8A3"},"4501":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:49:48 GMT+0100 (CET)"},"4502":{"date":{"__isSmartRef__":true,"id":4503},"author":"sstamm","message":"","id":"220821B3-C589-41C9-A324-8E7E6D9D6CEB"},"4503":{"isSerializedDate":true,"string":"Thu Feb 02 2012 16:58:43 GMT+0100 (CET)"},"4504":{"date":{"__isSmartRef__":true,"id":4505},"author":"sstamm","message":"","id":"DEBFACE2-7EC5-4A86-AD46-5A0A88A73707"},"4505":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:04:28 GMT+0100 (CET)"},"4506":{"date":{"__isSmartRef__":true,"id":4507},"author":"sstamm","message":"load request in new thread if loading should be async","id":"18282D28-D6D4-48C9-A508-6E3244449BD8"},"4507":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:10:27 GMT+0100 (CET)"},"4508":{"date":{"__isSmartRef__":true,"id":4509},"author":"sstamm","message":"added benchmarking output","id":"249CFF90-DDF5-4A83-9759-0289E96D7D58"},"4509":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:31:50 GMT+0100 (CET)"},"4510":{"date":{"__isSmartRef__":true,"id":4511},"author":"sstamm","message":"","id":"882082E1-29B6-418D-9B8B-672729D60619"},"4511":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:38:26 GMT+0100 (CET)"},"4512":{"date":{"__isSmartRef__":true,"id":4513},"author":"sstamm","message":"","id":"5179AEF9-E19F-4B0C-BBD8-556C5687988A"},"4513":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:44:11 GMT+0100 (CET)"},"4514":{"date":{"__isSmartRef__":true,"id":4515},"author":"sstamm","message":"","id":"1159C5B4-724E-4124-9D7B-5CD5DC4A8EE3"},"4515":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:48:14 GMT+0100 (CET)"},"4516":{"date":{"__isSmartRef__":true,"id":4517},"author":"sstamm","message":"","id":"2A718D1F-1036-41D6-999A-336F2B14E65D"},"4517":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:49:47 GMT+0100 (CET)"},"4518":{"date":{"__isSmartRef__":true,"id":4519},"author":"sstamm","message":"","id":"EB6BDD0C-7EEC-4124-B77F-2F106A601538"},"4519":{"isSerializedDate":true,"string":"Tue Feb 07 2012 11:59:48 GMT+0100 (CET)"},"4520":{"date":{"__isSmartRef__":true,"id":4521},"author":"sstamm","message":"","id":"63EC8D07-AB6A-450A-BB84-9B4D37E03647"},"4521":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:02:33 GMT+0100 (CET)"},"4522":{"date":{"__isSmartRef__":true,"id":4523},"author":"sstamm","message":"","id":"19CE12E4-5AA5-48DC-B1D1-B0EB0EDF1CB9"},"4523":{"isSerializedDate":true,"string":"Tue Feb 07 2012 12:03:42 GMT+0100 (CET)"},"4524":{"date":{"__isSmartRef__":true,"id":4525},"author":"sstamm","message":"first attempt to introduce callback functions to part loading","id":"22BD0B95-8948-411A-A56E-AD7CBE445F1D"},"4525":{"isSerializedDate":true,"string":"Thu Feb 09 2012 20:20:11 GMT+0100 (CET)"},"4526":{"date":{"__isSmartRef__":true,"id":4527},"author":"sstamm","message":"","id":"A216DFD2-9D1F-4E62-A22F-6B5472823E1B"},"4527":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:37:34 GMT+0100 (CET)"},"4528":{"date":{"__isSmartRef__":true,"id":4529},"author":"sstamm","message":"","id":"464E723A-08DC-433C-AA5C-CEC850DBAF0B"},"4529":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:29 GMT+0100 (CET)"},"4530":{"replaceRenderContext":"replaceRenderContextHTML","init":"initHTML","append":"appendHTML","remove":"removeHTML","onRenderFinished":"onRenderFinishedHTML","triggerEvent":"triggerEventHTML","setTransform":"setTransformHTML","setPosition":"setPositionHTML","setRotation":"setRotationHTML","setExtent":"setExtentHTML","setScale":"setScaleHTML","setVisible":"setVisibleHTML","adjustOrigin":"adjustOriginHTML","setPivotPoint":"setPivotPointHTML","setClipMode":"setClipModeHTML","showsVerticalScrollBar":"showsVerticalScrollBarHTML","showsHorizontalScrollBar":"showsHorizontalScrollBarHTML","getScrollBarExtent":"getScrollBarExtentHTML","setHandStyle":"setHandStyleHTML","setPointerEvents":"setPointerEventsHTML","setToolTip":"setToolTipHTML","focus":"focusHTML","blur":"blurHTML","setFocusable":"setFocusableHTML"},"4531":{"morph":{"__isSmartRef__":true,"id":4395},"__SourceModuleName__":"Global.lively.morphic.Events","__LivelyClassName__":"lively.morphic.EventHandler"},"4532":{"x":266,"y":223,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4533":{"adjustForNewBounds":true},"4534":{"x":171,"y":-13,"__SourceModuleName__":"Global.lively.morphic.Graphics","__LivelyClassName__":"Point"},"4535":{"loadPart":{"__isSmartRef__":true,"id":4536},"loadFinished":{"__isSmartRef__":true,"id":4540},"loadPartByName":{"__isSmartRef__":true,"id":4544}},"4536":{"varMapping":{"__isSmartRef__":true,"id":4537},"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":4538},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4537":{"this":{"__isSmartRef__":true,"id":4395}},"4538":{"timestamp":{"__isSmartRef__":true,"id":4539},"user":"sstamm","tags":[]},"4539":{"isSerializedDate":true,"string":"Fri Mar 16 2012 15:42:18 GMT+0100 (CET)"},"4540":{"varMapping":{"__isSmartRef__":true,"id":4541},"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":4542},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4541":{"this":{"__isSmartRef__":true,"id":4395}},"4542":{"timestamp":{"__isSmartRef__":true,"id":4543},"user":"sstamm","tags":[]},"4543":{"isSerializedDate":true,"string":"Wed Feb 22 2012 14:01:53 GMT+0100 (CET)"},"4544":{"varMapping":{"__isSmartRef__":true,"id":4545},"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":4546},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4545":{"this":{"__isSmartRef__":true,"id":4395}},"4546":{"timestamp":{"__isSmartRef__":true,"id":4547},"user":"sstamm","tags":[]},"4547":{"isSerializedDate":true,"string":"Thu Feb 02 2012 17:03:18 GMT+0100 (CET)"},"4548":{"protocol":"http:","hostname":"www.lively-kernel.org","pathname":"/repository/webwerkstatt/users/hjust/socketchat2.xhtml","__SourceModuleName__":"Global.lively.Network","__LivelyClassName__":"URL"},"4549":{"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":4550},"__SourceModuleName__":"Global.lively.bindings","__serializedLivelyClosures__":{"__isSmartRef__":true,"id":4551},"__LivelyClassName__":"AttributeConnection"},"4550":{"source":{"__isSmartRef__":true,"id":0},"target":{"__isSmartRef__":true,"id":0}},"4551":{"updater":{"__isSmartRef__":true,"id":4552}},"4552":{"originalFunc":null,"varMapping":{"__isSmartRef__":true,"id":4550},"source":"function ($upd, v) {\n if (v && v.toString() !== URL.source.toString()) {\n $upd(v)\n }\n }","funcProperties":{"__isSmartRef__":true,"id":4553},"__SourceModuleName__":"Global.lively.lang.Closure","__LivelyClassName__":"lively.Closure"},"4553":{},"isSimplifiedRegistry":true}}]]>